Commit 9be93653 authored by Guillaume Seguin's avatar Guillaume Seguin

Fix "snap to 0" function in gcodeplater

parent 84d5f14b
......@@ -226,7 +226,7 @@ class Plater(wx.Frame):
i = self.l.GetSelection()
if i != -1:
m = self.models[self.l.GetString(i)]
m.offsets[2] = -1.0 * min(m.facetsminz)[0]
m.offsets[2] = -m.dims[4]
self.Refresh()
def delete(self, event):
......
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