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:
Diffstat (limited to 'source/blender/simulations/bparticles/particles_state.cpp')
-rw-r--r--source/blender/simulations/bparticles/particles_state.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/simulations/bparticles/particles_state.cpp b/source/blender/simulations/bparticles/particles_state.cpp
new file mode 100644
index 00000000000..284cf251db2
--- /dev/null
+++ b/source/blender/simulations/bparticles/particles_state.cpp
@@ -0,0 +1,10 @@
+#include "particles_state.hpp"
+
+namespace BParticles {
+
+ParticlesState::~ParticlesState()
+{
+ m_container_by_id.foreach_value([](ParticleSet *particles) { delete particles; });
+}
+
+} // namespace BParticles