diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-21 16:48:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-21 16:48:29 +0100 |
commit | a77c862b18c283e2795a7bdf665b2d9cc9c3b4d2 (patch) | |
tree | 29701b02651ef860c1c610ec9145c799767d93b6 /scene/3d/physics_body.cpp | |
parent | 0447d6fc8edfd636fa6c859d32e76ec8a760f42e (diff) | |
parent | 3c0059650da3f1feb3c95364d571fe706826dec6 (diff) |
Merge pull request #36400 from reduz/variant-string-name
Added StringName as a variant type.
Diffstat (limited to 'scene/3d/physics_body.cpp')
-rw-r--r-- | scene/3d/physics_body.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/physics_body.cpp b/scene/3d/physics_body.cpp index 7c7b0d49ad..6ffa94eed5 100644 --- a/scene/3d/physics_body.cpp +++ b/scene/3d/physics_body.cpp @@ -2054,10 +2054,10 @@ void PhysicalBone::_get_property_list(List<PropertyInfo> *p_list) const { names += parent->get_bone_name(i); } - p_list->push_back(PropertyInfo(Variant::STRING, "bone_name", PROPERTY_HINT_ENUM, names)); + p_list->push_back(PropertyInfo(Variant::STRING_NAME, "bone_name", PROPERTY_HINT_ENUM, names)); } else { - p_list->push_back(PropertyInfo(Variant::STRING, "bone_name")); + p_list->push_back(PropertyInfo(Variant::STRING_NAME, "bone_name")); } if (joint_data) { |