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
dab09cb9
Commit
dab09cb9
authored
Mar 27, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reload viz after reloading UI
parent
8a196812
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
pronterface.py
printrun/pronterface.py
+5
-2
No files found.
printrun/pronterface.py
View file @
dab09cb9
...
@@ -312,6 +312,8 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -312,6 +312,8 @@ class PronterWindow(MainWindow, pronsole.pronsole):
self
.
logbox
.
SetValue
(
logcontent
)
self
.
logbox
.
SetValue
(
logcontent
)
temppanel
.
Destroy
()
temppanel
.
Destroy
()
self
.
panel
.
Layout
()
self
.
panel
.
Layout
()
if
self
.
fgcode
:
self
.
post_gcode_load
(
print_stats
=
False
)
self
.
ui_ready
=
True
self
.
ui_ready
=
True
self
.
Thaw
()
self
.
Thaw
()
...
@@ -1772,8 +1774,9 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
...
@@ -1772,8 +1774,9 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
else
:
else
:
dlg
.
Destroy
()
dlg
.
Destroy
()
def
post_gcode_load
(
self
):
def
post_gcode_load
(
self
,
print_stats
=
True
):
self
.
output_gcode_stats
()
if
print_stats
:
self
.
output_gcode_stats
()
threading
.
Thread
(
target
=
self
.
loadviz
)
.
start
()
threading
.
Thread
(
target
=
self
.
loadviz
)
.
start
()
def
output_gcode_stats
(
self
):
def
output_gcode_stats
(
self
):
...
...
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