diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-09-11 15:34:08 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-09-15 16:34:11 +0200 |
| commit | 0ad827ba2f02b0b47466a81d352194c685cb02bb (patch) | |
| tree | 5f294383ee5f8c8c223c64105091dfdea0b7683f /examples/quick3d | |
| parent | e2c54140d7777515aa181cbd4b71e4aa1bf7c91d (diff) | |
Update examples (simple cases)
Task-number: PYSIDE-2206
Pick-to: 6.10
Change-Id: Ib97a137fcbe9c1fca839743f4a8d41599794ad04
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/quick3d')
| -rw-r--r-- | examples/quick3d/intro/main.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/quick3d/intro/main.qml b/examples/quick3d/intro/main.qml index 648cfcf5c..ab4e6a6de 100644 --- a/examples/quick3d/intro/main.qml +++ b/examples/quick3d/intro/main.qml @@ -42,8 +42,8 @@ Window { position: Qt.vector3d(0, -200, 0) source: "#Cylinder" scale: Qt.vector3d(2, 0.2, 1) - materials: [ DefaultMaterial { - diffuseColor: "red" + materials: [ PrincipledMaterial { + baseColor: "red" } ] } @@ -52,8 +52,8 @@ Window { position: Qt.vector3d(0, 150, 0) source: "#Sphere" - materials: [ DefaultMaterial { - diffuseColor: "blue" + materials: [ PrincipledMaterial { + baseColor: "blue" } ] |
