Proper path setting

This commit is contained in:
2026-02-13 22:04:43 +03:00
parent a85152a675
commit b363742507
3 changed files with 8 additions and 3 deletions

View File

@@ -204,7 +204,7 @@ class CommandLineMapping:
def __init__(self):
self.objs = [mapping_armature_name]
if len(mapping_objects) > 0:
self.objs += [o.otrip() for o in mapping_objects.split(";")]
self.objs += [o.strip() for o in mapping_objects.split(";")]
self.files = []
for fobj in self.objs:
self.files.append({"name": fobj})

View File

@@ -207,5 +207,5 @@ main_armature.animation_data.action = default_action
main_armature.select_set(False)
bpy.context.view_layer.objects.active = None
bpy.ops.wm.save_as_mainfile(filepath=(basepath + "/assets/blender/" + imp.outfile))
bpy.ops.wm.save_as_mainfile(filepath=(imp.outfile))