Commit: b3f2a5c19c1046356c9faaa21ce18bf0e1e88648 Author: Sergey Sharybin Date: Wed Jun 8 12:24:57 2016 +0200 Branches: compositor-2016 https://developer.blender.org/rBb3f2a5c19c1046356c9faaa21ce18bf0e1e88648
Cycles: Fix crash after recent zero scale instance optimization =================================================================== M intern/cycles/bvh/bvh_build.cpp =================================================================== diff --git a/intern/cycles/bvh/bvh_build.cpp b/intern/cycles/bvh/bvh_build.cpp index d00de00..3f68722 100644 --- a/intern/cycles/bvh/bvh_build.cpp +++ b/intern/cycles/bvh/bvh_build.cpp @@ -230,6 +230,7 @@ void BVHBuild::add_references(BVHRange& root) foreach(Object *ob, objects) { if(params.top_level) { if(!ob->is_traceable()) { + ++i; continue; } if(!ob->mesh->is_instanced()) _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs