SoftBody: Fix attachments property names after #61180
Fixes #61581.
(cherry picked from commit 5c3081dae2
)
This commit is contained in:
parent
04c83c0e66
commit
0b048b6d73
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ void SoftBody::_get_property_list(List<PropertyInfo> *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")));
|
||||
|
|
Loading…
Reference in a new issue