Fix (unreported) missing updates in scripts/docs after scene.update() removal.
This should really have been done together with API changes, simple usage of grep does the trick to catch most places needing updates.
This commit is contained in:
@@ -63,7 +63,8 @@ class UnitTesting(ViewLayerTesting):
|
||||
self.assertNotEqual(scene, new_scene)
|
||||
|
||||
# update depsgrah
|
||||
scene.update() # update depsgraph
|
||||
for view_layer in scene.view_layers:
|
||||
view_layer.update() # update depsgraph
|
||||
|
||||
# compare scenes
|
||||
for h, layer in enumerate(scene.view_layers):
|
||||
|
||||
Reference in New Issue
Block a user