Skip to content

Commit d3887ed

Browse files
committed
Update code docs
1 parent 13974a9 commit d3887ed

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/source_Main.bs.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
group = m.global.sceneManager.callFunc("getActiveScene")
107107
reportingNode = msg.getRoSGNode()
108108
itemNode = invalid
109+
print "quickplay reportingNode=", reportingNode
109110
if isValid(reportingNode) and isValid(reportingNode.quickPlayNode)
110111
itemNode = reportingNode.quickPlayNode
111112
reportingNodeType = reportingNode.subtype()
@@ -184,6 +185,11 @@
184185

185186
currentScene = m.global.sceneManager.callFunc("getActiveScene")
186187

188+
' Clear quickPlayNode before modifying nodes to prevent re-triggering the observer
189+
if isValid(currentScene) and isValid(currentScene.quickPlayNode)
190+
currentScene.quickPlayNode = invalid
191+
end if
192+
187193
if isValid(currentScene) and isValid(currentScene.objects) and isValid(currentScene.seasonData)
188194
currentEpisode = m.global.queueManager.callFunc("getCurrentItem")
189195

0 commit comments

Comments
 (0)