Skip to content

Commit 5be24db

Browse files
Merge pull request #8 from digitalillusions/fix-driver-system
Fix the driver system
2 parents 0b2b389 + c88ae5f commit 5be24db

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
@@ -183,7 +183,11 @@ def update_obj(scene, depsgraph=None):
183183
if obj.mode != "OBJECT":
184184
continue
185185

186-
current_frame = obj.BSEQ.frame
186+
if depsgraph is not None:
187+
current_frame = obj.evaluated_get(depsgraph).BSEQ.frame
188+
else:
189+
show_message_box("Warning: Might not be able load the correct frame because the dependency graph is not available.", "BSEQ Warning")
190+
current_frame = obj.BSEQ.frame
187191
meshio_mesh = None
188192
pattern = obj.BSEQ.pattern
189193
if obj.BSEQ.use_relative:

0 commit comments

Comments
 (0)