Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mirrorSimulator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李远洪
mirrorSimulator
Commits
c6665048
Commit
c6665048
authored
Jan 05, 2021
by
liyuanhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了显示帧画面崩溃问题
parent
5348df88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
ui/CameraArea.py
ui/CameraArea.py
+7
-4
No files found.
ui/CameraArea.py
View file @
c6665048
...
...
@@ -305,7 +305,7 @@ class CameraArea():
def
pausePush
(
self
,
evt
):
sys
.
stdout
=
self
.
logTextCtr
sys
.
stderr
=
self
.
logTextCtr
threadObj
=
threading
.
Thread
(
target
=
self
.
doPausePush
()
)
threadObj
=
threading
.
Thread
(
target
=
self
.
doPausePush
)
threadObj
.
start
()
def
doPausePush
(
self
):
sys
.
stdout
=
self
.
logTextCtr
...
...
@@ -321,7 +321,7 @@ class CameraArea():
def
continuePush
(
self
,
evt
):
sys
.
stdout
=
self
.
logTextCtr
sys
.
stderr
=
self
.
logTextCtr
threadObj
=
threading
.
Thread
(
target
=
self
.
doContinuePush
()
)
threadObj
=
threading
.
Thread
(
target
=
self
.
doContinuePush
)
threadObj
.
start
()
def
doContinuePush
(
self
):
sys
.
stdout
=
self
.
logTextCtr
...
...
@@ -337,7 +337,7 @@ class CameraArea():
def
stopPush
(
self
,
evt
):
sys
.
stdout
=
self
.
logTextCtr
sys
.
stderr
=
self
.
logTextCtr
threadObj
=
threading
.
Thread
(
target
=
self
.
doStopPush
()
)
threadObj
=
threading
.
Thread
(
target
=
self
.
doStopPush
)
threadObj
.
start
()
def
doStopPush
(
self
):
sys
.
stdout
=
self
.
logTextCtr
...
...
@@ -368,7 +368,10 @@ class CameraArea():
def
showFrame
(
self
,
evt
):
sys
.
stdout
=
self
.
logTextCtr
sys
.
stderr
=
self
.
logTextCtr
threadObj
=
threading
.
Thread
(
target
=
self
.
doShowFrame
)
if
self
.
getOsName
()
==
"Windows"
:
threadObj
=
threading
.
Thread
(
target
=
self
.
doShowFrame
)
else
:
threadObj
=
threading
.
Thread
(
target
=
self
.
doShowFrame
())
threadObj
.
start
()
def
doShowFrame
(
self
):
self
.
isShowFrame
=
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