Blender Git Loki

Git Commits -> Revision b785586

Revision b785586 by Bastien Montagne (master)
November 14, 2018, 16:07 (GMT)
Fix T57558: Outliner displaying same object twice in some cases.

Logical flaw in `BKE_scene_objects_iterator_begin()` code (two errors
actually, wrong handling of first object of Master collection, and
missing call to `object_base_unique()` to 'register' that first object
and avoid getting it returned a second time).

Simply fixed by always calling `BKE_scene_objects_iterator_next()`
after minimal proper init, that one knows how to do the things. ;)

Commit Details:

Full Hash: b7855862327043b858c5787864ada6f2a2c86ea4
Parent Commit: 46ac317
Lines Changed: +4, -7

1 Modified Path:

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