summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-25 17:06:52 +0200
committerGitHub <noreply@github.com>2021-09-25 17:06:52 +0200
commitff2f1f54a9de0cc7351cb4810dcdc506ec173338 (patch)
treeecc7fdc3103d44e115d7cbe7da86fefbbeddfb4b
parent9013771b53cdbc6451f2645f3618ad59d90a2fb1 (diff)
parent1b55d72c68030c62d1dffe47cf4a53ccf40c7b50 (diff)
Merge pull request #53056 from LATRio/53004
-rw-r--r--scene/3d/gpu_particles_3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/gpu_particles_3d.cpp b/scene/3d/gpu_particles_3d.cpp
index baf28ae102..32a62d8c7e 100644
--- a/scene/3d/gpu_particles_3d.cpp
+++ b/scene/3d/gpu_particles_3d.cpp
@@ -469,7 +469,7 @@ void GPUParticles3D::_skinning_changed() {
if (draw_pass.is_valid() && draw_pass->get_builtin_bind_pose_count() > 0) {
xforms.resize(draw_pass->get_builtin_bind_pose_count());
for (int j = 0; j < draw_pass->get_builtin_bind_pose_count(); j++) {
- xforms.write[i] = draw_pass->get_builtin_bind_pose(j);
+ xforms.write[j] = draw_pass->get_builtin_bind_pose(j);
}
break;
}