Blender Git Commit Log

Git Commits -> Revision 351a9d0

Revision 351a9d0 by Bastien Montagne (master)
January 4, 2017, 09:28 (GMT)
Fix T50369: Objects can't be deleted from scene when using "link group objects to scene"

Main issue here was that in old usercount system 'user_real' did simply
not allow that kind of thing to work. With new pait of 'USER_EXTRA'
tags, it becomes possible to handle the case correctly, by merely refining
checks about indirectly use objects whene removing them from a scene.

Incidently, found another related bug, 'link group objects to scene' was not
incrementing objects' usercount - bad, very very bad!

Commit Details:

Full Hash: 351a9d084f59a6d11be9148830cec86eacb85529
Parent Commit: c0c48cd
Lines Changed: +15, -7

4 Modified Paths:

/source/blender/blenkernel/intern/library_remap.c (+2, -1) (Diff)
/source/blender/editors/object/object_add.c (+5, -3) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+7, -3) (Diff)
/source/blender/makesdna/DNA_ID.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021