Blender Kitsu: Add Import Edit Render Operator for Shots #236

Merged
Nick Alberelli merged 6 commits from TinyNick/blender-studio-pipeline:feature/import_edit_export into main 2024-02-19 21:02:44 +01:00
Showing only changes of commit 5ddc8331b0 - Show all commits

View File

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