Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
c2b55bcb
Commit
c2b55bcb
authored
Nov 07, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix traceback when loading file and using NoViz
parent
52583643
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
viz.py
printrun/gui/viz.py
+7
-0
No files found.
printrun/gui/viz.py
View file @
c2b55bcb
...
@@ -27,6 +27,13 @@ class NoViz(object):
...
@@ -27,6 +27,13 @@ class NoViz(object):
def
clear
(
self
,
*
a
):
def
clear
(
self
,
*
a
):
pass
pass
def
addfile_perlayer
(
self
,
gcode
,
showall
=
False
):
layer_idx
=
0
while
layer_idx
<
len
(
gcode
.
all_layers
):
yield
layer_idx
layer_idx
+=
1
yield
None
def
addfile
(
self
,
*
a
,
**
kw
):
def
addfile
(
self
,
*
a
,
**
kw
):
pass
pass
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment