Blender Git Loki

Git Commits -> Revision 20104be

Revision 20104be by Bastien Montagne (master)
February 22, 2016, 11:16 (GMT)
Fix T47482: take II, restore 2.76 behavior regarding groups when deleting an object.

Also re-reported through IRC by Thomas Beck (@plasmasolutions), thanks.

Though it's not ideal in theory, we have quite poor handling of object datablock currently
from user PoV - before this commit, it was not easily possible to get fully rid of an object
anymore if you did not removed it from all its groups before deleting it.

So for now, restore 2.76 behavior (namely, unlink an object from avaerything in Blender
once it is no more used by any scene).

Better handling of all this is TODO for later (also related to much more heavy changes
done in id-remap branch regarding sanitizing our ID deletion process).

Commit Details:

Full Hash: 20104beea7d3bbcc32108fae935270503c251e54
Parent Commit: 9cfc203
Lines Changed: +13, -3

3 Modified Paths:

/source/blender/blenkernel/BKE_library.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/library.c (+11, -1) (Diff)
/source/blender/editors/object/object_add.c (+1, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021