diff options
author | Jacques Lucke <jacques@blender.org> | 2020-05-25 13:23:03 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-05-25 13:23:55 +0300 |
commit | 87e9557cd109dc9a3d52f07b509a340bba4aaf20 (patch) | |
tree | cc37b521e6ec6d085b5fe9c411361fb4cb8385b5 /source/blender/blenkernel/intern/simulation.cc | |
parent | 60bed34f165b209dbc7225b433ebe9e81aec2d35 (diff) |
Simulations: pass simulation data block to update function
Diffstat (limited to 'source/blender/blenkernel/intern/simulation.cc')
-rw-r--r-- | source/blender/blenkernel/intern/simulation.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/simulation.cc b/source/blender/blenkernel/intern/simulation.cc index 50770125a18..d5ba345928b 100644 --- a/source/blender/blenkernel/intern/simulation.cc +++ b/source/blender/blenkernel/intern/simulation.cc @@ -18,6 +18,8 @@ * \ingroup bke */ +#include <iostream> + #include "MEM_guardedalloc.h" #include "DNA_ID.h" @@ -46,6 +48,7 @@ #include "BLT_translation.h" #include "DEG_depsgraph.h" +#include "DEG_depsgraph_query.h" static void simulation_init_data(ID *id) { @@ -122,6 +125,8 @@ void *BKE_simulation_add(Main *bmain, const char *name) return simulation; } -void BKE_simulation_data_update(Depsgraph *UNUSED(depsgraph), Scene *UNUSED(scene)) +void BKE_simulation_data_update(Depsgraph *UNUSED(depsgraph), + Scene *UNUSED(scene), + Simulation *UNUSED(simulation)) { } |