Fix T37940: Curve Render bug in Blender Internal Render.

Issue was caused by curve object really scale up. It was
caused by 677f519 to make scaled down curves work fine.

After some tweaks to epsilon value scaled up curves seems
to work as well.
This commit is contained in:
Sergey Sharybin 2014-01-22 22:53:50 +06:00
parent 7da44effe9
commit 1c8abf8d2a
Notes: blender-bot 2023-02-14 11:26:24 +01:00
Referenced by issue #37940, Curve Render bug in Blender Internal Render.
1 changed files with 1 additions and 1 deletions

View File

@ -2765,7 +2765,7 @@ static void init_render_curve(Render *re, ObjectRen *obr, int timeoffset)
vlr->v4= NULL;
/* to prevent float accuracy issues, we calculate normal in local object space (not world) */
if (area_tri_v3(co3, co2, co1)>FLT_EPSILON10) {
if (area_tri_v3(co3, co2, co1)>FLT_EPSILON) {
normal_tri_v3(tmp, co3, co2, co1);
add_v3_v3(n, tmp);
}