Skip to content

Commit 95950a2

Browse files
losancdigitalillusions
authored andcommitted
force evaluate animation system, fix #10
1 parent 81216f6 commit 95950a2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bseq/importer.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,3 +239,10 @@ def update_obj(scene, depsgraph=None):
239239
show_message_box('function preprocess does not return meshio object', "ERROR")
240240
continue
241241
update_mesh(meshio_mesh, obj.data)
242+
243+
# force to evaluate the keyframe animation system
244+
obj.location = obj.evaluated_get(depsgraph).location
245+
obj.rotation_quaternion = obj.evaluated_get(depsgraph).rotation_quaternion
246+
obj.rotation_euler = obj.evaluated_get(depsgraph).rotation_euler
247+
obj.rotation_axis_angle = obj.evaluated_get(depsgraph).rotation_axis_angle
248+
obj.scale = obj.evaluated_get(depsgraph).scale

0 commit comments

Comments
 (0)