mirror of
https://github.com/overte-org/overte.git
synced 2025-07-10 18:58:37 +02:00
Fix QML errors.
This commit is contained in:
parent
1de5cca70f
commit
5afa38dc80
2 changed files with 5 additions and 5 deletions
|
@ -7,9 +7,9 @@ Item {
|
|||
id: root;
|
||||
property string settingText: "";
|
||||
property int optionIndex: 0;
|
||||
property var _optionText: ""
|
||||
readonly property string optionText: _optionText
|
||||
property var options: [];
|
||||
property var _optionText: "";
|
||||
readonly property string optionText: _optionText;
|
||||
property var options: [""];
|
||||
|
||||
signal valueChanged(int index);
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@ Flickable {
|
|||
|
||||
SettingBoolean {
|
||||
settingText: "Local Lights";
|
||||
settingEnabled: Render.localLightsEnabled
|
||||
settingEnabled: Render.localLightsEnabled ? true : false
|
||||
|
||||
onSettingEnabledChanged: {
|
||||
Render.localLightsEnabled = settingEnabled;
|
||||
|
@ -111,7 +111,7 @@ Flickable {
|
|||
|
||||
SettingBoolean {
|
||||
settingText: "Fog";
|
||||
settingEnabled: Render.fogEnabled
|
||||
settingEnabled: Render.fogEnabled ? true : false;
|
||||
|
||||
onSettingEnabledChanged: {
|
||||
Render.fogEnabled = settingEnabled;
|
||||
|
|
Loading…
Reference in a new issue