1
0
Fork 0

Issue 181: add object-name to binding of snow level slider

The dialog-apply binding was setting all the properties in the
rendering dialog, including ones that are tested in technique
predicates. This was causing effects to be reinitialized.
This commit is contained in:
Tim Moore 2010-12-26 18:21:26 +01:00
parent 564c69e10a
commit ddcd76c677

View file

@ -383,6 +383,7 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<name>snow-level</name>
<enable> <enable>
<property>/sim/rendering/shader-effects</property> <property>/sim/rendering/shader-effects</property>
</enable> </enable>
@ -391,6 +392,7 @@
<property>/sim/rendering/snow-level-m</property> <property>/sim/rendering/snow-level-m</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
<object-name>snow-level</object-name>
</binding> </binding>
</slider> </slider>
<text> <text>