Modifying GetAssetPath to support more than just shaders (added jasset)
This commit is contained in:
1 parent
2bd0cf39f1
commit
c70cce463b
7 files changed
+87
-46
No files matched your search
+1
-1
@@ -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"))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user