[Bf-blender-cvs] [6307e82] master: Cycles: Fix crash after recent zero scale instance optimization
Sergey Sharybin
noreply at git.blender.org
Wed Jun 8 12:25:18 CEST 2016
Commit: 6307e823ca2b885098ecade060cb0070a3488df6
Author: Sergey Sharybin
Date: Wed Jun 8 12:24:57 2016 +0200
Branches: master
https://developer.blender.org/rB6307e823ca2b885098ecade060cb0070a3488df6
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())
More information about the Bf-blender-cvs
mailing list