Fix #30966: cycles nan mesh vertices got set to (0, 0, 0), now remove them instead.

This commit is contained in:
2012-04-16 08:35:21 +00:00
parent 9cf2e5baf6
commit 93df58160e
17 changed files with 62 additions and 54 deletions

View File

@@ -30,7 +30,7 @@ __device void svm_node_mapping(KernelGlobals *kg, ShaderData *sd, float *stack,
tfm.z = read_node_float(kg, offset);
tfm.w = read_node_float(kg, offset);
float3 r = transform(&tfm, v);
float3 r = transform_point(&tfm, v);
stack_store_float3(stack, out_offset, r);
}