Cycles: Fix crash after recent zero scale instance optimization

This commit is contained in:
Sergey Sharybin 2016-06-08 12:24:57 +02:00
parent 438bdccff3
commit 6307e823ca
1 changed files with 1 additions and 0 deletions

View File

@ -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())