Blender Git Commit Log

Git Commits -> Revision 80b906c

March 18, 2016, 10:44 (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: 80b906cb3135f9f6547b47150ec752e96df0255e
Parent Commit: 8b49fa2
Committed By: Sergey Sharybin
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