Update texture_swapper.cpp

This commit is contained in:
T1ti
2023-04-27 02:15:54 +00:00
parent 20ab963718
commit 54242d3c51

View File

@@ -94,9 +94,8 @@ namespace Noggit
connect(swap_global, &QPushButton::clicked, [this, camera_pos, map_view]() {
if (_texture_to_swap)
{
// ActionManager::instance()->beginAction(map_view, ActionFlags::eCHUNKS_TEXTURE);
// TODO : action manager
_world->swapTextureGlobal(_texture_to_swap.value());
// ActionManager::instance()->endAction();
}
});