Skip to content

Commit 5c3081d

Browse files
committedJun 10, 2022
SoftBody: Fix attachments property names after #61180
Fixes #61581.
1 parent e297ddf commit 5c3081d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎scene/3d/soft_dynamic_body_3d.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ void SoftDynamicBody3D::_get_property_list(List<PropertyInfo> *p_list) const {
165165
p_list->push_back(PropertyInfo(Variant::PACKED_INT32_ARRAY, PNAME("pinned_points")));
166166

167167
for (int i = 0; i < pinned_points_indices_size; ++i) {
168-
const String prefix = vformat("%s/%d", PNAME("attachments"), i);
168+
const String prefix = vformat("%s/%d/", PNAME("attachments"), i);
169169
p_list->push_back(PropertyInfo(Variant::INT, prefix + PNAME("point_index")));
170170
p_list->push_back(PropertyInfo(Variant::NODE_PATH, prefix + PNAME("spatial_attachment_path")));
171171
p_list->push_back(PropertyInfo(Variant::VECTOR3, prefix + PNAME("offset")));

0 commit comments

Comments
 (0)
Please sign in to comment.