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

Changing presentation id needs to be reworked

    XMLWordPrintable

Details

    • I66d2a46e540e97f1f081cbc2f8b28cbbeaa3ebde

    Description

      If you change a presentation id of a presentation/qmlstream that is in use, there are a few issues:

      • The subpresentation property is not updated properly in document to reflect new id. Sometimes the image that is using the subpresentation is also deleted for some reason.
      • The change is not undoable/redoable. This might be okay in principle (debatable, as it is .uia change, technically), but there is a problem that the used id change (the bullet point above) will be undoable. That will lead to use of nonexistent id. If you just change the id without using transaction, you can still get inconsistent state by undoing up to original renderable assignment and redoing that.
      • .uip/.uia files are changed directly. If the id change is made undoable, these changes should only be made when presentation is saved to keep things consistent.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes