aboutsummaryrefslogtreecommitdiffstats
path: root/examples/demos
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demos')
-rw-r--r--examples/demos/toycustomizer/qml/AnimationMaterial.qml2
-rw-r--r--examples/demos/toycustomizer/qml/CurrentToyModel.qml4
-rw-r--r--examples/demos/toycustomizer/qml/ShowcaseView.qml8
-rw-r--r--examples/demos/toycustomizer/qml/ToyAnimations.qml1
-rw-r--r--examples/demos/toycustomizer/qml/ToyCustom.qml1
5 files changed, 0 insertions, 16 deletions
diff --git a/examples/demos/toycustomizer/qml/AnimationMaterial.qml b/examples/demos/toycustomizer/qml/AnimationMaterial.qml
index 96cdeb734..d959e68ab 100644
--- a/examples/demos/toycustomizer/qml/AnimationMaterial.qml
+++ b/examples/demos/toycustomizer/qml/AnimationMaterial.qml
@@ -7,11 +7,9 @@ import QtQuick3D
PrincipledMaterial {
id: animationMaterial
- property string materialName
property string baseColorSource
property string normalMapSource
- objectName: materialName
baseColorMap: baseColorTexture
normalMap: normalMapTexture
baseColor: "#ffffff"
diff --git a/examples/demos/toycustomizer/qml/CurrentToyModel.qml b/examples/demos/toycustomizer/qml/CurrentToyModel.qml
index a7d7c9de7..b4b8c5167 100644
--- a/examples/demos/toycustomizer/qml/CurrentToyModel.qml
+++ b/examples/demos/toycustomizer/qml/CurrentToyModel.qml
@@ -82,10 +82,6 @@ Item {
currentElement: AnimationModel.get(currentToy.index)
accessoryModel: currentToy.accessoryModel
}
-
- Node {
- id: accessoriesRoot
- }
}
OrbitCameraController {
diff --git a/examples/demos/toycustomizer/qml/ShowcaseView.qml b/examples/demos/toycustomizer/qml/ShowcaseView.qml
index 1e90fc672..d99435ff1 100644
--- a/examples/demos/toycustomizer/qml/ShowcaseView.qml
+++ b/examples/demos/toycustomizer/qml/ShowcaseView.qml
@@ -12,14 +12,6 @@ View3D {
environment: extendedSceneEnvironment
- PrincipledMaterial {
- id: defaultMaterial
- roughness: 1
- alphaMode: PrincipledMaterial.Opaque
- objectName: "Default Material"
- baseColor: "#add6ff"
- }
-
Texture {
id: studio_small_01_4k
source: "images/studio_small_01_4k.hdr"
diff --git a/examples/demos/toycustomizer/qml/ToyAnimations.qml b/examples/demos/toycustomizer/qml/ToyAnimations.qml
index 3df201229..299f5147d 100644
--- a/examples/demos/toycustomizer/qml/ToyAnimations.qml
+++ b/examples/demos/toycustomizer/qml/ToyAnimations.qml
@@ -693,7 +693,6 @@ Node {
AnimationMaterial {
id: animationMaterial
- materialName: node.currentElement.name
baseColorSource: node.currentElement.baseColor
normalMapSource: node.currentElement.normalMap
}
diff --git a/examples/demos/toycustomizer/qml/ToyCustom.qml b/examples/demos/toycustomizer/qml/ToyCustom.qml
index 30750220f..417f895af 100644
--- a/examples/demos/toycustomizer/qml/ToyCustom.qml
+++ b/examples/demos/toycustomizer/qml/ToyCustom.qml
@@ -288,7 +288,6 @@ Node {
AnimationMaterial {
id: animationMaterial
- materialName: root.currentElement.name
baseColorSource: root.currentElement.baseColor
normalMapSource: root.currentElement.normalMap
}