Add Remove MoveUp-Down for Casting

This commit is contained in:
2023-03-17 20:03:38 +01:00
parent 4dc52b1268
commit 538c0bf60a
7 changed files with 332 additions and 57 deletions
+5 -1
View File
@@ -21,6 +21,7 @@ from vse_toolbox import panels
from vse_toolbox import preferences
from vse_toolbox import properties
from vse_toolbox import operators
from vse_toolbox.sequencer_utils import get_active_strip
mods = (
@@ -44,10 +45,13 @@ def register():
for mod in mods:
mod.register()
bpy.app.handlers.frame_change_post.append(get_active_strip)
def unregister():
if bpy.app.background:
return
bpy.app.handlers.frame_change_post.remove(get_active_strip)
for mod in reversed(mods):
mod.unregister()