diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-06-06 17:01:51 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-06-06 17:44:51 +0300 |
commit | 4e213d42162b8d38435911352e52dbb609e36769 (patch) | |
tree | b70fd088d8ba5452aaf9fc4a88876a0cdfbdc2b1 /source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp | |
parent | 9a0506ea185c0ca6505e85ea0f5f5dc5fc48aa62 (diff) |
Depsgraph iterator: Remove explicit mode
We can get the mode from the depsgraph itself.
Diffstat (limited to 'source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp')
-rw-r--r-- | source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp b/source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp index 6cbdca756d5..f41a9b58085 100644 --- a/source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp +++ b/source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp @@ -95,7 +95,7 @@ NodeGroup *BlenderFileLoader::Load() int id = 0; DEG_OBJECT_ITER_BEGIN( - depsgraph, ob, DEG_ITER_OBJECT_MODE_RENDER, + depsgraph, ob, DEG_ITER_OBJECT_FLAG_LINKED_DIRECTLY | DEG_ITER_OBJECT_FLAG_LINKED_VIA_SET | DEG_ITER_OBJECT_FLAG_VISIBLE | |