From e03bbcec651f35baca647b1c3fe79505ad546585 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 5 Jun 2013 03:10:29 +0000 Subject: fix [#35453] "copy mirrored uv coords" doesn't work - made precision configurable. - report a warning when doubles are found since they cause problems. added Polygon.center attribute to avoid calculating in python. --- source/blender/modifiers/intern/MOD_uvwarp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/blender/modifiers') diff --git a/source/blender/modifiers/intern/MOD_uvwarp.c b/source/blender/modifiers/intern/MOD_uvwarp.c index 13629b02a86..240daa52400 100644 --- a/source/blender/modifiers/intern/MOD_uvwarp.c +++ b/source/blender/modifiers/intern/MOD_uvwarp.c @@ -105,7 +105,10 @@ static void matrix_from_obj_pchan(float mat[4][4], Object *ob, const char *bonen } } -#define OMP_LIMIT 1000 +#ifdef _OPENMP +# define OMP_LIMIT 1000 +#endif + static DerivedMesh *applyModifier(ModifierData *md, Object *ob, DerivedMesh *dm, ModifierApplyFlag UNUSED(flag)) -- cgit v1.2.3