Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt 3D Studio 2.1 BETA1
-
None
-
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.