UI: Add obs_frontend_open_sceneitem_edit_transform()

This commit is contained in:
Exeldro 2023-01-30 12:34:59 +01:00 • committed by Jim
commit 46da073aa5
9 changed files with 47 additions and 8 deletions

View file

@ -630,6 +630,14 @@ struct OBSStudioAPI : obs_frontend_callbacks {
Q_ARG(OBSSource, OBSSource(source)));
}
void obs_frontend_open_sceneitem_edit_transform(
obs_sceneitem_t *item) override
{
QMetaObject::invokeMethod(main, "OpenEditTransform",
Q_ARG(OBSSceneItem,
OBSSceneItem(item)));
}
char *obs_frontend_get_current_record_output_path(void) override
{
const char *recordOutputPath = main->GetCurrentOutputPath();