Blender Git Loki

Git Commits -> Revision 50128e8

Revision 50128e8 by Antonio Vazquez (master)
November 27, 2019, 10:29 (GMT)
Avoid Brush user count increase when duplicates the Brush

When you create a new Brush, the user count is `2` (caller and fake user). The problem is when you duplicate a Brush, the user count grows to `3` and this is not correct, because is a new brush.

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D6310

Commit Details:

Full Hash: 50128e8e79bff560d0da6825663543c82286ab17
Parent Commit: 0281411
Lines Changed: +3, -2

1 Modified Path:

/source/blender/editors/sculpt_paint/paint_ops.c (+3, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021