UI: Force current scene when using undo/redo
The undo/redo functions are setting the current scene. Everytime it would do this, it would actually transition to the scene. This forces the current scene, so it fixes a bug where the transition would be grayed out when undoing/redoing.
This commit is contained in:
parent
c370692773
commit
7dfd36f9e8
8 changed files with 17 additions and 17 deletions
|
|
@ -92,7 +92,7 @@ OBSBasicTransform::~OBSBasicTransform()
|
|||
obs_source_t *source = obs_get_source_by_name(
|
||||
obs_data_get_string(dat, "scene_name"));
|
||||
reinterpret_cast<OBSBasic *>(App()->GetMainWindow())
|
||||
->SetCurrentScene(source);
|
||||
->SetCurrentScene(source, true);
|
||||
obs_source_release(source);
|
||||
obs_data_release(dat);
|
||||
obs_scene_load_transform_states(data.c_str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue