- fbx: fix small typo with big effect.

pull/14/head
Alexander Gessler 2012-07-27 17:57:19 +02:00
parent bead86a830
commit 44259f0c23
1 changed files with 3 additions and 2 deletions

View File

@ -1329,6 +1329,7 @@ private:
// across multiple calls to FixNodeName(). // across multiple calls to FixNodeName().
if(name.substr(0,7) == "Model::") { if(name.substr(0,7) == "Model::") {
std::string temp = name.substr(7); std::string temp = name.substr(7);
return temp;
const NodeNameMap::const_iterator it = node_names.find(temp); const NodeNameMap::const_iterator it = node_names.find(temp);
if (it != node_names.end()) { if (it != node_names.end()) {
@ -1416,8 +1417,8 @@ private:
kv.first, kv.first,
kv.second, kv.second,
layer_map, layer_map,
min_time, max_time,
max_time); min_time);
} }
} }
catch(std::exception&) { catch(std::exception&) {