changeset 1780:fbc94316c048

do save zero-valued attrs. they might matter, like an angle number Ignore-this: cc465f0da19623d6ab002eab22719567
author Drew Perttula <drewp@bigasterisk.com>
date Mon, 04 Jun 2018 08:23:05 +0000
parents 067da1234c8e
children e46907e9e053
files light9/web/live/live.coffee
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/light9/web/live/live.coffee	Mon Jun 04 08:21:41 2018 +0000
+++ b/light9/web/live/live.coffee	Mon Jun 04 08:23:05 2018 +0000
@@ -163,8 +163,6 @@
       ]
     settings = @graph.nextNumberedResources(@effect.value + '_set', @currentSettingsList().length)
     for row in @currentSettingsList()
-      if row[2] == 0 or row[2] == '#000000'
-        continue
       setting = settings.shift()
       addQuads.push(quad(@effect, U(':setting'), setting))
       addQuads.push(quad(setting, U(':device'), row[0]))