Skip to content

Commit

Permalink
Merge pull request #72449 from lyuma/override_pose_cleanup
Browse files Browse the repository at this point in the history
BoneAttachment3D: Remove duplicate override_pose
  • Loading branch information
akien-mga committed Jan 31, 2023
2 parents 62e939f + 0020d2a commit 7665497
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 7665497

Please sign in to comment.