[Bf-blender-cvs] [333d82ebc01] functions: remove unused variable

Jacques Lucke noreply at git.blender.org
Wed Jun 26 18:19:12 CEST 2019


Commit: 333d82ebc0114e1d723c196a1eb962f4ac8ed850
Author: Jacques Lucke
Date:   Wed Jun 26 12:52:08 2019 +0200
Branches: functions
https://developer.blender.org/rB333d82ebc0114e1d723c196a1eb962f4ac8ed850

remove unused variable

===================================================================

M	source/blender/simulations/bparticles/events.cpp

===================================================================

diff --git a/source/blender/simulations/bparticles/events.cpp b/source/blender/simulations/bparticles/events.cpp
index a3149d70d7f..de9084c6ee3 100644
--- a/source/blender/simulations/bparticles/events.cpp
+++ b/source/blender/simulations/bparticles/events.cpp
@@ -23,7 +23,6 @@ class AgeReachedEvent : public Event {
 
     for (uint i : particles.range()) {
       uint pindex = particles.get_particle_index(i);
-      TimeSpan time_span = interface.time_span(i);
       float duration = interface.durations()[i];
       float birth_time = birth_times[pindex];
       float age = end_time - birth_time;



More information about the Bf-blender-cvs mailing list