update poll log

master
florentin.luce 2024-12-19 10:48:21 +01:00
parent 9099b23a12
commit 2690a197c6
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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()