Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.5.1, 5.6.0 Alpha
-
None
Description
When the width or height property of a QPlaneMesh is updated, the new value seems to be truncated to integer precision.
I noticed that the width and height method in the class PlaneGeometry return an int instead of a float:
qplanemesh.cpp
class PlaneGeometry : public QGeometry { ... int width() const { return m_width; } int height() const { return m_height; } ... float m_width; float m_height; }
Attachments
For Gerrit Dashboard: QTBUG-48790 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
127811,2 | Use floats for plane geometry size | 5.6 | qt/qt3d | Status: MERGED | +2 | 0 |