- for OpenGL graphic mode added a fit_view() execution on canvas initialization

This commit is contained in:
Marius Stanciu 2019-12-10 17:24:28 +02:00
parent 621ac9a598
commit 660f69cfc5
2 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,8 @@ CAD program, and create G-Code for Isolation routing.
- in Gerber isolation, when selection mode is checked, now area selection works too
- in CNCJob UI, now the CNCJob objects made out of Excellon objects will display their CNC tools (drill bits)
- fixed a cummulative error when using the Tool Offset for Excellon objects
- added the dipaly of the real depth of cut (cut z + offset_z) for CNC tools made out of an Excellon object
- added the display of the real depth of cut (cut z + offset_z) for CNC tools made out of an Excellon object
- for OpenGL graphic mode added a fit_view() execution on canvas initialization
9.12.2019

View File

@ -156,7 +156,7 @@ class PlotCanvas(QtCore.QObject, VisPyCanvas):
self.big_cursor = None
# Keep VisPy canvas happy by letting it be "frozen" again.
self.freeze()
self.fit_view()
self.graph_event_connect('mouse_wheel', self.on_mouse_scroll)
def draw_workspace(self, workspace_size):