[Bf-blender-cvs] [d1e1fb2] master: UV Unwrap: Correct aspect was inverted

Campbell Barton noreply at git.blender.org
Mon Jan 26 15:15:49 CET 2015


Commit: d1e1fb2239372ecd1e7ec0bb84e4d2c6cb0a1269
Author: Campbell Barton
Date:   Tue Jan 27 01:05:09 2015 +1100
Branches: master
https://developer.blender.org/rBd1e1fb2239372ecd1e7ec0bb84e4d2c6cb0a1269

UV Unwrap: Correct aspect was inverted

===================================================================

M	source/blender/editors/uvedit/uvedit_unwrap_ops.c

===================================================================

diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c
index b5e27ab..793f84b 100644
--- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c
+++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c
@@ -1130,7 +1130,7 @@ void ED_unwrap_lscm(Scene *scene, Object *obedit, const short sel)
 	ParamHandle *handle;
 
 	const bool fill_holes = (scene->toolsettings->uvcalc_flag & UVCALC_FILLHOLES) != 0;
-	const bool correct_aspect = (scene->toolsettings->uvcalc_flag & UVCALC_NO_ASPECT_CORRECT) != 0;
+	const bool correct_aspect = (scene->toolsettings->uvcalc_flag & UVCALC_NO_ASPECT_CORRECT) == 0;
 	bool use_subsurf;
 
 	modifier_unwrap_state(obedit, scene, &use_subsurf);




More information about the Bf-blender-cvs mailing list