Blender Kitsu: Add Import Edit Render Operator for Shots #236
@ -390,6 +390,9 @@ class KITSU_addon_preferences(bpy.types.AddonPreferences):
|
|||||||
active_project = cache.project_active_get()
|
active_project = cache.project_active_get()
|
||||||
if get_safely_string_prop(self, 'edit_export_file_pattern') == "" and active_project:
|
if get_safely_string_prop(self, 'edit_export_file_pattern') == "" and active_project:
|
||||||
proj_name = active_project.name.replace(' ', bkglobals.SPACE_REPLACER).lower()
|
proj_name = active_project.name.replace(' ', bkglobals.SPACE_REPLACER).lower()
|
||||||
|
# HACK for Project Gold at Blender Studio
|
||||||
|
if proj_name == "project_gold":
|
||||||
|
return f"gold-edit-v###.mp4"
|
||||||
return f"{proj_name}-edit-v###.mp4"
|
return f"{proj_name}-edit-v###.mp4"
|
||||||
return get_safely_string_prop(self, 'edit_export_file_pattern')
|
return get_safely_string_prop(self, 'edit_export_file_pattern')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user