Modifying GetAssetPath to support more than just shaders (added jasset)

This commit is contained in:
Patedam committed 2026-09-15 19:31:34 -04:00
1 parent 2bd0cf39f1
commit c70cce463b
7 files changed
+87 -46

No files matched your search

+1 -1
View File
@@ -236,7 +236,7 @@ void RenderWorldEditorUI(World& world)
static char worldFilePath[256] = "../world.bin";
ImGui::InputText("World File", worldFilePath, sizeof(worldFilePath));
String path = GetAssetPath(temp.Arena, WrapString(worldFilePath));
String path = GetAssetPath(temp.Arena, AssetType::JAsset, ConstString(worldFilePath));
if (ImGui::Button("Save World"))
{