Blender Git Commit Log

Git Commits -> Revision 9103464

Revision 9103464 by Dalai Felinto (master)
November 27, 2017, 16:52 (GMT)
Fix T53291: Deleting objects do not delete them from the blend file

User count was wrong for newly created files. We increase/decrease user count
when we link/delete objects from a SceneCollection.

So we don't want to leave user count of 1 after calling BKE_libblock_alloc in
BKE_object_add_only_object().

Commit Details:

Full Hash: 91034646c7c93e77c2ffda5e67e5ee0b23207fc9
Parent Commit: 14c3ef8
Lines Changed: +3, -1

2 Modified Paths:

/source/blender/blenkernel/intern/object.c (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+0, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021