diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-08 19:43:05 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-11 18:06:28 +0300 |
commit | 2abb156b9f64dd0ec7d51aba8eac688fe22621ba (patch) | |
tree | dcd6f293739c5271338ba0bfe94eaf5965763cb1 /intern | |
parent | 73b9531dcfa34bea4ab8b4f5fc37039786bf809c (diff) |
Cleanup: remove object.is_visible.
Depsgraph already iterates over visible objects, and since this was only
valid for objects evaluated with the depsgraph it was confusing.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/blender/blender_object.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/intern/cycles/blender/blender_object.cpp b/intern/cycles/blender/blender_object.cpp index 8ed3eafb488..dbeab2fdf61 100644 --- a/intern/cycles/blender/blender_object.cpp +++ b/intern/cycles/blender/blender_object.cpp @@ -578,9 +578,6 @@ void BlenderSync::sync_objects(BL::Depsgraph& b_depsgraph, float motion_time) { BL::DepsgraphObjectInstance b_instance = *b_instance_iter; BL::Object b_ob = b_instance.object(); - if(!b_ob.is_visible()) { - continue; - } progress.set_sync_status("Synchronizing object", b_ob.name()); |