diff options
Diffstat (limited to 'intern/cycles/render/object.cpp')
-rw-r--r-- | intern/cycles/render/object.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/object.cpp b/intern/cycles/render/object.cpp index 1966fe4bb7f..634d0401aa9 100644 --- a/intern/cycles/render/object.cpp +++ b/intern/cycles/render/object.cpp @@ -349,6 +349,7 @@ void ObjectManager::device_update_transforms(Device *device, DeviceScene *dscene * TODO(sergey): Check on whether we can reshuffle update order in scene. */ if(ob->mesh->need_update) { + ob->mesh->has_volume = false; foreach(uint shader, ob->mesh->used_shaders) { if(scene->shaders[shader]->has_volume) { ob->mesh->has_volume = true; |