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
9bbe57fe
Commit
9bbe57fe
authored
Nov 07, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use LightGCode when using NoViz
parent
d701a718
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
pronterface.py
printrun/pronterface.py
+4
-1
No files found.
printrun/pronterface.py
View file @
9bbe57fe
...
@@ -1389,6 +1389,9 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
...
@@ -1389,6 +1389,9 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
def
pre_gcode_load
(
self
):
def
pre_gcode_load
(
self
):
self
.
loading_gcode
=
True
self
.
loading_gcode
=
True
self
.
loading_gcode_message
=
_
(
"Loading
%
s..."
)
%
self
.
filename
self
.
loading_gcode_message
=
_
(
"Loading
%
s..."
)
%
self
.
filename
if
self
.
settings
.
mainviz
==
"None"
:
gcode
=
gcoder
.
LightGCode
(
deferred
=
True
)
else
:
gcode
=
gcoder
.
GCode
(
deferred
=
True
)
gcode
=
gcoder
.
GCode
(
deferred
=
True
)
self
.
viz_last_yield
=
0
self
.
viz_last_yield
=
0
self
.
viz_last_layer
=
-
1
self
.
viz_last_layer
=
-
1
...
...
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