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

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

View File

@@ -141,7 +141,7 @@ float3 QuadDice::eval_projected(SubPatch& sub, float u, float v)
sub.patch->eval(&P, NULL, NULL, uv.x, uv.y);
if(camera)
P = transform(&camera->worldtoraster, P);
P = transform_perspective(&camera->worldtoraster, P);
return P;
}

View File

@@ -57,7 +57,7 @@ float3 DiagSplit::project(Patch *patch, float2 uv)
patch->eval(&P, NULL, NULL, uv.x, uv.y);
if(camera)
P = transform(&camera->worldtoraster, P);
P = transform_perspective(&camera->worldtoraster, P);
return P;
}