Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-01-22 20:53:50 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-01-22 20:57:04 +0400
commit1c8abf8d2a809b00210a2c555ec2d4b4a8c0c419 (patch)
tree009009328371509c8abce25726b293bacb04dfcd /source/blender/render
parent7da44effe96b507c98abc27f10e3ea6094ccdbd9 (diff)
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.
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/convertblender.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/convertblender.c b/source/blender/render/intern/source/convertblender.c
index 4ca1fd4c398..a522231d3a9 100644
--- a/source/blender/render/intern/source/convertblender.c
+++ b/source/blender/render/intern/source/convertblender.c
@@ -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);
}