fix merge issues

This commit is contained in:
T1ti
2023-07-11 01:59:54 +02:00
parent 8d7d02b510
commit b61ac0e35b
2 changed files with 4 additions and 2 deletions

View File

@@ -1225,7 +1225,7 @@ QImage MapTile::getAlphamapImage(std::string const& filename)
return std::move(image);
}
<<<<<<<<< Temporary merge branch 1
void MapTile::setHeightmapImage(QImage const& baseimage, float multiplier, int mode, bool tiledEdges) // image
{
auto image = baseimage.convertToFormat(QImage::Format_Grayscale16);
@@ -1448,7 +1448,7 @@ QImage MapTile::getVertexColorsImage()
return std::move(image);
}
<<<<<<<<< Temporary merge branch 1
void MapTile::setVertexColorImage(QImage const& baseimage, int mode, bool tiledEdges)
{
QImage image = baseimage.convertToFormat(QImage::Format_RGBA8888);

View File

@@ -1827,6 +1827,7 @@ void MapView::setupAssistMenu()
makeCurrent();
OpenGL::context::scoped_setter const _(::gl, context());
NOGGIT_ACTION_MGR->beginAction(this, Noggit::ActionFlags::eCHUNKS_TERRAIN);
_world->importAllADTsHeightmaps(adt_import_height_params_multiplier->value(), adt_import_height_params_mode->currentIndex(), adt_import_height_tiled_edges->isChecked());
NOGGIT_ACTION_MGR->endAction();
)
@@ -1845,6 +1846,7 @@ void MapView::setupAssistMenu()
makeCurrent();
OpenGL::context::scoped_setter const _(::gl, context());
NOGGIT_ACTION_MGR->beginAction(this, Noggit::ActionFlags::eCHUNKS_VERTEX_COLOR);
_world->importAllADTVertexColorMaps(adt_import_vcol_params_mode->currentIndex(), adt_import_vcol_params_mode_tiled_edges->isChecked());
NOGGIT_ACTION_MGR->endAction();
)