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

QCylindermesh.cpp, wrong nVert

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • 5.7
    • 5.5.0, 5.7.0
    • Qt3D
    • None

      The correct value is the one in the functor.

      Replace every

      const int nVerts = (m_slices + 1) * (m_rings + 1);
      

      with

      const int nVerts =(m_slices + 1) * m_rings + 2 * (m_slices + 1) + 2;
      

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

            seanharmer Sean Harmer
            lorenzolightsgdwarf Lorenzo Lucignano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes