Skip to content

Commit

Permalink
Update obs-controller.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
cpyarger committed Mar 20, 2021
1 parent 7a712f0 commit 7573d34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/obs-controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ void TransitionToProgram(MidiHook *hook)
}
(obs_frontend_preview_program_mode_active()) ? obs_frontend_preview_program_trigger_transition() : SetCurrentScene(hook);

state()._CurrentTransition = QString(obs_source_get_name(transition));
state()._CurrentTransition = QString( obs_source_get_name(transition));

obs_source_release(transition);
}
Expand Down Expand Up @@ -589,4 +589,4 @@ void make_opacity_filter(MidiHook *hook)
obs_scene_t *scene = Utils::GetSceneFromNameOrCurrent(hook->scene);
obs_sceneitem_t *item = Utils::GetSceneItemFromName(scene, hook->source);
(obs_sceneitem_visible(item)) ? fade_out_scene_item(hook) : fade_in_scene_item(hook);
}
}

0 comments on commit 7573d34

Please sign in to comment.