[Bf-blender-cvs] [3915ca912ae] functions: remove unused code
Jacques Lucke
noreply at git.blender.org
Fri Jul 12 14:50:42 CEST 2019
Commit: 3915ca912ae336cfbddc8748a71580c74207b4b5
Author: Jacques Lucke
Date: Fri Jul 12 13:58:11 2019 +0200
Branches: functions
https://developer.blender.org/rB3915ca912ae336cfbddc8748a71580c74207b4b5
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 de4b75e4f29..e7ef0dc5975 100644
--- a/source/blender/simulations/bparticles/simulate.cpp
+++ b/source/blender/simulations/bparticles/simulate.cpp
@@ -194,9 +194,6 @@ BLI_NOINLINE static void simulate_to_next_event(ArrayAllocator &array_allocator,
ArrayRef<Event *> events,
VectorAdaptor<uint> &r_unfinished_pindices)
{
- uint amount = particles.size();
- BLI_assert(array_allocator.array_size() >= amount);
-
ArrayAllocator::Array<int> next_event_indices(array_allocator);
ArrayAllocator::Array<float> time_factors_to_next_event(array_allocator);
ArrayAllocator::Vector<uint> pindices_with_event(array_allocator);
More information about the Bf-blender-cvs
mailing list