diff options
Diffstat (limited to 'source/30-game/EditorCorePrivate.cpp')
-rw-r--r-- | source/30-game/EditorCorePrivate.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/30-game/EditorCorePrivate.cpp b/source/30-game/EditorCorePrivate.cpp index e52c795..3efa33c 100644 --- a/source/30-game/EditorCorePrivate.cpp +++ b/source/30-game/EditorCorePrivate.cpp @@ -212,6 +212,17 @@ void EditorContentBrowser::Show(bool* open) { ImGui::EndPopup(); } + ImGui::SameLine(); + if (ImGui::Button("...")) { + ImGui::OpenPopup("More Actions"); + } + if (ImGui::BeginPopup("More Actions")) { + if (ImGui::MenuItem("Rewrite all Ires to disk")) { + IresManager::instance->OverwriteAllToDisk(); + } + ImGui::EndPopup(); + } + auto& objects = IresManager::instance->GetObjects(); for (auto it = objects.begin(); it != objects.end(); ++it) { auto ires = it->second.Get(); |