From 0b048b6d73dba43a3b4eb58d8a059868426dffcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 10 Jun 2022 14:15:44 +0200 Subject: [PATCH] SoftBody: Fix attachments property names after #61180 Fixes #61581. (cherry picked from commit 5c3081dae2f45e7ccaf633e406ec2ee729183cb5) --- scene/3d/soft_body.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/3d/soft_body.cpp b/scene/3d/soft_body.cpp index c7a68f3f116..944fd315958 100644 --- a/scene/3d/soft_body.cpp +++ b/scene/3d/soft_body.cpp @@ -177,7 +177,7 @@ void SoftBody::_get_property_list(List *p_list) const { p_list->push_back(PropertyInfo(Variant::POOL_INT_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")));