Fix [#22965] Icons for new brushes won't get sticky
This commit is contained in:
@@ -132,6 +132,8 @@ Brush *copy_brush(Brush *brush)
|
|||||||
if (brush->mtex.tex)
|
if (brush->mtex.tex)
|
||||||
id_us_plus((ID*)brush->mtex.tex);
|
id_us_plus((ID*)brush->mtex.tex);
|
||||||
|
|
||||||
|
//brushn->preview= NULL;
|
||||||
|
|
||||||
if (brush->icon_imbuf)
|
if (brush->icon_imbuf)
|
||||||
brushn->icon_imbuf= IMB_dupImBuf(brush->icon_imbuf);
|
brushn->icon_imbuf= IMB_dupImBuf(brush->icon_imbuf);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user