From bed1a7cdb73984ba7c04036ccc98aed1b5f2843d Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Fri, 20 Dec 2019 17:09:23 +0100 Subject: change some pointers to references --- source/blender/simulations/bparticles/forces.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/simulations/bparticles/forces.cpp') 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 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()) { -- cgit v1.2.3