diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-08-17 17:55:31 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-08-17 18:56:05 +0300 |
commit | 271361e31f9e4bdd222b78833a42a5b268da3e89 (patch) | |
tree | d53bdeb9072706e20e1c6bd74a08c788726626ee /source/blender/blenloader | |
parent | a95f8635967360e07ecb556e2b82099880ec1e63 (diff) |
IO: Add test for iterating over invisible objects
Add a test that checks invisible objects are iterated over by the
`IO::AbstractHierarchyIterator` class, when a suitable depsgraph is given.
No functional changes.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/tests/blendfile_loading_base_test.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenloader/tests/blendfile_loading_base_test.h b/source/blender/blenloader/tests/blendfile_loading_base_test.h index a5e75ef6df8..f90e07218fb 100644 --- a/source/blender/blenloader/tests/blendfile_loading_base_test.h +++ b/source/blender/blenloader/tests/blendfile_loading_base_test.h @@ -56,9 +56,9 @@ class BlendfileLoadingBaseTest : public testing::Test { void blendfile_free(); /* Create a depsgraph. Assumes a blend file has been loaded to this->bfile. */ - void depsgraph_create(eEvaluationMode depsgraph_evaluation_mode); + virtual void depsgraph_create(eEvaluationMode depsgraph_evaluation_mode); /* Free the depsgraph if it's not nullptr. */ - void depsgraph_free(); + virtual void depsgraph_free(); }; #endif /* __BLENDFILE_LOADING_BASE_TEST_H__ */ |