Fix build

master
Jeremy Hu 2020-02-09 21:50:02 +09:30
parent 287d3f4d2e
commit 1c3ec0c05a
1 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ void RigGenerator::buildBoneNodeChain()
std::swap(left, right);
for (const auto &it: right)
middle.insert(it);
segments.push_back({nodeIndex, left, false});
segments.push_back(std::make_tuple(nodeIndex, left, false));
}
for (const auto &it: segments) {
const auto &nodeIndex = std::get<0>(it);
@ -247,7 +247,7 @@ void RigGenerator::buildBoneNodeChain()
}
middle.erase(middleStartNodeIndex);
if (middleStartNodeIndex != m_outcome->bodyNodes.size())
segments.push_back({middleStartNodeIndex, middle, true});
segments.push_back(std::make_tuple(middleStartNodeIndex, middle, true));
for (const auto &it: segments) {
const auto &fromNodeIndex = std::get<0>(it);
const auto &left = std::get<1>(it);