Fix (harmless) valgrind warning.

This commit is contained in:
Brecht Van Lommel 2017-11-08 21:58:09 +01:00
parent bd4bea3e98
commit 1ffa01b6f8
1 changed files with 1 additions and 0 deletions

View File

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