File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -1006,15 +1006,7 @@ func _on_obs_scene_item_transform_changed(event_data: Dictionary) -> void:
10061006 cur_source_name = scene_item_list [i ].sourceName
10071007
10081008
1009- # OBS doesn't send us the source id/name so we need to ask it for that
1010- # obs.get_scene_item_source(event_data.sceneName, event_data.sceneItemId)
1011- # var source_data = await obs.got_scene_item_source
1012- # if typeof(source_data) != TYPE_DICTIONARY:
1013- # If the request to get the source ID failed, then reset playback
1014- # reset_playback()
1015- # wait_for_clip_transform = false
1016- # return
1017- # If this transform is fro the correct source name, then update the clip ratio.
1009+ # If this transform is fro, the correct source name, then update the clip ratio.
10181010 if wait_for_clip_transform and cur_source_name == source_name :
10191011 logger .log_debug ("The transform was for our source, updating clip ratio" )
10201012 if event_data .sceneItemTransform .sourceWidth > 0.0 and event_data .sceneItemTransform .sourceHeight > 0.0 :
You can’t perform that action at this time.
0 commit comments