diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-06-04 15:36:53 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-06-04 15:39:51 +0300 |
commit | 33e8db94b1e7df2bd7fdbf15b96368c8d16d3b4e (patch) | |
tree | 949716a11cd46cf023cf0340dd42077f86843a04 /tests/python/view_layer/test_evaluation_selectability_f.py | |
parent | 1d2e4c44bddeb21e04f6ef73b96b51a759a3352e (diff) |
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.
Diffstat (limited to 'tests/python/view_layer/test_evaluation_selectability_f.py')
-rw-r--r-- | tests/python/view_layer/test_evaluation_selectability_f.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/python/view_layer/test_evaluation_selectability_f.py b/tests/python/view_layer/test_evaluation_selectability_f.py index a902dd1dada..16aa86a0c2a 100644 --- a/tests/python/view_layer/test_evaluation_selectability_f.py +++ b/tests/python/view_layer/test_evaluation_selectability_f.py @@ -23,14 +23,14 @@ class UnitTesting(ViewLayerTesting): scene_collection = scene.master_collection.collections.new('collection') layer_collection = view_layer.collections.link(scene_collection) - bpy.context.scene.update() # update depsgraph + view_layer.update() # update depsgraph scene_collection.objects.link(cube) self.assertTrue(layer_collection.enabled) self.assertTrue(layer_collection.selectable) - bpy.context.scene.update() # update depsgraph + view_layer.update() # update depsgraph cube.select_set(True) self.assertTrue(cube.select_get()) |