restore ND dim

This commit is contained in:
Jonathan Redpath 2017-06-29 16:29:10 +01:00
parent 46cfd27b3e
commit 9d07867d75
3 changed files with 31 additions and 1 deletions

View file

@ -26,5 +26,17 @@
</binding>
</action>
</animation>
<!-- ND left dimmer -->
<animation>
<type>material</type>
<object-name>ND.screen</object-name>
<emission>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
<factor-prop>/controls/lighting/ndl-norm</factor-prop>
</emission>
</animation>
</PropertyList>

View file

@ -25,6 +25,19 @@
<script>canvas_nd.showNd('right');</script>
</binding>
</action>
</animation>
</animation>
<!-- ND right dimmer -->
<animation>
<type>material</type>
<object-name>ND_R.screen</object-name>
<emission>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
<factor-prop>/controls/lighting/ndr-norm</factor-prop>
</emission>
</animation>
</PropertyList>

View file

@ -17,6 +17,11 @@ print("If you are reading this, you are awesome!");
print("-----------------------------------------------------------------------");
print(" ");
# Dimmers
setprop("/controls/lighting/ndl-norm", 0);
setprop("/controls/lighting/ndr-norm", 0);
setprop("/controls/lighting/upper-norm", 0);
##########
# Lights #
##########