Refacto of the scene cut detection, make it generic and add another algorythm as an option
This commit is contained in:
+2
-2
@@ -585,12 +585,12 @@ def update_text_strips(scene):
|
||||
strip.text = strip['text_pattern'].format_map(MissingKey(**format_data))
|
||||
|
||||
|
||||
def create_shot_strip(name, start, end):
|
||||
def create_shot_strip(name, start, end, channel='Shots'):
|
||||
|
||||
shot_strip = bpy.context.scene.sequence_editor.sequences.new_effect(
|
||||
name,
|
||||
'COLOR',
|
||||
get_channel_index('Shots'),
|
||||
get_channel_index(channel),
|
||||
frame_start=start,
|
||||
frame_end=end
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user