Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-11-08 19:43:53 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-11-09 12:33:44 +0300
commit887c2e5c0dead416c40fd6a0524a3da579aa24ae (patch)
tree79826bcf1c378dd81f19ee601cb928efed0c5c7c /source/blender/depsgraph/intern/depsgraph_build.cc
parent70e34ac186ebe86422a89fdccf8d20907743e503 (diff)
Depsgraph: Make bmain part of builder state and remove bmain from public API
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_build.cc')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_build.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_build.cc b/source/blender/depsgraph/intern/depsgraph_build.cc
index 47bf5e7ecbb..fb762505ed2 100644
--- a/source/blender/depsgraph/intern/depsgraph_build.cc
+++ b/source/blender/depsgraph/intern/depsgraph_build.cc
@@ -207,15 +207,15 @@ void DEG_graph_build_from_scene(Depsgraph *graph, Main *bmain, Scene *scene)
/* 1) Generate all the nodes in the graph first */
DEG::DepsgraphNodeBuilder node_builder(bmain, deg_graph);
- node_builder.begin_build(bmain);
- node_builder.build_scene(bmain, scene);
+ node_builder.begin_build();
+ node_builder.build_scene(scene);
/* 2) Hook up relationships between operations - to determine evaluation
* order.
*/
- DEG::DepsgraphRelationBuilder relation_builder(deg_graph);
- relation_builder.begin_build(bmain);
- relation_builder.build_scene(bmain, scene);
+ DEG::DepsgraphRelationBuilder relation_builder(bmain, deg_graph);
+ relation_builder.begin_build();
+ relation_builder.build_scene(scene);
/* Detect and solve cycles. */
DEG::deg_graph_detect_cycles(deg_graph);