Fix (harmless) valgrind warning.
This commit is contained in:
@@ -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+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+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. */
|
/* Object flag. */
|
||||||
if(ob->use_holdout) {
|
if(ob->use_holdout) {
|
||||||
|
Reference in New Issue
Block a user