Make attract.strip_unlink unlink all selected strips, and not just the active
This commit is contained in:
parent
baac86f59b
commit
af0dee0c9d
@ -355,11 +355,10 @@ class AttractShotDelete(AttractOperatorMixin, Operator):
|
|||||||
class AttractStripUnlink(AttractOperatorMixin, Operator):
|
class AttractStripUnlink(AttractOperatorMixin, Operator):
|
||||||
bl_idname = 'attract.strip_unlink'
|
bl_idname = 'attract.strip_unlink'
|
||||||
bl_label = 'Unlink'
|
bl_label = 'Unlink'
|
||||||
bl_description = 'Remove Attract props from the strip'
|
bl_description = 'Remove Attract props from the selected strip(s)'
|
||||||
|
|
||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
strip = active_strip(context)
|
for strip in context.selected_sequences:
|
||||||
|
|
||||||
atc_object_id = getattr(strip, 'atc_object_id')
|
atc_object_id = getattr(strip, 'atc_object_id')
|
||||||
remove_atc_props(strip)
|
remove_atc_props(strip)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user