diff --git a/src/posedocument.cpp b/src/posedocument.cpp index f8de88a2..27449175 100644 --- a/src/posedocument.cpp +++ b/src/posedocument.cpp @@ -221,10 +221,10 @@ void PoseDocument::updateBonesFromParameters(std::vector *bones, valueOfKeyInMapOrEmpty(map, "toZ").toFloat() }; bone.tailPosition = toPosition; - for (const auto &child: bone.children) { - auto &childBone = (*bones)[child]; - childBone.headPosition = toPosition; - } + //for (const auto &child: bone.children) { + // auto &childBone = (*bones)[child]; + // childBone.headPosition = toPosition; + //} } } } @@ -613,4 +613,3 @@ void PoseDocument::firstSpinePositionAndLengthFromParameters(const std::map