update poll log
parent
9099b23a12
commit
2690a197c6
|
@ -413,8 +413,8 @@ class VSETB_OT_open_strip_folder(Operator):
|
|||
cls.poll_message_set('No active')
|
||||
return
|
||||
|
||||
if not any(p in get_channel_name(strip) for p in ('Shots', 'Sequences', 'Movie', 'Video', 'Audio', 'Sound')):
|
||||
cls.poll_message_set('Only for Shots, Sequences, Movie and Audio strips')
|
||||
if not any(p in get_channel_name(strip) for p in ('Movie', 'Video', 'Audio', 'Sound')):
|
||||
cls.poll_message_set('No active Movie or Audio strip')
|
||||
return
|
||||
|
||||
return True
|
||||
|
|
|
@ -449,8 +449,8 @@ 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')
|
||||
if not get_strips(channel='Shots', selected_only=True):
|
||||
cls.poll_message_set('No active Shots strip')
|
||||
return
|
||||
|
||||
prefs = get_addon_prefs()
|
||||
|
|
Loading…
Reference in New Issue