mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-05 16:43:52 +00:00
feat(editor): toast notification when importing ADT doodads/WMOs
This commit is contained in:
parent
61f0f39611
commit
84e9146522
1 changed files with 2 additions and 0 deletions
|
|
@ -612,6 +612,8 @@ void EditorApp::loadADT(const std::string& mapName, int tileX, int tileY) {
|
|||
}
|
||||
if (!terrain_.doodadPlacements.empty() || !terrain_.wmoPlacements.empty()) {
|
||||
objectsDirty_ = true;
|
||||
showToast("Imported " + std::to_string(terrain_.doodadPlacements.size()) +
|
||||
" doodads + " + std::to_string(terrain_.wmoPlacements.size()) + " WMOs");
|
||||
LOG_INFO("Imported ", terrain_.doodadPlacements.size(), " doodads + ",
|
||||
terrain_.wmoPlacements.size(), " WMOs from ADT");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue