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-07-29 18:03:32 +0300
committerJacques Lucke <mail@jlucke.com>2019-07-29 18:03:32 +0300
commitf78e2837ffe06b36fd689f8ef29eacc92e986f5b (patch)
tree5395c2b363587009fc36f80cb094cfe36029c5e5 /source/blender/simulations/bparticles/forces.cpp
parentdeecc8c6f8dfe8e2598a643100e62bce61256f68 (diff)
change get_T to get<T> when accessing attributes
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 d5b8a9d3c9a..8c2a7db7feb 100644
--- a/source/blender/simulations/bparticles/forces.cpp
+++ b/source/blender/simulations/bparticles/forces.cpp
@@ -26,7 +26,7 @@ void TurbulenceForce::add_force(ForceInterface &interface)
ParticlesBlock &block = interface.block();
ArrayRef<float3> destination = interface.combined_destination();
- auto positions = block.attributes().get_float3("Position");
+ auto positions = block.attributes().get<float3>("Position");
auto inputs = m_compute_inputs->compute(interface);