summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-31 13:19:43 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-31 13:19:43 +0100
commit7665497261e908052a74fc839f348b22f724d12c (patch)
tree0640beb749973d5c39475d0f9e0775a6b4c3353f /scene
parent62e939fcf722501f4c07cc233090ebe63263e8db (diff)
parent0020d2aeb6d4cc8be3f9a51c725ec51967cd3a0e (diff)
Merge pull request #72449 from lyuma/override_pose_cleanup
BoneAttachment3D: Remove duplicate override_pose
Diffstat (limited to 'scene')
-rw-r--r--scene/3d/bone_attachment_3d.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/scene/3d/bone_attachment_3d.cpp b/scene/3d/bone_attachment_3d.cpp
index fe7f6837f0..ba5ff02862 100644
--- a/scene/3d/bone_attachment_3d.cpp
+++ b/scene/3d/bone_attachment_3d.cpp
@@ -81,11 +81,6 @@ bool BoneAttachment3D::_get(const StringName &p_path, Variant &r_ret) const {
}
void BoneAttachment3D::_get_property_list(List<PropertyInfo> *p_list) const {
- p_list->push_back(PropertyInfo(Variant::BOOL, "override_pose", PROPERTY_HINT_NONE, ""));
- if (override_pose) {
- p_list->push_back(PropertyInfo(Variant::INT, "override_mode", PROPERTY_HINT_ENUM, "Global Pose Override,Local Pose Override,Custom Pose"));
- }
-
p_list->push_back(PropertyInfo(Variant::BOOL, "use_external_skeleton", PROPERTY_HINT_NONE, ""));
if (use_external_skeleton) {
p_list->push_back(PropertyInfo(Variant::NODE_PATH, "external_skeleton", PROPERTY_HINT_NODE_PATH_VALID_TYPES, "Skeleton3D"));