Depsgraph: Remove bmain from graph
It really should not care about bmain.
This commit is contained in:
@@ -75,7 +75,6 @@ void DepsgraphRelationBuilder::build_scene(Main *bmain, Scene *scene)
|
||||
}
|
||||
|
||||
/* XXX store scene to access from DAG_get_scene */
|
||||
m_graph->bmain = bmain;
|
||||
m_graph->scene = scene;
|
||||
|
||||
/* scene objects */
|
||||
|
||||
@@ -166,7 +166,6 @@ struct Depsgraph {
|
||||
SpinLock lock;
|
||||
|
||||
// XXX: additional stuff like eval contexts, mempools for allocating nodes from, etc.
|
||||
Main *bmain; /* XXX: For until depsgraph has proper ownership. */
|
||||
Scene *scene; /* XXX: We really shouldn't do that, but it's required for shader preview. */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user