diff options
author | Jacques Lucke <mail@jlucke.com> | 2019-12-20 19:09:23 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-12-20 19:09:23 +0300 |
commit | bed1a7cdb73984ba7c04036ccc98aed1b5f2843d (patch) | |
tree | aa2cbe74f37dc0d1bac036d7354da5ab0cfaa8a3 /source/blender/simulations/bparticles/forces.cpp | |
parent | 6600c532c468f3040e4e13a4524436323273e059 (diff) |
change some pointers to references
Diffstat (limited to 'source/blender/simulations/bparticles/forces.cpp')
-rw-r--r-- | source/blender/simulations/bparticles/forces.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/simulations/bparticles/forces.cpp b/source/blender/simulations/bparticles/forces.cpp index f340bce8245..0bc6e0f59ca 100644 --- a/source/blender/simulations/bparticles/forces.cpp +++ b/source/blender/simulations/bparticles/forces.cpp @@ -12,7 +12,7 @@ void CustomForce::add_force(ForceInterface &interface) { MutableArrayRef<float3> dst = interface.combined_destination(); - ParticleFunctionEvaluator inputs{*m_inputs_fn, interface.pindices(), interface.attributes()}; + ParticleFunctionEvaluator inputs{m_inputs_fn, interface.pindices(), interface.attributes()}; inputs.compute(); for (uint pindex : interface.pindices()) { |