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-23 01:10:29 +0400
committerJason Wilkins <Jason.A.Wilkins@gmail.com>2010-07-23 01:10:29 +0400
commit3a042d205321574838b08fcfe99aa2d97fc4bc97 (patch)
treebba1c3a11d3a96dfab457555ece4fd6eb6490279 /source/blender/blenkernel/intern/brush.c
parent2a02632882a4b538fcde785668ef993d26fae84b (diff)
Fix [#22965] Icons for new brushes won't get sticky
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r--source/blender/blenkernel/intern/brush.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index a668249b0d5..8670665a1ac 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -132,6 +132,8 @@ Brush *copy_brush(Brush *brush)
if (brush->mtex.tex)
id_us_plus((ID*)brush->mtex.tex);
+ //brushn->preview= NULL;
+
if (brush->icon_imbuf)
brushn->icon_imbuf= IMB_dupImBuf(brush->icon_imbuf);