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 f8d350b commit 23962b2
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ bool ERS_CLASS_AssetIndexIOM::LoadAssetIndex(ERS_STRUCT_IOData* Data) {
Logger_->Log("Populating Asset Index Metadata", 3);
for (YAML::const_iterator it=AssetIndexMetadata.begin(); it!=AssetIndexMetadata.end(); ++it) {

Logger_->Log(std::string(std::string("Loading Metadata For Asset With ID: ") + std::to_string(it->first.as<long>())).c_str(), 3);
Logger_->Log(std::string(std::string("Loading Metadata For Asset With ID ") + std::to_string(it->first.as<long>())).c_str(), 3);

// Get Asset Metadata Node
long Index = it->first.as<long>();
Expand All @@ -61,7 +61,9 @@ bool ERS_CLASS_AssetIndexIOM::LoadAssetIndex(ERS_STRUCT_IOData* Data) {
AssetModificationDate_[Index] = {AssetMetadata["AssetModificationDate"].as<std::string>()};

if (AssetMetadata["AssetFileName"]) {

AssetModificationDate_[Index] = {AssetMetadata["AssetFileName"].as<std::string>()};
} else {
Logger_->Log(std::string("Failed To Find Asset Filename Metadata For Asset With ID ") + std::to_string(it->first.as<long>()), 7);
}


Expand Down

0 comments on commit 23962b2

Please sign in to comment.