Merge pull request #53056 from LATRio/53004

This commit is contained in:
Rémi Verschelde 2021-09-25 17:06:52 +02:00 committed by GitHub
commit ff2f1f54a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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