Fix asset paths lookup in build

This commit is contained in:
Wojtek Figat
2021-05-14 10:33:08 +02:00
parent c95e5b0611
commit fdf6306060
4 changed files with 21 additions and 12 deletions

View File

@@ -450,7 +450,7 @@ const String& BinaryAsset::GetPath() const
return Storage ? Storage->GetPath() : String::Empty;
#else
// In build all assets are packed into packages so use ID for original path lookup
return Content::GetRegistry()->GetAssetPath(_id);
return Content::GetRegistry()->GetEditorAssetPath(_id);
#endif
}