Skip to content

Commit fe0215a

Browse files
author
madalee-com
committed
- Just some comment update
1 parent d8c7cba commit fe0215a

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/commands.gd

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)