diff options
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph.h')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.h b/source/blender/depsgraph/intern/depsgraph.h index e668facd645..035abcf0ba1 100644 --- a/source/blender/depsgraph/intern/depsgraph.h +++ b/source/blender/depsgraph/intern/depsgraph.h @@ -45,6 +45,7 @@ struct GHash; struct GSet; struct PointerRNA; struct PropertyRNA; +struct Scene; namespace DEG { @@ -172,12 +173,9 @@ struct Depsgraph { */ SpinLock lock; - /* Layers Visibility .................. */ - - /* Visible layers bitfield, used for skipping invisible objects updates. */ - unsigned int layers; - // XXX: additional stuff like eval contexts, mempools for allocating nodes from, etc. + + Scene *scene; /* XXX: We really shouldn't do that, but it's required for shader preview */ }; } // namespace DEG |