Skip to content

Commit

Permalink
Add Vert/Tex Count Displays (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed May 10, 2022
1 parent ee07c61 commit 8d265b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ long ERS_CLASS_ModelImporter::ImportModel(std::string AssetPath) {

// Get Model Path
std::string ModelDirectory = AssetPath.substr(0, std::string(AssetPath).find_last_of("/"));
std::string ModelFileName = AssetPath.substr(AssetPath.find_last_of("/"), AssetPath.size()-1);
std::string ModelFileName = AssetPath.substr(AssetPath.find_last_of("/") + 1, AssetPath.size()-1);

// Read File
Assimp::Importer Importer;
Expand Down

0 comments on commit 8d265b4

Please sign in to comment.