mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
Redesign map editor rendering
This commit is contained in:
@ -1095,9 +1095,7 @@ void MainWindow::on_actionUpdate_appearance_triggered()
|
||||
}
|
||||
app = templates.front();
|
||||
}
|
||||
auto tiles = controller.mapHandler()->getTilesUnderObject(obj);
|
||||
obj->appearance = app;
|
||||
controller.mapHandler()->invalidate(tiles);
|
||||
controller.mapHandler()->invalidate(obj);
|
||||
controller.scene(mapLevel)->selectionObjectsView.deselectObject(obj);
|
||||
}
|
||||
|
Reference in New Issue
Block a user