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

QBuffer setBufferFunctor doesn't call setData()

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • None
    • 5.7.0
    • Qt3D
    • None
    • Ubuntu 14.04

    • c8b386a57d53eb2c24f1e32f483569c56db6f362

    Description

      I'm not sure if this is a bug due to the recent implementations, but the setBufferFunctor doesn't call setData(). This creates unexpected situations, for example, when a call to QAttribute::asVector*D() is done, the function returns wrong values from a another buffer (sometimes not initialized).
      My use case comes form the fact that I need to access the vertex positions of a torus mesh.

      Attachments

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

        Activity

          People

            lemire_p Paul Lemire
            lorenzolightsgdwarf Lorenzo Lucignano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes