Skip to content

Commit 72a721e

Browse files
committed
Some debugging lines
1 parent c38a8c6 commit 72a721e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bseq/importer.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ def create_obj(fileseq, use_relative, root_path, transform_matrix=Matrix([[1, 0,
209209
#.obj sequences have to be handled differently
210210
isObj = filepath.endswith(".obj")
211211
if isObj:
212+
print(str(filepath))
212213
bpy.ops.import_scene.obj(filepath=filepath)
213214
object = bpy.context.selected_objects[-1]
214215
object.name = fileseq.basename() + "@" + fileseq.extension()
@@ -291,14 +292,17 @@ def update_obj(scene, depsgraph=None):
291292
bpy.ops.object.delete()
292293
bpy.ops.import_scene.obj(filepath=filepath)
293294
obj = bpy.context.selected_objects[-1]
295+
print(str(filepath))
296+
print(current_frame % len(fs))
297+
print(obj.name)
294298
obj.name = fs.basename() + "@" + fs.extension()
295299
obj.data.name = fs.basename() + "@" + fs.extension()
296300
obj.matrix_world = tmp_transform
297301
apply_transformation(meshio_mesh, obj, depsgraph)
298302

299303
end_time = time.perf_counter()
300304
obj.BSEQ.last_benchmark = (end_time - start_time) * 1000
301-
return
305+
continue
302306

303307
if obj.BSEQ.use_advance and obj.BSEQ.script_name:
304308
script = bpy.data.texts[obj.BSEQ.script_name]

0 commit comments

Comments
 (0)