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

QParameter doesn't notify when the value type isn't supported

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.8.0
    • 5.8.0 Alpha
    • Qt3D
    • None

      I had try to send a QMatrix as uniform to my shader, and I finally figured out when I was getting the wrong value.
      The QMatrix type is unsupported by the following method:

      UniformValue UniformValue::fromVariant(const QVariant &variant)
      

      It would be nice to have a warning when we try to use an unsupported type.

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

            seanharmer Sean Harmer
            flamaros Xavier Bigand
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes