refactor and fixes for episode handling gav
This commit is contained in:
+6
-4
@@ -119,6 +119,7 @@ class Sequence(PropertyGroup):
|
||||
|
||||
|
||||
class TaskStatus(PropertyGroup):
|
||||
is_done : BoolProperty(default=False)
|
||||
__annotations__ = {}
|
||||
|
||||
|
||||
@@ -267,7 +268,8 @@ class ImportShots(PropertyGroup):
|
||||
|
||||
|
||||
class UploadToTracker(PropertyGroup):
|
||||
render_strips: BoolProperty(default=False)
|
||||
render_strips: BoolProperty(default=False,
|
||||
description='Render each selected shot strip to the Movie Path before uploading it as the preview')
|
||||
render_strip_template : StringProperty(
|
||||
name="Movie Path", default="//render/{strip}.{ext}")
|
||||
|
||||
@@ -749,7 +751,7 @@ class VSETB_PGT_strip_settings(PropertyGroup):
|
||||
channel = get_channel_name(strip)
|
||||
|
||||
if channel == 'Sequences':
|
||||
data = parse(project.sequence_template, strip.name)
|
||||
data = parse(project.sequence_template, strip.name) or {}
|
||||
#data['index'] = int(data['index'])
|
||||
#data['sequence'] = strip.name
|
||||
data['strip'] = strip.name
|
||||
@@ -758,10 +760,10 @@ class VSETB_PGT_strip_settings(PropertyGroup):
|
||||
elif channel == "Shots":
|
||||
data = {}
|
||||
if sequence_strip_name := get_strip_sequence_name(strip):
|
||||
data = parse(project.sequence_template, sequence_strip_name)
|
||||
data = parse(project.sequence_template, sequence_strip_name) or {}
|
||||
data['sequence_strip'] = sequence_strip_name
|
||||
|
||||
data.update(parse(project.shot_template, strip.name))
|
||||
data.update(parse(project.shot_template, strip.name) or {})
|
||||
#data['index'] = int(data['index'])
|
||||
|
||||
data['strip'] = strip.name
|
||||
|
||||
Reference in New Issue
Block a user