summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/data/customrenderitem.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2014-09-04 15:00:28 +0300
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2014-09-08 09:21:04 +0300
commitbb30ea555c71604de9a2bc5096fa35c9532b26bd (patch)
tree42825d3574e07136e4028f90abb1f719e2c8b6f6 /src/datavisualization/data/customrenderitem.cpp
parent18413de96ea907ea5c7defdcb40248fdfbaa4de7 (diff)
Add possibility to scale custom items according to data ranges
Proper behavior of volume objects that are shown only partially will be added in a separate patch later. Change-Id: I1fcd98faa6c4a7d09e3fef1645ed9816ff54654f Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavisualization/data/customrenderitem.cpp')
-rw-r--r--src/datavisualization/data/customrenderitem.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/datavisualization/data/customrenderitem.cpp b/src/datavisualization/data/customrenderitem.cpp
index 555f48b7..64194bac 100644
--- a/src/datavisualization/data/customrenderitem.cpp
+++ b/src/datavisualization/data/customrenderitem.cpp
@@ -23,7 +23,8 @@ QT_BEGIN_NAMESPACE_DATAVISUALIZATION
CustomRenderItem::CustomRenderItem()
: AbstractRenderItem(),
m_texture(0),
- m_absolute(false),
+ m_positionAbsolute(false),
+ m_scalingAbsolute(true),
m_object(0),
m_needBlend(true),
m_visible(true),
@@ -33,6 +34,7 @@ CustomRenderItem::CustomRenderItem()
m_isFacingCamera(false),
m_item(0),
m_renderer(0),
+ m_labelItem(false),
m_textureWidth(0),
m_textureHeight(0),
m_textureDepth(0),