[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33281] trunk/blender/source/blender/ editors/sculpt_paint/sculpt.c: fix [#24879] "Feather" symmetry option in sculpt mode crashes.
Campbell Barton
ideasman42 at gmail.com
Wed Nov 24 13:38:18 CET 2010
Revision: 33281
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33281
Author: campbellbarton
Date: 2010-11-24 13:38:18 +0100 (Wed, 24 Nov 2010)
Log Message:
-----------
fix [#24879] "Feather" symmetry option in sculpt mode crashes.
rotate_m4() was being called with axis=0
Modified Paths:
--------------
trunk/blender/source/blender/editors/sculpt_paint/sculpt.c
Modified: trunk/blender/source/blender/editors/sculpt_paint/sculpt.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/sculpt.c 2010-11-24 12:17:26 UTC (rev 33280)
+++ trunk/blender/source/blender/editors/sculpt_paint/sculpt.c 2010-11-24 12:38:18 UTC (rev 33281)
@@ -517,8 +517,10 @@
flip_coord(mirror, cache->true_location, symm);
unit_m4(mat);
- rotate_m4(mat, axis, angle);
+ if(axis != 0) {
+ rotate_m4(mat, axis, angle);
+ }
mul_m4_v3(mat, mirror);
//distsq = len_squared_v3v3(mirror, cache->traced_location);
More information about the Bf-blender-cvs
mailing list