summaryrefslogtreecommitdiffstats
path: root/tests/galaxy/galaxydata.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>2015-09-14 10:47:08 +0300
committerMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>2015-09-14 11:11:51 +0300
commitd1e65f10217f51f81935df90129f82217d3648ed (patch)
treed9c37ee021008b497609816045d91f6cdde09231 /tests/galaxy/galaxydata.cpp
parent5ba7f70d0d94de720d49b37b2d257b51b9afd026 (diff)
parentdc6dcf918bcf4f350ab92ab659506b4a0f8d80f6 (diff)
Merge branch 'develop'
Diffstat (limited to 'tests/galaxy/galaxydata.cpp')
-rw-r--r--tests/galaxy/galaxydata.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/galaxy/galaxydata.cpp b/tests/galaxy/galaxydata.cpp
index 31a39c1e..c4b7f8ac 100644
--- a/tests/galaxy/galaxydata.cpp
+++ b/tests/galaxy/galaxydata.cpp
@@ -60,16 +60,18 @@ GalaxyData::GalaxyData(Q3DScatter *scatter,
m_elEx1(ex1),
m_elEx2(ex2),
m_radFarField(m_radGalaxy * 2),
- m_filtered(false)
+ m_filtered(false),
+ m_minx(9999.9),
+ m_maxx(-9999.0),
+ m_miny(9999.9),
+ m_maxy(-9999.0)
{
m_graph->activeTheme()->setType(Q3DTheme::ThemeEbony);
m_graph->setShadowQuality(QAbstract3DGraph::ShadowQualitySoftLow);
m_graph->axisX()->setRange(-25000.0f, 25000.0f);
- //m_graph->axisY()->setRange(m_minY, m_minY + m_rangeY);
m_graph->axisZ()->setRange(-25000.0f, 25000.0f);
m_graph->setOptimizationHints(QAbstract3DGraph::OptimizationStatic);
- //m_graph->activeTheme()->setType(Q3DTheme::ThemeIsabelle);
m_graph->activeTheme()->setBackgroundColor(QColor(31, 31, 31));
m_graph->activeTheme()->setWindowColor(QColor(31, 31, 31));
m_graph->activeTheme()->setLabelBackgroundColor(QColor(31, 31, 31));