Index: tools/lua/gradients.lua |
diff --git a/tools/lua/gradients.lua b/tools/lua/gradients.lua |
index 628632817f9c2dc0c236ebe243058b0261b8af61..ab205eec9d75789f4cdaf9992c0c54754c986901 100644 |
--- a/tools/lua/gradients.lua |
+++ b/tools/lua/gradients.lua |
@@ -13,11 +13,11 @@ function sk_scrape_accumulate(t) |
local g = s:asAGradient() |
if g then |
gradients[i] = {} |
- gradients[i].colorCount = g.colorCount |
- gradients[i].type = g.type |
- gradients[i].tile = g.tile |
- gradients[i].isEvenlySpaced = g.isEvenlySpaced |
- gradients[i].containsHardStops = g.containsHardStops |
+ gradients[i].colorCount = g.colorCount |
+ gradients[i].type = g.type |
+ gradients[i].tile = g.tile |
+ gradients[i].isEvenlySpaced = g.isEvenlySpaced |
+ gradients[i].numHardStops = g.numHardStops |
gradients[i].positions = {} |
for j = 1, g.colorCount, 1 do |
@@ -45,7 +45,7 @@ function sk_scrape_summarize() |
v.type, |
v.tile, |
tonumber(v.isEvenlySpaced and 1 or 0), |
- tonumber(v.containsHardStops and 1 or 0), |
+ v.numHardStops, |
pos)) |
end |
end |