Fix error when loading surface from not yet loaded asset

This commit is contained in:
Wojtek Figat
2022-05-06 18:30:49 +02:00
parent 4cedd0f30c
commit 78d6fe6b50
9 changed files with 25 additions and 6 deletions

View File

@@ -154,7 +154,7 @@ public:
/// </summary>
/// <param name="timeoutInMilliseconds">Custom timeout value in milliseconds.</param>
/// <returns>True if cannot load that asset (failed or has been cancelled), otherwise false.</returns>
API_FUNCTION() bool WaitForLoaded(double timeoutInMilliseconds = 30000.0);
API_FUNCTION() bool WaitForLoaded(double timeoutInMilliseconds = 30000.0) const;
/// <summary>
/// Initializes asset data as virtual asset.