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>
|
||||
</checkbox>
|
||||
|
||||
<!--
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<halign>right</halign>
|
||||
<text>
|
||||
<label>Cloud density</label>
|
||||
<enable>
|
||||
<and>
|
||||
<property>/sim/rendering/shader-effects</property>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</and>
|
||||
</enable>
|
||||
</text>
|
||||
<slider>
|
||||
<name>cloud-density</name>
|
||||
<enable>
|
||||
<and>
|
||||
<property>/sim/rendering/shader-effects</property>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</and>
|
||||
</enable>
|
||||
<min>0</min>
|
||||
<max>1.0</max>
|
||||
<property>/sim/rendering/clouds3d-density</property>
|
||||
<binding>
|
||||
<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>
|
||||
</slider>
|
||||
<text>
|
||||
<enable>
|
||||
<and>
|
||||
<property>/sim/rendering/shader-effects</property>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</and>
|
||||
</enable>
|
||||
<label>12345678</label>
|
||||
<format>%.2f</format>
|
||||
<live>true</live>
|
||||
|
@ -259,8 +285,6 @@
|
|||
</text>
|
||||
</group>
|
||||
|
||||
-->
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<halign>right</halign>
|
||||
|
|
Loading…
Reference in a new issue