Skip to content

Commit

Permalink
BoneAttachment3D: Remove duplicate override_pose
Browse files Browse the repository at this point in the history
Also removes unused override_mode property since we removed the local pose override feature in godotengine#71137.

Fixes godotengine#72407
  • Loading branch information
lyuma committed Jan 31, 2023
1 parent 5bcf016 commit 0020d2a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scene/3d/bone_attachment_3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit 0020d2a

Please sign in to comment.