Blender Git Loki

Git Commits -> Revision e1cbac7

Revision e1cbac7 by Dalai Felinto (master)
January 3, 2018, 21:33 (GMT)
Fix FOREACH_SCENE_COLLECTION/FOREACH_SCENE_OBJECT for nested collections

This fixes any function that relied on these iterators such as:
* Outliner Same Type
* Metaballs
* scene.objects

We were not considering the collections when there was collections nested
to the collections nested to the master collection.

It includes a unittest.

Commit Details:

Full Hash: e1cbac715a85204bad48035eb8ee1af79648cd83
Parent Commit: 10f0635
Lines Changed: +60, -0

1 Added Path:

/tests/python/view_layer/test_scene_objects.py (+58, -0) (View)

2 Modified Paths:

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