[Bf-blender-cvs] [157f0aedcb1] functions: remove unused code
Jacques Lucke
noreply at git.blender.org
Wed Jul 10 17:18:15 CEST 2019
Commit: 157f0aedcb139a960dd14fadca00c9467e566c69
Author: Jacques Lucke
Date: Wed Jul 10 16:23:16 2019 +0200
Branches: functions
https://developer.blender.org/rB157f0aedcb139a960dd14fadca00c9467e566c69
remove unused code
===================================================================
M source/blender/simulations/bparticles/simulate.cpp
===================================================================
diff --git a/source/blender/simulations/bparticles/simulate.cpp b/source/blender/simulations/bparticles/simulate.cpp
index 946e4e5539e..074a356fdd2 100644
--- a/source/blender/simulations/bparticles/simulate.cpp
+++ b/source/blender/simulations/bparticles/simulate.cpp
@@ -32,7 +32,6 @@ BLI_NOINLINE static void find_next_event_per_particle(
EventStorage &r_event_storage,
ArrayRef<int> r_next_event_indices,
ArrayRef<float> r_time_factors_to_next_event,
- VectorAdaptor<uint> &r_indices_with_event,
VectorAdaptor<uint> &r_particle_indices_with_event)
{
for (uint pindex : particles.indices()) {
@@ -69,7 +68,6 @@ BLI_NOINLINE static void find_next_event_per_particle(
for (uint index : particles.range()) {
uint pindex = particles.get_particle_index(index);
if (r_next_event_indices[pindex] != -1) {
- r_indices_with_event.append(index);
r_particle_indices_with_event.append(pindex);
}
}
@@ -214,7 +212,6 @@ BLI_NOINLINE static void simulate_to_next_event(ArrayAllocator &array_allocator,
ArrayAllocator::Array<int> next_event_indices(array_allocator);
ArrayAllocator::Array<float> time_factors_to_next_event(array_allocator);
- ArrayAllocator::Vector<uint> indices_with_event(array_allocator);
ArrayAllocator::Vector<uint> particle_indices_with_event(array_allocator);
uint max_event_storage_size = std::max(get_max_event_storage_size(events), 1u);
@@ -229,7 +226,6 @@ BLI_NOINLINE static void simulate_to_next_event(ArrayAllocator &array_allocator,
event_storage,
next_event_indices,
time_factors_to_next_event,
- indices_with_event,
particle_indices_with_event);
forward_particles_to_next_event_or_end(particles, attribute_offsets, time_factors_to_next_event);
More information about the Bf-blender-cvs
mailing list