[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13217] trunk/blender/source/blender/src/ sculptmode.c: == Sculpt ==
Nicholas Bishop
nicholasbishop at gmail.com
Sat Jan 12 22:59:18 CET 2008
Revision: 13217
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13217
Author: nicholasbishop
Date: 2008-01-12 22:59:18 +0100 (Sat, 12 Jan 2008)
Log Message:
-----------
== Sculpt ==
Added undo pushes after changing the brush type using the CTRL+TAB menu and after interactive change of brush size/strength/rotate.
Modified Paths:
--------------
trunk/blender/source/blender/src/sculptmode.c
Modified: trunk/blender/source/blender/src/sculptmode.c
===================================================================
--- trunk/blender/source/blender/src/sculptmode.c 2008-01-12 21:51:23 UTC (rev 13216)
+++ trunk/blender/source/blender/src/sculptmode.c 2008-01-12 21:59:18 UTC (rev 13217)
@@ -1311,6 +1311,8 @@
sculptmode_brush()->strength= pd->origstrength;
if(pd->mode != PropsetTexRot)
set_tex_angle(pd->origtexrot);
+
+ BIF_undo_push("Brush property set");
}
glDeleteTextures(1, &pd->tex);
MEM_freeN(pd->num);
@@ -1480,6 +1482,8 @@
if(val>0) {
sd->brush_type= val;
+
+ BIF_undo_push("Brush type");
allqueue(REDRAWVIEW3D, 1);
allqueue(REDRAWBUTSEDIT, 1);
More information about the Bf-blender-cvs
mailing list