From 7cd2c1fd2e7a4c82dd5569cf0ee0155c3cca9101 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Sat, 1 Aug 2020 21:56:05 +0200 Subject: Particles: support custom particle events in solver Previously, there were only particle-birth and time-step events. Now the solver can handle custom events. On the user level this does not change anything yet. This feature of the solver will be used by an upcoming Age Reached Event node and possibly others. When this node exists, I can finally remove the hardcoded maximum particle age. --- source/blender/simulation/intern/simulation_solver_influences.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/simulation/intern/simulation_solver_influences.cc') diff --git a/source/blender/simulation/intern/simulation_solver_influences.cc b/source/blender/simulation/intern/simulation_solver_influences.cc index 75c2c820651..3485d7c7bfb 100644 --- a/source/blender/simulation/intern/simulation_solver_influences.cc +++ b/source/blender/simulation/intern/simulation_solver_influences.cc @@ -32,6 +32,10 @@ ParticleAction::~ParticleAction() { } +ParticleEvent::~ParticleEvent() +{ +} + DependencyAnimations::~DependencyAnimations() { } -- cgit v1.2.3