Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-2636

Custom effects and materials do not work correctly in editor unless defined in components

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • QDS 1.6
    • QDS 1.6 Beta
    • 2D View, 3D View
    • None
    • 3ac25d4a4b35fb073a6f1bdf2eb6c9f0cd77c69a (qt/qtquick3d/dev) 53709d98174073cb85414dccc7afa238c5dcb2e3 (qt/qtquick3d/5.15) ce2d6b35e7d71ff80fe8daff7043376a0a3756de (qt/qtquick3d/5.15.1)

    Description

      If a CustomMaterial or Effect is defined in the same document as the View3D, the effect or material doesn't always show properly on form editor and 3D edit views. Since a material can be made to show up sometimes by adding and removing another model, and you also get "ShaderInfo is not valid!" warnings for materials on trace, so it's probably an issue of updateSpatialNode getting called too early for the material. 

      Running the project in preview shows everything correctly.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: