Blender Git Loki

Git Commits -> Revision 18ecc8a

Revision 18ecc8a by Bastien Montagne (master)
November 9, 2015, 13:53 (GMT)
Fix broken groupobject usercount handling.

As we can see in (original) read code, ob pointer in groupobject is actually a 'USER_ONE' case.
This was not done in 'add object to group' code, probably because we can assume objects always
have at least one user in that case? Made it explicit now. Also fixed foreach_ID_link looper.

In general we have waaayyyyyy too much 'own handling' of ID->us count in code currently,
will clean up that...

Commit Details:

Full Hash: 18ecc8a78f9eba45e513f7903989ef88cffbdb54
Parent Commit: ff3cf93
Lines Changed: +9, -7

3 Modified Paths:

/source/blender/blenkernel/intern/group.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/library_query.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+7, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021