@@ -393,22 +393,24 @@ def final_name(path: Path, file_format: str) -> str:
393393 path = path .with_suffix (self ._extension_from_format [file_format ])
394394 return str (path )
395395
396+ render_filepath = str (Path (bpy .path .abspath (render .filepath )).resolve ())
396397 output = {
397398 "common" : {
398399 "enabled" : True ,
399- "final" : final_name (Path (render . filepath ), render .image_settings .file_format ),
400- "project" : os .path .dirname (render . filepath ),
400+ "final" : final_name (Path (render_filepath ), render .image_settings .file_format ),
401+ "project" : os .path .dirname (render_filepath ),
401402 "extension" : render .image_settings .file_format .lower ()
402403 }
403404 }
404405 tree = scene .node_tree
405406 if tree is not None :
406407 for node in tree .nodes :
407408 if node .bl_idname == 'CompositorNodeOutputFile' :
409+ base_path = str (Path (bpy .path .abspath (node .base_path )).resolve ())
408410 output [bpy .path .clean_name (node .name )] = {
409411 "enabled" : True ,
410- "final" : final_name (Path (node . base_path ), node .format .file_format ),
411- "project" : os .path .dirname (node . base_path ),
412+ "final" : final_name (Path (base_path ), node .format .file_format ),
413+ "project" : os .path .dirname (base_path ),
412414 "extension" : node .format .file_format .lower ()
413415 }
414416
@@ -472,7 +474,7 @@ def cancel(self, context):
472474
473475class ModalOperator (bpy .types .Operator ):
474476 bl_idname = "helio.render_modal"
475- bl_label = "Helio Render Modal "
477+ bl_label = "Render On Helio "
476478 bl_region_type = "UI"
477479 bl_options = {'REGISTER' , 'INTERNAL' }
478480
0 commit comments