[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31802] trunk/blender/source/blender/ blenkernel/intern/brush.c: == Sculpt ==
Nicholas Bishop
nicholasbishop at gmail.com
Tue Sep 7 05:02:03 CEST 2010
Revision: 31802
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31802
Author: nicholasbishop
Date: 2010-09-07 05:02:03 +0200 (Tue, 07 Sep 2010)
Log Message:
-----------
== Sculpt ==
Fixed bug #23654
Brush copy clears its preview, so that the copied brush's icon isn't linked to the old brush
Modified Paths:
--------------
trunk/blender/source/blender/blenkernel/intern/brush.c
Modified: trunk/blender/source/blender/blenkernel/intern/brush.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/brush.c 2010-09-07 02:39:32 UTC (rev 31801)
+++ trunk/blender/source/blender/blenkernel/intern/brush.c 2010-09-07 03:02:03 UTC (rev 31802)
@@ -147,6 +147,8 @@
if (brush->icon_imbuf)
brushn->icon_imbuf= IMB_dupImBuf(brush->icon_imbuf);
+ brushn->preview = NULL;
+
brushn->curve= curvemapping_copy(brush->curve);
/* enable fake user by default */
More information about the Bf-blender-cvs
mailing list