Skip to content

Commit 8c9639a

Browse files
committed
glcanon: allow cone size to follow INI "CONE_BASESIZE" setting before G-code is loaded
Previously this was hard-coded to "1", and therefore ignored the prescribed base size.
1 parent 5a0c05a commit 8c9639a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/python/rs274/glcanon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,7 @@ def redraw(self):
15021502
g.max_extents[Z] - g.min_extents[Z],
15031503
2 ) * self.cone_basesize
15041504
else:
1505-
cone_scale = 1
1505+
cone_scale = self.cone_basesize
15061506
if self.is_lathe():
15071507
glRotatef(90, 0, 1, 0)
15081508
# if Rotation = 180 - back tool

0 commit comments

Comments
 (0)