diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2024-01-05 08:55:49 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2024-01-05 08:55:49 -0500 |
| commit | 1d0fb85ab2ee8223441749c988d365c4b7d4d734 (patch) | |
| tree | 7666534268fc55b94274ae33418db288e939f9f5 /editor | |
| parent | ef6cb7fd7cd8c5ddfc894fb65dde7b86cb586c18 (diff) | |
editor rebuild asset list when we create a new asset
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp index 0743db9..625a49f 100644 --- a/editor/editor.cpp +++ b/editor/editor.cpp @@ -545,6 +545,7 @@ void RecordImGuiModalCreateAsset() { if (ImGui::Button("Create")) { AM_Register(assetKey, type, assetPath); + shouldRebuildAssetList = true; shouldClose = true; } ImGui::SameLine(); |
