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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes