[Bf-blender-cvs] [3cbd9eb] master: Fix for sculpt mode last-stroke applying obmat twice

Campbell Barton noreply at git.blender.org
Sat Apr 12 08:35:54 CEST 2014


Commit: 3cbd9ebcf2300360a3a37c951d2fc1c591b11b24
Author: Campbell Barton
Date:   Sat Apr 12 16:35:11 2014 +1000
https://developer.blender.org/rB3cbd9ebcf2300360a3a37c951d2fc1c591b11b24

Fix for sculpt mode last-stroke applying obmat twice

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

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 eea7851..290acc4 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -4603,7 +4603,6 @@ static void sculpt_stroke_done(const bContext *C, struct PaintStroke *UNUSED(str
 		/* update last stroke position */
 		ob->sculpt->last_stroke_valid = 1;
 		ED_sculpt_get_average_stroke(ob, ob->sculpt->last_stroke);
-		mul_m4_v3(ob->obmat, ob->sculpt->last_stroke);
 
 		sculpt_cache_free(ss->cache);
 		ss->cache = NULL;




More information about the Bf-blender-cvs mailing list