summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2013-09-13 13:24:37 +0300
committerTomi Korpipää <tomi.korpipaa@digia.com>2013-09-13 13:25:09 +0300
commitf0133f606ff43d0a5d28dcc34b118bf5f82db673 (patch)
treed95d23d7a4aabd2b6791244e67750d4c848a9513 /src
parenta196030e162090ea2c2eecc0396863a53d06db90 (diff)
Slice view update using selection api issue fixed
Task-number: QTRD-2276 Change-Id: I68e4e84099b7db6001873bcdb7a1f515f49f66c2 Change-Id: I68e4e84099b7db6001873bcdb7a1f515f49f66c2 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/datavisualization/engine/bars3drenderer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/datavisualization/engine/bars3drenderer.cpp b/src/datavisualization/engine/bars3drenderer.cpp
index 4b224900..eb8b3a6d 100644
--- a/src/datavisualization/engine/bars3drenderer.cpp
+++ b/src/datavisualization/engine/bars3drenderer.cpp
@@ -211,7 +211,7 @@ void Bars3DRenderer::render(GLuint defaultFboHandle)
drawScene(defaultFboHandle);
// If slicing has been activated by this render pass, we need another render
- if (slicingActivated != m_cachedScene->isSlicingActivated())
+ if (slicingActivated != m_cachedScene->isSlicingActivated())
emit needRender();
}
@@ -1529,6 +1529,7 @@ void Bars3DRenderer::updateSelectedBarPos(const QPoint &position)
m_selection = selectionSkipColor;
else
m_selection = QVector3D(position.x(), position.y(), 0);
+ emit needRender();
}
void Bars3DRenderer::updateShadowQuality(QDataVis::ShadowQuality quality)