diff options
| author | MohammadHossein Qanbari <mohammad.qanbari@qt.io> | 2025-12-10 13:10:26 +0100 |
|---|---|---|
| committer | MohammadHossein Qanbari <mohammad.qanbari@qt.io> | 2025-12-16 15:25:02 +0100 |
| commit | 07920feec384e4cc7a0ad09cd8539f9fcdbd0dd6 (patch) | |
| tree | cb1d41968bcce583e1c9122ed86f7db2c1a4afbc /examples/demos | |
| parent | 24c30f06fdb115afe16415c3bdcfe4f415d2953a (diff) | |
Some parts of the source code became unused during development.
This patch removes those redundant lines to improve code clarity and
maintainability.
Task-number: QTBUG-138227
Change-Id: Ic3282612d8decd63cc4d467b333b353be009d4f9
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/demos')
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 } |
