Import Shots for mu
This commit is contained in:
+9
-1
@@ -109,6 +109,7 @@ class MetadataType(PropertyGroup):
|
||||
|
||||
class TaskType(PropertyGroup):
|
||||
color : FloatVectorProperty(subtype='COLOR')
|
||||
import_enabled : BoolProperty(default=False)
|
||||
|
||||
|
||||
class TaskStatus(PropertyGroup):
|
||||
@@ -297,6 +298,7 @@ class Project(PropertyGroup):
|
||||
asset_types : CollectionProperty(type=AssetType)
|
||||
metadata_types : CollectionProperty(type=MetadataType)
|
||||
task_types : CollectionProperty(type=TaskType)
|
||||
task_type_index : IntProperty()
|
||||
task_statuses : CollectionProperty(type=TaskStatus)
|
||||
|
||||
spreadsheet_import: PointerProperty(type=SpreadsheetImport)
|
||||
@@ -304,6 +306,12 @@ class Project(PropertyGroup):
|
||||
|
||||
type : StringProperty()
|
||||
|
||||
import_source: EnumProperty(items=[(i, i.title(), '') for i in ('DISK', 'TRACKER')])
|
||||
import_task: EnumProperty(items=[(i, i.title(), '') for i in ('LAST', 'SELECTED', 'ALL')], default='LAST')
|
||||
|
||||
shot_dir_template: StringProperty(
|
||||
name="Shot Template", default="$PROJECT_ROOT/sequences/{sequence}/sh{index:04d}")
|
||||
|
||||
@property
|
||||
def active_episode(self):
|
||||
return self.episodes.get(self.episode_name)
|
||||
@@ -582,7 +590,7 @@ class VSETB_PGT_scene_settings(PropertyGroup):
|
||||
|
||||
shot_channel_name : StringProperty(
|
||||
name="Shot Channel Name", default="Shots")
|
||||
|
||||
|
||||
@property
|
||||
def active_project(self):
|
||||
settings = get_scene_settings()
|
||||
|
||||
Reference in New Issue
Block a user