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:
@@ -40,7 +40,7 @@ class UnitTesting(ViewLayerTesting):
|
||||
layer_collection_mom.collections[layer_collection_kid.name].enabled = False
|
||||
layer_collection_kid.enabled = False
|
||||
|
||||
bpy.context.scene.update() # update depsgraph
|
||||
layer.update() # update depsgraph
|
||||
self.assertFalse(cube.visible_get(), "Object should be invisible")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user