summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-06-10 14:15:44 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-06-10 14:16:14 +0200
commit5c3081dae2f45e7ccaf633e406ec2ee729183cb5 (patch)
tree2bbabd18d066b869716f7c5336ed701179790166 /scene/3d
parente297ddf656baee16c4f7c195eb58091632b90390 (diff)
SoftBody: Fix attachments property names after #61180
Fixes #61581.
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/soft_dynamic_body_3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/soft_dynamic_body_3d.cpp b/scene/3d/soft_dynamic_body_3d.cpp
index 5816c0650f..d68e7fd527 100644
--- a/scene/3d/soft_dynamic_body_3d.cpp
+++ b/scene/3d/soft_dynamic_body_3d.cpp
@@ -165,7 +165,7 @@ void SoftDynamicBody3D::_get_property_list(List<PropertyInfo> *p_list) const {
p_list->push_back(PropertyInfo(Variant::PACKED_INT32_ARRAY, PNAME("pinned_points")));
for (int i = 0; i < pinned_points_indices_size; ++i) {
- const String prefix = vformat("%s/%d", PNAME("attachments"), i);
+ const String prefix = vformat("%s/%d/", PNAME("attachments"), i);
p_list->push_back(PropertyInfo(Variant::INT, prefix + PNAME("point_index")));
p_list->push_back(PropertyInfo(Variant::NODE_PATH, prefix + PNAME("spatial_attachment_path")));
p_list->push_back(PropertyInfo(Variant::VECTOR3, prefix + PNAME("offset")));