Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*特定条件でBPMグリッドの設定が吹っ飛ぶ #58

Open
ePi5131 opened this issue Aug 20, 2022 · 1 comment
Open

*特定条件でBPMグリッドの設定が吹っ飛ぶ #58

ePi5131 opened this issue Aug 20, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ePi5131
Copy link
Owner

ePi5131 commented Aug 20, 2022

概要
特定の操作を行うと、BPMグリッドの設定がリセットされてしまう

再現手順
https://twitter.com/yuusyaasisutant/status/1561003282411450369
https://twitter.com/yuusyaasisutant/status/1561005425524617216

  1. BPM設定
  2. Root以外のシーンにオブジェクトを配置
  3. そのシーンで保存
  4. RootのBPMデータがぶっ飛ぶ

起こってほしかったこと
設定が保持される

環境
おそらくバニラ1.10/0.92

その他
これこういう再現方法だったんですね

@ePi5131 ePi5131 added the enhancement New feature or request label Aug 20, 2022
@nazonoSAUNA
Copy link
Contributor

nazonoSAUNA commented Aug 20, 2022

原因:シーンごとの一部設定はaupに保存していない&読み込もうともしていない

以下〇の物が現状保存される設定
https://github.com/ePi5131/aviutl_exedit_sdk/blob/master/exedit/scene.hpp

struct SceneSetting {
	using Flag = detail::SceneFlag;
	Flag flag; // 〇
	const char* name; // 〇
	int32_t width, height; // 〇,〇
	int32_t max_frame; // 〇
	int32_t current_frame; // 〇
	int32_t timeline_scale; // 〇
	int32_t timeline_disp_begin_pos; // 〇
	int32_t selected_object; // 〇
	int32_t selected_frame_begin; // 〇
	int32_t selected_frame_end; // 〇
	BOOL disp_bpm_grid;
	int32_t bpm_grid_tempo;
	int32_t bpm_grid_base;
	BOOL disp_xy_grid;
	int32_t xy_grid_width;
	int32_t xy_grid_height;
	BOOL disp_camera_grid;
	int32_t camera_grid_size;
	int32_t camera_grid_num;
	BOOL disp_out_of_frame;
	int32_t out_of_frame_scale;
	int32_t bpm_grid_beat;
	int32_t disp_begin_layer; // 〇
};

全て+拡張用60byte分まで保存が出来るように作られているようなので修正できそうな気はしています(この中に保存しなくていい設定はなさそうですよね…?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants