We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1b22c7 commit 9de99b2Copy full SHA for 9de99b2
1 file changed
simloader/importer.py
@@ -143,6 +143,8 @@ def update_obj(scene, depsgraph=None):
143
pattern = obj.SIMLOADER.pattern
144
if obj.SIMLOADER.use_relative:
145
pattern = bpy.path.abspath(pattern)
146
+ # in case the blender file was created on windows system, but opened in linux system
147
+ pattern = bpy.path.native_pathsep(pattern)
148
fs = fileseq.FileSequence(pattern)
149
150
if obj.SIMLOADER.use_advance and obj.SIMLOADER.script_name:
@@ -182,4 +184,4 @@ def update_obj(scene, depsgraph=None):
182
184
if not isinstance(meshio_mesh, meshio.Mesh):
183
185
show_message_box('function preprocess does not return meshio object', "ERROR")
186
continue
- update_mesh(meshio_mesh, obj.data)
187
+ update_mesh(meshio_mesh, obj.data)
0 commit comments