Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wilkins <Jason.A.Wilkins@gmail.com>2010-07-24 09:53:30 +0400
committerJason Wilkins <Jason.A.Wilkins@gmail.com>2010-07-24 09:53:30 +0400
commit068b0c3f6f99f2717122e1e9e776330459cfc303 (patch)
treecf6fd0eac751495df489f8542c6ef6ee4a81602f /source/blender/blenkernel/intern/brush.c
parentf24bcc689cb1d97b3ddbce00f99231e9779f2b98 (diff)
Fix [#22965] Icons for new brushes won't get sticky
Somehow the code I submitted to fix this problem was commented out. I think I just submitted the wrong code.
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r--source/blender/blenkernel/intern/brush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index 8670665a1ac..1536c394726 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -132,7 +132,7 @@ Brush *copy_brush(Brush *brush)
if (brush->mtex.tex)
id_us_plus((ID*)brush->mtex.tex);
- //brushn->preview= NULL;
+ brushn->preview= NULL;
if (brush->icon_imbuf)
brushn->icon_imbuf= IMB_dupImBuf(brush->icon_imbuf);