Skip to content
Snippets Groups Projects
Commit 13db0098 authored by Tomi Korpipää's avatar Tomi Korpipää
Browse files

Prevent error messages from missing textureSize property

parent 691c790f
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ Node { ...@@ -6,6 +6,7 @@ Node {
property Material materials property Material materials
property var instancing property var instancing
property bool useExternalMaterial: false property bool useExternalMaterial: false
property string textureSize: "" // Not used, just here to prevent error messages
DefaultMaterial { DefaultMaterial {
id: defaultMaterial id: defaultMaterial
......
...@@ -6,6 +6,7 @@ Node { ...@@ -6,6 +6,7 @@ Node {
property Material materials property Material materials
property var instancing property var instancing
property bool useExternalMaterial: false property bool useExternalMaterial: false
property string textureSize: "" // Not used, just here to prevent error messages
DefaultMaterial { DefaultMaterial {
id: defaultMaterial id: defaultMaterial
......
...@@ -6,6 +6,7 @@ Node { ...@@ -6,6 +6,7 @@ Node {
property Material materials property Material materials
property var instancing property var instancing
property bool useExternalMaterial: false property bool useExternalMaterial: false
property string textureSize: "" // Not used, just here to prevent error messages
DefaultMaterial { DefaultMaterial {
id: defaultMaterial id: defaultMaterial
......
...@@ -6,6 +6,7 @@ Node { ...@@ -6,6 +6,7 @@ Node {
property Material materials property Material materials
property var instancing property var instancing
property bool useExternalMaterial: false property bool useExternalMaterial: false
property string textureSize: "" // Not used, just here to prevent error messages
DefaultMaterial { DefaultMaterial {
id: defaultMaterial id: defaultMaterial
......
...@@ -6,6 +6,7 @@ Node { ...@@ -6,6 +6,7 @@ Node {
property Material materials property Material materials
property var instancing property var instancing
property bool useExternalMaterial: false property bool useExternalMaterial: false
property string textureSize: "" // Not used, just here to prevent error messages
DefaultMaterial { DefaultMaterial {
id: defaultMaterial id: defaultMaterial
......
...@@ -7,6 +7,7 @@ Node { ...@@ -7,6 +7,7 @@ Node {
property var instancing property var instancing
property bool useExternalMaterial: false property bool useExternalMaterial: false
property real gearRotation: 0 property real gearRotation: 0
property string textureSize: "" // Not used, just here to prevent error messages
onUseExternalMaterialChanged: { onUseExternalMaterialChanged: {
gear1.materials = useExternalMaterial gear1.materials = useExternalMaterial
......
...@@ -169,5 +169,6 @@ ...@@ -169,5 +169,6 @@
<file>BenchmarkUI/CommandlineParser.qml</file> <file>BenchmarkUI/CommandlineParser.qml</file>
<file>BenchmarkUI/ScriptHandler.qml</file> <file>BenchmarkUI/ScriptHandler.qml</file>
<file>BenchmarkUI/Logger.qml</file> <file>BenchmarkUI/Logger.qml</file>
<file>BenchmarkUI/notrandom.js</file>
</qresource> </qresource>
</RCC> </RCC>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment