Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48790

QPlaneMesh width & height isn't updated correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.5.1, 5.6.0 Alpha
    • Qt3D
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            seanharmer Sean Harmer
            fsommer Frank Sommer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes