Add cloud-density option back into the rendering dialog
This commit is contained in:
parent
2b27ed261d
commit
2fb720e2b3
1 changed files with 28 additions and 4 deletions
|
@ -235,23 +235,49 @@
|
||||||
</binding>
|
</binding>
|
||||||
</checkbox>
|
</checkbox>
|
||||||
|
|
||||||
<!--
|
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
<halign>right</halign>
|
<halign>right</halign>
|
||||||
<text>
|
<text>
|
||||||
<label>Cloud density</label>
|
<label>Cloud density</label>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<property>/sim/rendering/shader-effects</property>
|
||||||
|
<property>/sim/rendering/clouds3d-enable</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
</text>
|
</text>
|
||||||
<slider>
|
<slider>
|
||||||
|
<name>cloud-density</name>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<property>/sim/rendering/shader-effects</property>
|
||||||
|
<property>/sim/rendering/clouds3d-enable</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>1.0</max>
|
<max>1.0</max>
|
||||||
<property>/sim/rendering/clouds3d-density</property>
|
<property>/sim/rendering/clouds3d-density</property>
|
||||||
<binding>
|
<binding>
|
||||||
<command>dialog-apply</command>
|
<command>dialog-apply</command>
|
||||||
|
<object-name>cloud-density</object-name>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-toggle</command>
|
||||||
|
<property>/sim/rendering/clouds3d-enable</property>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-toggle</command>
|
||||||
|
<property>/sim/rendering/clouds3d-enable</property>
|
||||||
</binding>
|
</binding>
|
||||||
</slider>
|
</slider>
|
||||||
<text>
|
<text>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<property>/sim/rendering/shader-effects</property>
|
||||||
|
<property>/sim/rendering/clouds3d-enable</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
<label>12345678</label>
|
<label>12345678</label>
|
||||||
<format>%.2f</format>
|
<format>%.2f</format>
|
||||||
<live>true</live>
|
<live>true</live>
|
||||||
|
@ -259,8 +285,6 @@
|
||||||
</text>
|
</text>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
<halign>right</halign>
|
<halign>right</halign>
|
||||||
|
|
Loading…
Reference in a new issue