== Sculpt ==

Fixed bug #23654
Brush copy clears its preview, so that the copied brush's icon isn't linked to the old brush
This commit is contained in:
Nicholas Bishop
2010-09-07 03:02:03 +00:00
parent fd53393a5d
commit 2ffa9e1309

View File

@@ -147,6 +147,8 @@ Brush *copy_brush(Brush *brush)
if (brush->icon_imbuf)
brushn->icon_imbuf= IMB_dupImBuf(brush->icon_imbuf);
brushn->preview = NULL;
brushn->curve= curvemapping_copy(brush->curve);
/* enable fake user by default */