diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-05-16 12:23:14 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-05-16 13:50:23 +0300 |
commit | 1e311279336841aa313e690aca17a092b933ba05 (patch) | |
tree | 58b2f4eedb28e546d8ce31a249c828cf6a100626 /source/blender/makesdna/DNA_layer_types.h | |
parent | 961927572956eab83ce6f99ad1f5bc5ec0987f7e (diff) |
Fix info header stats to iterator over layer instead of scene
Although this is working fine, there are two changes expected in the new
future once depsgraph copy on write is implemented:
1) To call ED_info_stats_clear a callback from depsgraph, instead of the
notifier system. (that would also allow us to clear only one
SceneLayer).
2) To store/get stats from the evaluated SceneLayer, as well as iterate
over the evaluated objects as well.
Diffstat (limited to 'source/blender/makesdna/DNA_layer_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_layer_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_layer_types.h b/source/blender/makesdna/DNA_layer_types.h index c97413915c6..6b4c19d2977 100644 --- a/source/blender/makesdna/DNA_layer_types.h +++ b/source/blender/makesdna/DNA_layer_types.h @@ -74,6 +74,7 @@ typedef struct SceneLayer { short flag; short pad[2]; ListBase object_bases; /* ObjectBase */ + struct SceneStats *stats; /* default allocated now */ struct Base *basact; ListBase layer_collections; /* LayerCollection */ struct IDProperty *properties; /* overrides */ |