[Blender_Kitsu] Publish VSE Edit as Revision on Kitsu #7
@ -356,6 +356,10 @@ class KITSU_OT_sqe_push_new_edit(bpy.types.Operator):
|
||||
layout.prop(self, "render_name")
|
||||
|
||||
def execute(self, context: bpy.types.Context) -> Set[str]:
|
||||
if self.task == "":
|
||||
self.report({"ERROR"}, "Selected edit doesn't have any task associated with it .")
|
||||
return {"CANCELLED"}
|
||||
|
||||
# Build render_path
|
||||
render_dir = bpy.path.abspath(self.render_dir)
|
||||
render_name = f"{self.render_name.replace('.','_')}.mp4"
|
||||
|
Loading…
Reference in New Issue
Block a user