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

Qt3DWindow not updating the root entity in the scene

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.9.0 Beta 2
    • 5.7.0, 5.7.1, 5.8.0, 5.8
    • Qt3D
    • None
    • Every platform

      The Qt3DExtras::Qt3DWindow has an attribute m_root, another one called m_rootEntity and a method setRootEntity. During the expose event, m_root is set as the root entity of the RenderAspect and m_rootEntity, if not null, is set as a child of m_root.

      After the expose event it's still possible to call setRootEntity, but the the new m_rootEntity is never set as child of m_root, so it has no effect in the scene.

        1. QTBUG-56403.tar.gz
          2 kB
          Timur Pocheptsov
        For Gerrit Dashboard: QTBUG-56403
        # Subject Branch Project Status CR V

            whagen Wieland Hagen
            jjcasmar jjcasmar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes