Cleanup: add clarifying comment to ViewLayer->layer_collections

This commit is contained in:
Jacques Lucke 2020-02-13 16:33:39 +01:00
parent be40d86e35
commit 52f326ed48
1 changed files with 4 additions and 1 deletions

View File

@ -87,7 +87,10 @@ typedef struct ViewLayer {
/** Default allocated now. */
struct SceneStats *stats;
struct Base *basact;
/** LayerCollection. */
/** A view layer has one top level layer collection, because a scene has only one top level
* collection. The layer_collections list always contains a single element. ListBase is
* convenient when applying functions to all layer collections recursively. */
ListBase layer_collections;
LayerCollection *active_collection;