== 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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user