Blender Git Commit Log

Git Commits -> Revision bc02c5d

Revision bc02c5d by Campbell Barton (master)
January 10, 2018, 08:34 (GMT)
Alternate fix for brush user count

This reverts change to BKE_brush_add,
callers now remove the extra user.

Note this isn't very convenient for callers but
is consistent with other ID types.

In the future we will probably remove this and have new
ID's created with zero users.

Commit Details:

Full Hash: bc02c5de497c360449e4de68b3c1432f9bd204de
Parent Commit: 3f83734
Lines Changed: +17, -7

5 Modified Paths:

/source/blender/blenkernel/intern/brush.c (+4, -2) (Diff)
/source/blender/blenkernel/intern/paint.c (+3, -1) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+3, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+6, -2) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+1, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021