1
0
Fork 0

Remove debug messages

Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
This commit is contained in:
Vivian Meazza 2012-07-04 20:49:06 +01:00
parent aa613b3c12
commit 0a741c7a3b

View file

@ -176,12 +176,10 @@
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script> <script>
print("get red light");
var v = getprop("/ai/models/carrier/controls/lighting/flood-lights-red-norm"); var v = getprop("/ai/models/carrier/controls/lighting/flood-lights-red-norm");
foreach (var c; props.globals.getNode("/ai/models").getChildren("carrier")) foreach (var c; props.globals.getNode("/ai/models").getChildren("carrier"))
{ {
c.getNode("controls/lighting/flood-lights-red-norm",1).setDoubleValue(v); c.getNode("controls/lighting/flood-lights-red-norm",1).setDoubleValue(v);
print("set red light", v);
} }
</script> </script>
</binding> </binding>