Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-190

If you change property in "Set Property" handler in action view, qml error is sometimes produced

    XMLWordPrintable

Details

    • e3424c9e019ca3a252156f2c49752af2afc2feb9

    Description

      To repro, add an action to e.g. a cube and set handler to "Set Property". Then just change the handler between different properties. Wherever you change to a property that is of different type than the previously shown property, you get a qml error like these this in log:

      qrc:/Studio/Palettes/Action/HandlerProperty.qml:183:20: Unable to assign QVector3D to QString
      
      qrc:/Studio/Palettes/Action/HandlerProperty.qml:129:20: Unable to assign QString to double
      

      Probably happens because the model changes the type of the value property before the proper component is loaded to show the property value.

      This doesn't actually seem to cause any problems, other than the cosmetic issue of getting qml errors in the log.

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes