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

[Slayer] Q3DSSurfaceViewer::presentationLoaded not useful

XMLWordPrintable

    • cb2f3cad5ca145bea8121c191ad3c5ff02d68e2c

      presentationLoaded is emitted at the state where the viewer app and command queue are not yet ready, nor the presentation actually parsed. Thus, despite the naming, the presentation is not actually ready to accept, f.ex., any setAttribute or setDataInputValue calls. This was fixed for early visibility updates in RT2, but a better solution would be to have a signal that actually indicates that the viewer and presentation are ready for action.

      Propose renaming this signal to something more descriptive, and add a new signal that indicates when either the viewer app, or command queue is ready to accept commands.

      Alternatively, rename Q3DSPresentation::dataInputsReady signal to indicate the latter.(DataInputsReady is already currently emitted at the point when the presentation and associated datainputs are parsed, and are ready to be queried.

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

            jakangas Janne Kangas
            jakangas Janne Kangas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes