[Bf-blender-cvs] [3585144] soc-2013-paint: Somehow git managed to do this great thing on that last merge. Fixing.

Antony Riakiotakis noreply at git.blender.org
Tue Mar 11 22:58:43 CET 2014


Commit: 3585144b58f0a3972f2ee204f70f867a7a80696b
Author: Antony Riakiotakis
Date:   Tue Mar 11 21:58:30 2014 +0200
https://developer.blender.org/rB3585144b58f0a3972f2ee204f70f867a7a80696b

Somehow git managed to do this great thing on that last merge. Fixing.

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

M	source/blender/editors/sculpt_paint/sculpt.c

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

diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index a94cfda..ee14e9d 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -5091,12 +5091,11 @@ static int sculpt_mode_toggle_exec(bContext *C, wmOperator *op)
 			ts->sculpt = MEM_callocN(sizeof(Sculpt), "sculpt mode data");
 
 			/* Turn on X plane mirror symmetry by default */
-
 			ts->sculpt->paint.symmetry_flags |= PAINT_SYMM_X;
 			ts->sculpt->paint.flags |= PAINT_SHOW_BRUSH;
 
 			/* Make sure at least dyntopo subdivision is enabled */
-			ts->sculpt->paint.symmetry_flags |= SCULPT_DYNTOPO_SUBDIVIDE;
+			ts->sculpt->flags |= SCULPT_DYNTOPO_SUBDIVIDE;
 		}
 
 		if (!ts->sculpt->detail_size)




More information about the Bf-blender-cvs mailing list