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-09-27 16:15:10 +0300
committerJacques Lucke <mail@jlucke.com>2019-09-27 16:15:10 +0300
commit254b69417b7fa226f38c4f1b282b1d206b11de88 (patch)
treed57d09b744d3ed9f23c5411561897993912c23fc /source/blender/simulations/bparticles/forces.cpp
parent0102c06cb2b1ddb795c553252e869ca3a13788db (diff)
remove refcounter from Function class
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 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;
}