Save a hash string to a .hash file alongside the OBJ. */
| 50 | |
| 51 | /** Save a hash string to a .hash file alongside the OBJ. */ |
| 52 | inline void SaveMeshHash(const FString& ObjFilePath, const FString& Hash) |
| 53 | { |
| 54 | FString HashPath = FPaths::ChangeExtension(ObjFilePath, TEXT("hash")); |
| 55 | FFileHelper::SaveStringToFile(Hash, *HashPath); |
| 56 | } |
| 57 | |
| 58 | /** Load a previously saved hash. Returns empty string if not found. */ |
| 59 | inline FString LoadMeshHash(const FString& ObjFilePath) |
no outgoing calls