FBX-Importer: remove unused lookup table.

pull/1864/head
Kim Kulling 2018-03-31 17:30:31 +02:00
parent 2a5728b4c3
commit f3cc2f79fc
2 changed files with 2 additions and 7 deletions

View File

@ -2054,8 +2054,7 @@ std::string Converter::FixNodeName( const std::string& name )
}
node_names[ temp ] = true;
const NameNameMap::const_iterator rit = renamed_nodes.find( temp );
return rit == renamed_nodes.end() ? temp : ( *rit ).second;
return temp;
}
const NodeNameMap::const_iterator it = node_names.find( name );
@ -2066,8 +2065,7 @@ std::string Converter::FixNodeName( const std::string& name )
}
node_names[ name ] = false;
const NameNameMap::const_iterator rit = renamed_nodes.find( name );
return rit == renamed_nodes.end() ? name : ( *rit ).second;
return name;
}
void Converter::ConvertAnimationStack( const AnimationStack& st )

View File

@ -428,9 +428,6 @@ private:
typedef std::map<std::string, bool> NodeNameMap;
NodeNameMap node_names;
typedef std::map<std::string, std::string> NameNameMap;
NameNameMap renamed_nodes;
NodeNameCache mNodeNames;
double anim_fps;