From f903f26f88a15dd6b2ad0e634a80615604b4358c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Korpip=C3=A4=C3=A4?= Date: Wed, 21 Aug 2013 09:04:49 +0300 Subject: Refactored enums zoom -> slice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I39a53326403b127746437233853bee032b551f8c Change-Id: I39a53326403b127746437233853bee032b551f8c Reviewed-by: Pasi Keränen --- src/datavis3d/engine/drawer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/datavis3d/engine/drawer.cpp') diff --git a/src/datavis3d/engine/drawer.cpp b/src/datavis3d/engine/drawer.cpp index 5946e54c..05268440 100644 --- a/src/datavis3d/engine/drawer.cpp +++ b/src/datavis3d/engine/drawer.cpp @@ -270,7 +270,7 @@ void Drawer::drawLabel(const AbstractRenderItem &item, const LabelItem &labelIte xPosition = item.translation().x(); if (useDepth) zPosition = item.translation().z(); - else if (QDataVis::ModeZoomColumn == mode) + else if (QDataVis::ModeSliceColumn == mode) xPosition = -(item.translation().z()) + positionComp.z(); // flip first to left } -- cgit v1.2.3