1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Added No bone set state in the IK

The problem is that initially the root bone was not set, and you didn't know that because the "no set" state was missing. Now I've added it. https://github.com/godotengine/godot-docs/issues/2333
This commit is contained in:
Andrea Catania
2019-04-10 07:50:09 +02:00
committed by GitHub
parent 5772f60f96
commit f65fde73da

View File

@@ -335,7 +335,7 @@ void SkeletonIK::_validate_property(PropertyInfo &property) const {
if (skeleton) { if (skeleton) {
String names; String names("--,");
for (int i = 0; i < skeleton->get_bone_count(); i++) { for (int i = 0; i < skeleton->get_bone_count(); i++) {
if (i > 0) if (i > 0)
names += ","; names += ",";