diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-05-20 08:54:07 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-05-20 09:54:02 +0300 |
commit | b6da9160b2d81283ec9fc082c08987ecc95650da (patch) | |
tree | bc2cab637d9a8b23bab4218cd7183ebbbcb4160e /src/datavisualization/data/qcustom3ditem.cpp | |
parent | 0004b7598d5826bf5e1e4fb7256b13dbc220ec47 (diff) |
Do not draw custom items outside axis ranges
Task-number: QTRD-3057
Change-Id: Icb8904fa0a1c009985ac21ee6fa51eefda81d9cc
Change-Id: Icb8904fa0a1c009985ac21ee6fa51eefda81d9cc
Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
Reviewed-by: Mika Salmela <mika.salmela@digia.com>
Diffstat (limited to 'src/datavisualization/data/qcustom3ditem.cpp')
-rw-r--r-- | src/datavisualization/data/qcustom3ditem.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/datavisualization/data/qcustom3ditem.cpp b/src/datavisualization/data/qcustom3ditem.cpp index 3254ac3b..f39a0478 100644 --- a/src/datavisualization/data/qcustom3ditem.cpp +++ b/src/datavisualization/data/qcustom3ditem.cpp @@ -60,14 +60,12 @@ QT_BEGIN_NAMESPACE_DATAVISUALIZATION * \note To conserve memory the Image loaded from the file is cleared after a texture is created. */ -// TODO: Position check in task QTRD-3057 /*! \qmlproperty vector3d Custom3DItem::position * * Holds the item \a position as a vector3d. Item position is in data coordinates. Defaults to * \c {vector3d(0.0, 0.0, 0.0)}. * - * \note No validity checks are made for the position of the item, so it is up to the user to - * provide a valid position. Items positioned outside axis ranges are still rendered. + * \note Items positioned outside axis ranges are not rendered. */ /*! \qmlproperty vector3d Custom3DItem::scaling @@ -153,8 +151,7 @@ QString QCustom3DItem::meshFile() const * Holds the item \a position as a QVector3D. Item position is in data coordinates. Defaults to * \c {QVector3D(0.0, 0.0, 0.0)}. * - * \note No validity checks are made for the position of the item, so it is up to the user to - * provide a valid position. Items positioned outside axis ranges are still rendered. + * \note Items positioned outside axis ranges are not rendered. */ void QCustom3DItem::setPosition(const QVector3D &position) { |