diff options
author | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2010-07-23 01:10:29 +0400 |
---|---|---|
committer | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2010-07-23 01:10:29 +0400 |
commit | 3a042d205321574838b08fcfe99aa2d97fc4bc97 (patch) | |
tree | bba1c3a11d3a96dfab457555ece4fd6eb6490279 /source | |
parent | 2a02632882a4b538fcde785668ef993d26fae84b (diff) |
Fix [#22965] Icons for new brushes won't get sticky
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/brush.c | 2 |
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); |