From f65fde73dab73f9ba3c9f856785db251134ef1cc Mon Sep 17 00:00:00 2001 From: Andrea Catania Date: Wed, 10 Apr 2019 07:50:09 +0200 Subject: [PATCH] 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 --- scene/animation/skeleton_ik.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/animation/skeleton_ik.cpp b/scene/animation/skeleton_ik.cpp index 88fb2d5bfc0..4da3e6ee289 100644 --- a/scene/animation/skeleton_ik.cpp +++ b/scene/animation/skeleton_ik.cpp @@ -335,7 +335,7 @@ void SkeletonIK::_validate_property(PropertyInfo &property) const { if (skeleton) { - String names; + String names("--,"); for (int i = 0; i < skeleton->get_bone_count(); i++) { if (i > 0) names += ",";