-
Bug
-
Resolution: Fixed
-
P2: Important
-
QDS 4.8.0
-
None
-
b141a0992 (qds/dev), e973e8a22 (qds/dev)
If an existing generated type is removed and then the same type is readded, the type will no longer have any prototypes.
See example outputs when adding, removing, and re-adding the same material from content library view:
First add of material to the project, output from MaterialBrowserView::nodeReparented() listing allExportedTypeNames() for all selfAndPrototypes() of the reparented node of the added type:
node= "Generated.Bundles.Materials.StoneMaterial" prototype= "StoneMaterial" prototype= "StoneMaterial" prototype= "PrincipledMaterial" prototype= "PrincipledMaterial" prototype= "PrincipledMaterial" prototype= "PrincipledMaterial" prototype= "PrincipledMaterial" prototype= "QQuick3DPrincipledMaterial" prototype= "Material" prototype= "QQuick3DMaterial" prototype= "Object3D" prototype= "QQuick3DObject" prototype= "QtObject" prototype= "QObject"
After removal and re-adding of the same material, the list of prototypes is much shorter, containing only the self types:
node= "Generated.Bundles.Materials.StoneMaterial" prototype= "StoneMaterial" prototype= "StoneMaterial"
This breaks all isBasedOn checks for the node.
- resulted from
-
QDS-14568 Add instance to project doesn't work in project storage builds
-
- Closed
-