diff options
author | Jacques Lucke <mail@jlucke.com> | 2019-09-27 16:15:10 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-09-27 16:15:10 +0300 |
commit | 254b69417b7fa226f38c4f1b282b1d206b11de88 (patch) | |
tree | d57d09b744d3ed9f23c5411561897993912c23fc /source/blender/simulations/bparticles/forces.cpp | |
parent | 0102c06cb2b1ddb795c553252e869ca3a13788db (diff) |
remove refcounter from Function class
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 973a2e12740..9533c7de5e7 100644 --- a/source/blender/simulations/bparticles/forces.cpp +++ b/source/blender/simulations/bparticles/forces.cpp @@ -15,7 +15,7 @@ void GravityForce::add_force(ForceInterface &interface) auto inputs = m_inputs_fn->compute(interface); for (uint pindex : interface.pindices()) { - float3 acceleration = inputs->get<float3>("Direction", 0, pindex); + float3 acceleration = inputs->get<float3>("Acceleration", 0, pindex); float weight = inputs->get<float>("Weight", 1, pindex); destination[pindex] += acceleration * weight; } |