Proper path setting
This commit is contained in:
@@ -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})
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user