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