Commit 672b9b88 authored by Knut's avatar Knut

reverted null check

parent 814528c3
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
o.r = r || 0; o.r = r || 0;
o.g = g || 0; o.g = g || 0;
o.b = b || 0; o.b = b || 0;
o.a = a !== null ? a : 1; o.a = a != null ? a : 1;
o.add = function (c, d) { o.add = function (c, d) {
for (var i = 0; i < c.length; ++i) for (var i = 0; i < c.length; ++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment