From 068b0c3f6f99f2717122e1e9e776330459cfc303 Mon Sep 17 00:00:00 2001 From: Jason Wilkins Date: Sat, 24 Jul 2010 05:53:30 +0000 Subject: 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. --- source/blender/blenkernel/intern/brush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/brush.c') 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); -- cgit v1.2.3