Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <mail@jlucke.com>2019-12-20 19:09:23 +0300
committerJacques Lucke <mail@jlucke.com>2019-12-20 19:09:23 +0300
commitbed1a7cdb73984ba7c04036ccc98aed1b5f2843d (patch)
treeaa2cbe74f37dc0d1bac036d7354da5ab0cfaa8a3 /source/blender/simulations/bparticles/forces.cpp
parent6600c532c468f3040e4e13a4524436323273e059 (diff)
change some pointers to references
Diffstat (limited to 'source/blender/simulations/bparticles/forces.cpp')
-rw-r--r--source/blender/simulations/bparticles/forces.cpp2
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()) {