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:
authorJacques Lucke <jacques@blender.org>2020-07-23 13:09:28 +0300
committerJacques Lucke <jacques@blender.org>2020-07-23 13:09:36 +0300
commit634585aa6875f9e6e8a2e43e283f9d530764a094 (patch)
tree837a72316887305f8e0b14c69bb1469dea4b1c7c /source/blender/simulation/intern/simulation_collect_influences.hh
parent65968911217380a7a594f8684150b5fa01866d6a (diff)
Simulation: add depsgraph relations for ids referenced by node tree
I'll really have to refactor `ntreeUpdateTree` soon to avoid scanning all node trees multiple times.
Diffstat (limited to 'source/blender/simulation/intern/simulation_collect_influences.hh')
-rw-r--r--source/blender/simulation/intern/simulation_collect_influences.hh21
1 files changed, 1 insertions, 20 deletions
diff --git a/source/blender/simulation/intern/simulation_collect_influences.hh b/source/blender/simulation/intern/simulation_collect_influences.hh
index 13744c3bc1a..42cbea6977e 100644
--- a/source/blender/simulation/intern/simulation_collect_influences.hh
+++ b/source/blender/simulation/intern/simulation_collect_influences.hh
@@ -58,29 +58,10 @@ class RequiredStates {
}
};
-class UsedPersistentData {
- private:
- VectorSet<ID *> used_ids_;
-
- public:
- void add(ID *id)
- {
- BLI_assert(id != nullptr);
- BLI_assert((id->tag & LIB_TAG_NO_MAIN) == 0);
- used_ids_.add(id);
- }
-
- const VectorSet<ID *> &used_ids() const
- {
- return used_ids_;
- }
-};
-
void collect_simulation_influences(Simulation &simulation,
ResourceCollector &resources,
SimulationInfluences &r_influences,
- RequiredStates &r_required_states,
- UsedPersistentData &r_used_persistent_data);
+ RequiredStates &r_required_states);
} // namespace blender::sim