[Bf-blender-cvs] [a51048a5d33] master: Simulation: add todo comment
Jacques Lucke
noreply at git.blender.org
Wed Jul 22 19:29:46 CEST 2020
Commit: a51048a5d33551ae305a0951e2ee1a3879317ae4
Author: Jacques Lucke
Date: Wed Jul 22 19:29:38 2020 +0200
Branches: master
https://developer.blender.org/rBa51048a5d33551ae305a0951e2ee1a3879317ae4
Simulation: add todo comment
===================================================================
M source/blender/simulation/intern/simulation_update.cc
===================================================================
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)
{
More information about the Bf-blender-cvs
mailing list