Skip to content

Commit 51da87b

Browse files
committed
for #3
1 parent bff7a78 commit 51da87b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/histogram.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ function Stats.update()
125125
end
126126

127127
Stats.attrib = object.I.Editor.find_attribute(container_attrib_name)
128+
if Stats.attrib == nil then
129+
Stats.reset()
130+
shd.attribute = 'vertices.point[0]'
131+
return
132+
end
128133

129134
local f = tostring(shd.colormap):split(';')
130135
local colormap_name = f()

0 commit comments

Comments
 (0)