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
369d6da2
Commit
369d6da2
authored
Jun 18, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix potential bug in excluder logic
parent
b2d50f23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pronterface.py
pronterface.py
+1
-1
No files found.
pronterface.py
View file @
369d6da2
...
@@ -422,7 +422,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -422,7 +422,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
return
gline
return
gline
else
:
else
:
# Check if next move will be excluded too and if it will emit an absolute E set
# Check if next move will be excluded too and if it will emit an absolute E set
if
self
.
is_excluded_move
(
next_gline
)
and
next_gline
.
e
!=
None
and
not
next_gline
.
relative_e
:
if
next_gline
!=
None
and
self
.
is_excluded_move
(
next_gline
)
and
next_gline
.
e
!=
None
and
not
next_gline
.
relative_e
:
return
None
# nothing to do: next move will set absolute E if needed
return
None
# nothing to do: next move will set absolute E if needed
else
:
# else, check if this is an extrusion move with non relative E and replace it
else
:
# else, check if this is an extrusion move with non relative E and replace it
if
gline
.
e
!=
None
and
not
gline
.
relative_e
:
if
gline
.
e
!=
None
and
not
gline
.
relative_e
:
...
...
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