mirror of https://github.com/qt/qtdatavis3d.git
Fix minor issues found in testing
Change-Id: If40f10043951409b3d6597776b60d7eb55c73eec Reviewed-by: Mika Salmela <mika.salmela@digia.com> Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
This commit is contained in:
parent
aab6b4f77d
commit
0d102fc303
|
|
@ -42,7 +42,7 @@ const int mineShaftDiameter(1);
|
|||
const int airColorIndex(254);
|
||||
const int mineShaftColorIndex(255);
|
||||
const int layerColorThickness(60);
|
||||
const int heightToColorDiv(128);
|
||||
const int heightToColorDiv(140);
|
||||
const int magmaColorsMin(0);
|
||||
const int magmaColorsMax(layerColorThickness);
|
||||
const int aboveWaterGroundColorsMin(magmaColorsMax + 1);
|
||||
|
|
|
|||
|
|
@ -45,6 +45,9 @@ TextureHelper::TextureHelper()
|
|||
|
||||
TextureHelper::~TextureHelper()
|
||||
{
|
||||
#if !defined(QT_OPENGL_ES_2)
|
||||
delete m_openGlFunctions_2_1;
|
||||
#endif
|
||||
}
|
||||
|
||||
GLuint TextureHelper::create2DTexture(const QImage &image, bool useTrilinearFiltering,
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ int main(int argc, char **argv)
|
|||
|
||||
QCheckBox *inputHandlerZoomAtTargetCheckBox = new QCheckBox(widget);
|
||||
inputHandlerZoomAtTargetCheckBox->setText("IH: setZoomAtTarget");
|
||||
inputHandlerZoomAtTargetCheckBox->setChecked(false);
|
||||
inputHandlerZoomAtTargetCheckBox->setChecked(true);
|
||||
|
||||
QSlider *rotationSliderX = new QSlider(Qt::Horizontal, widget);
|
||||
rotationSliderX->setTickInterval(1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue