Skip to content

Commit 2ec8176

Browse files
committed
Merge branch '2.9'
2 parents 399258c + 2df883a commit 2ec8176

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/python/rs274/glcanon.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def __init__(self, s=None, lp=None, g=None):
491491
self.trajcoordinates = "unknown"
492492
self.dro_in = "% 9.4f"
493493
self.dro_mm = "% 9.3f"
494-
self.show_overlay = True
494+
self.show_overlay = False
495495
self.enable_dro = True
496496
self.cone_basesize = .5
497497
self.show_small_origin = True
@@ -1486,6 +1486,7 @@ def redraw(self):
14861486

14871487
# allows showing/hiding overlay DRO readout
14881488
if self.enable_dro:
1489+
self.show_overlay = True
14891490
for string in thestring:
14901491
maxlen = max(maxlen, len(string))
14911492
glRasterPos2i(stringstart_xpos, ypos)
@@ -1523,6 +1524,8 @@ def redraw(self):
15231524
self.show_icon(idx,limiticon)
15241525

15251526
ypos -= linespace
1527+
else:
1528+
self.show_overlay = False
15261529

15271530
glDepthFunc(GL_LESS)
15281531
glDepthMask(GL_TRUE)

0 commit comments

Comments
 (0)