create context to work only with a selected strip
parent
c623f3e0a8
commit
9099b23a12
|
@ -449,6 +449,10 @@ class VSETB_OT_open_shot_on_tracker(Operator):
|
|||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
if not context.active_sequence_strip:
|
||||
cls.poll_message_set('No active')
|
||||
return
|
||||
|
||||
prefs = get_addon_prefs()
|
||||
if prefs.tracker:
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue