summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2024-01-05 08:55:49 -0500
committerJonathan Bradley <jcb@pikum.xyz>2024-01-05 08:55:49 -0500
commit1d0fb85ab2ee8223441749c988d365c4b7d4d734 (patch)
tree7666534268fc55b94274ae33418db288e939f9f5 /editor
parentef6cb7fd7cd8c5ddfc894fb65dde7b86cb586c18 (diff)
editor rebuild asset list when we create a new asset
Diffstat (limited to 'editor')
-rw-r--r--editor/editor.cpp1
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();