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-22 20:29:38 +0300
committerJacques Lucke <jacques@blender.org>2020-07-22 20:29:38 +0300
commita51048a5d33551ae305a0951e2ee1a3879317ae4 (patch)
tree4a28b35e345c41cc32d34abdf9c7c856b2653be3 /source/blender/simulation
parent4d6ac72264b05d367e6837669d224be337500af5 (diff)
Simulation: add todo comment
Diffstat (limited to 'source/blender/simulation')
-rw-r--r--source/blender/simulation/intern/simulation_update.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/simulation/intern/simulation_update.cc b/source/blender/simulation/intern/simulation_update.cc
index 117a98d2285..9258d9cac07 100644
--- a/source/blender/simulation/intern/simulation_update.cc
+++ b/source/blender/simulation/intern/simulation_update.cc
@@ -90,6 +90,8 @@ static void update_simulation_state_list(Simulation *simulation,
add_missing_states(simulation, required_states);
}
+/* TODO: It might be better to do this as part of ntreeUpdateTree, so that the information
+ * about referenced data blocks is available when building the depsgraph. */
static void update_persistent_data_handles(Simulation &simulation_orig,
const UsedPersistentData &used_persistent_data)
{