Skip to content

Commit

Permalink
Set pin count to be always one.
Browse files Browse the repository at this point in the history
  • Loading branch information
fire committed Dec 9, 2024
1 parent 30517ca commit 0b9a715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/many_bone_ik/src/many_bone_ik_3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void ManyBoneIK3D::_get_property_list(List<PropertyInfo> *p_list) const {
const uint32_t pin_usage = PROPERTY_USAGE_DEFAULT;
p_list->push_back(
PropertyInfo(Variant::INT, "pin_count",
PROPERTY_HINT_RANGE, "0,65536,or_greater", pin_usage | PROPERTY_USAGE_ARRAY | PROPERTY_USAGE_READ_ONLY,
PROPERTY_HINT_RANGE, "1,1", pin_usage | PROPERTY_USAGE_ARRAY | PROPERTY_USAGE_READ_ONLY,
"Pins,pins/"));
for (int pin_i = 0; pin_i < get_pin_count(); pin_i++) {
PropertyInfo effector_name;
Expand Down

0 comments on commit 0b9a715

Please sign in to comment.