diff options
author | Jacques Lucke <jacques@blender.org> | 2020-10-20 13:07:42 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-10-20 13:07:42 +0300 |
commit | 6ced026ae1547ac28c88516a0d061315aeacc913 (patch) | |
tree | 60c61867746df72e8cf87efd47d5d27fbbb27109 /source/blender/depsgraph/intern | |
parent | 63a9f24b55d0b5d84d625bdbb44d498fb1f2ae01 (diff) |
Simulation: remove particle nodes with outdated design
The design for how we approach the "Everything Nodes" project
has changed. We will focus on a different part of the project initially.
While future me will likely refer back to some of the code I remove here,
there is no point in keeping this code around in master currently.
It would just confuse other developers working on the project.
This does not remove the simulation modifier and data block. Those are
just cleaned up, so that the boilerplate code can be reused in the future.
Diffstat (limited to 'source/blender/depsgraph/intern')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_relations.cc | 18 |
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) |