diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-11-08 23:58:09 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-11-09 22:28:00 +0300 |
commit | 1ffa01b6f874403cb1b30f9f1ecd52088501f436 (patch) | |
tree | 7d258ab8ec7ccc18d4150eb6e655f033b6124130 /intern | |
parent | bd4bea3e98a436521f9a7effcfed19cdf46eadfb (diff) |
Fix (harmless) valgrind warning.
Diffstat (limited to 'intern')
-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 c70111d15b0..aef7fc29573 100644 --- a/intern/cycles/render/object.cpp +++ b/intern/cycles/render/object.cpp @@ -420,6 +420,7 @@ void ObjectManager::device_update_object_transform(UpdateObejctTransformState *s objects[offset+9] = make_float4(ob->dupli_generated[0], ob->dupli_generated[1], ob->dupli_generated[2], __int_as_float(numkeys)); objects[offset+10] = make_float4(ob->dupli_uv[0], ob->dupli_uv[1], __int_as_float(numsteps), __int_as_float(numverts)); + objects[offset+11] = make_float4(0.0f, 0.0f, 0.0f, 0.0f); /* Object flag. */ if(ob->use_holdout) { |