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
2bbb39d0
Commit
2bbb39d0
authored
Nov 13, 2011
by
kliment
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #92 from alexrj/bugfix-gviz-hilight
Bugfix: gviz exception while printing
parents
7124f2f9
331d5072
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gviz.py
gviz.py
+2
-2
No files found.
gviz.py
View file @
2bbb39d0
...
...
@@ -248,7 +248,7 @@ class gviz(wx.Panel):
self
.
pens
[
target
[
2
]
]
+=
[
self
.
mainpen
if
target
[
3
]
!=
self
.
lastpos
[
3
]
else
self
.
travelpen
]
self
.
lastpos
=
target
else
:
self
.
hilight
+=
line
self
.
hilight
+=
[
line
]
self
.
hilightpos
=
target
self
.
dirty
=
1
...
...
@@ -266,7 +266,7 @@ class gviz(wx.Panel):
self
.
arcpens
[
target
[
2
]
]
+=
[
self
.
arcpen
]
self
.
lastpos
=
target
else
:
self
.
hilightarcs
+=
arc
self
.
hilightarcs
+=
[
arc
]
self
.
hilightpos
=
target
self
.
dirty
=
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