Details
Description
- Create 3D project or add a View3D to an existing project
- Drag a PrincipledMaterial from components view into the cubeModel in the navigator
- Check the code view for the cubeModel
--> The material appears twice in the materials propecty of the cubeModel
Model {
id: cubeModel
source: "#Cube"
materials: [principledMaterial,principledMaterial]
eulerRotation.y: 45
eulerRotation.x: 30
}
Attachments
For Gerrit Dashboard: QDS-11095 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
516556,3 | QmlDesigner: Only add a dragged material once to model | qds/dev | qt-creator/qt-creator | Status: MERGED | +2 | 0 |