[Bf-blender-cvs] [4fb660d036a] functions: rename run_actions to execute_events
Jacques Lucke
noreply at git.blender.org
Sun Jun 30 16:01:20 CEST 2019
Commit: 4fb660d036ad452b91617ad1f59f8fd35ac82548
Author: Jacques Lucke
Date: Sun Jun 30 13:55:20 2019 +0200
Branches: functions
https://developer.blender.org/rB4fb660d036ad452b91617ad1f59f8fd35ac82548
rename run_actions to execute_events
===================================================================
M source/blender/simulations/bparticles/simulate.cpp
===================================================================
diff --git a/source/blender/simulations/bparticles/simulate.cpp b/source/blender/simulations/bparticles/simulate.cpp
index 371644b0ea8..2f2fd8c7a3e 100644
--- a/source/blender/simulations/bparticles/simulate.cpp
+++ b/source/blender/simulations/bparticles/simulate.cpp
@@ -173,11 +173,11 @@ BLI_NOINLINE static void find_unfinished_particles(
}
}
-BLI_NOINLINE static void run_actions(BlockAllocator &block_allocator,
- ParticlesBlock &block,
- ArrayRef<SmallVector<uint>> particle_indices_per_event,
- ArrayRef<SmallVector<float>> current_time_per_particle,
- ArrayRef<Event *> events)
+BLI_NOINLINE static void execute_events(BlockAllocator &block_allocator,
+ ParticlesBlock &block,
+ ArrayRef<SmallVector<uint>> particle_indices_per_event,
+ ArrayRef<SmallVector<float>> current_time_per_particle,
+ ArrayRef<Event *> events)
{
BLI_assert(events.size() == particle_indices_per_event.size());
BLI_assert(events.size() == current_time_per_particle.size());
@@ -256,7 +256,7 @@ BLI_NOINLINE static void simulate_to_next_event(FixedArrayAllocator &array_alloc
time_factors_to_next_event,
current_time_per_particle);
- run_actions(
+ execute_events(
block_allocator, particles.block(), particles_per_event, current_time_per_particle, events);
find_unfinished_particles(indices_with_event,
More information about the Bf-blender-cvs
mailing list