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:
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
index 5d3dc1c859e..86a365a4901 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -2660,24 +2660,6 @@ void DepsgraphRelationBuilder::build_simulation(Simulation *simulation)
OperationKey nodetree_key(
&simulation->nodetree->id, NodeType::PARAMETERS, OperationCode::PARAMETERS_EXIT);
add_relation(nodetree_key, simulation_eval_key, "NodeTree -> Simulation", 0);
-
- LISTBASE_FOREACH (SimulationDependency *, dependency, &simulation->dependencies) {
- if (dependency->id == nullptr) {
- continue;
- }
- build_id(dependency->id);
- if (GS(dependency->id->name) == ID_OB) {
- Object *object = (Object *)dependency->id;
- if (dependency->flag & SIM_DEPENDS_ON_TRANSFORM) {
- ComponentKey object_transform_key(&object->id, NodeType::TRANSFORM);
- add_relation(object_transform_key, simulation_eval_key, "Object Transform -> Simulation");
- }
- if (dependency->flag & SIM_DEPENDS_ON_GEOMETRY) {
- ComponentKey object_geometry_key(&object->id, NodeType::GEOMETRY);
- add_relation(object_geometry_key, simulation_eval_key, "Object Geometry -> Simulation");
- }
- }
- }
}
void DepsgraphRelationBuilder::build_scene_sequencer(Scene *scene)