Merge branch 'master' into issue_2195_draco
commit
426c1a340f
|
@ -529,6 +529,7 @@ void ColladaParser::ReadAnimation(XmlNode &node, Collada::Animation *pParent) {
|
|||
// have it read into a channel
|
||||
ChannelMap::iterator newChannel = channels.insert(std::make_pair(id, AnimationChannel())).first;
|
||||
ReadAnimationSampler(currentNode, newChannel->second);
|
||||
}
|
||||
} else if (currentName == "channel") {
|
||||
std::string source_name, target;
|
||||
XmlParser::getStdStrAttribute(currentNode, "source", source_name);
|
||||
|
@ -542,7 +543,6 @@ void ColladaParser::ReadAnimation(XmlNode &node, Collada::Animation *pParent) {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// it turned out to have channels - add them
|
||||
if (!channels.empty()) {
|
||||
|
|
Loading…
Reference in New Issue