Blender Git Commit Log

Git Commits -> Revision 6b1d77a

Revision 6b1d77a by Bastien Montagne (master)
March 14, 2016, 13:50 (GMT)
Fix T47787: When performing operation 'Make single user' -> 'obj&data', object could be removed from group.

Similar cause as in T47482, we used to have poor handling of 'user_one' cases of ID usage,
leading to inconsistent behavior depending on order of operations e.g.

Here, was object used by a group but not linked in any scene - once linked in scene,
their usercount would be 2, leading to 'making single copy', when it's actually not needed.
We now have better control here, so let's use it!

Note that other ID 'make single user' code will likely need similar fix (Images, etc.).

Safe to be backported to 2.77.

Commit Details:

Full Hash: 6b1d77a8052b0706ef2277cb1a5e4f3c67310806
Parent Commit: 2a9bc88
Lines Changed: +2, -1

2 Modified Paths:

/source/blender/editors/object/object_relations.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_ID.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021