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:
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;
}