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 3fa604a commit 36a632f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ long ERS_CLASS_ModelImporter::ImportModel(std::string AssetPath) {

// Copy Model File
std::unique_ptr<ERS_STRUCT_IOData> Data = std::make_unique<ERS_STRUCT_IOData>();
Data->AssetCreationDate =
ReadFile(AssetPath, Data.get());
long ModelID = SystemUtils_->ERS_IOSubsystem_->AllocateAssetID();
SystemUtils_->Logger_->Log(std::string(std::string("Assigning ID '") + std::to_string(ModelID) + std::string("' To Model '") + AssetPath + std::string("'")).c_str(), 4);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,13 @@ class ERS_CLASS_InputOutputSubsystem {
* @param AssetPath
*/
void UpdateAssetPath(std::string AssetPath);


/**
* @brief Get the Current Time and return it in an asset friendly format
*
* @return std::string
*/
std::string GetCurrentTime();

};

0 comments on commit 36a632f

Please sign in to comment.