Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kliment/Printrun.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'printrun/stlview.py')
-rwxr-xr-xprintrun/stlview.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/printrun/stlview.py b/printrun/stlview.py
index 169ccde..7c64fc3 100755
--- a/printrun/stlview.py
+++ b/printrun/stlview.py
@@ -72,9 +72,12 @@ class StlViewPanel(wxGLPanel):
def __init__(self, parent, size,
build_dimensions = None, circular = False,
antialias_samples = 0,
- grid = (1, 10)):
+ grid = (1, 10), perspective=False):
+ if perspective:
+ self.orthographic=False
super().__init__(parent, wx.DefaultPosition, size, 0,
antialias_samples = antialias_samples)
+
self.batches = []
self.rot = 0
self.canvas.Bind(wx.EVT_MOUSE_EVENTS, self.move)