Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
b65dda88
Commit
b65dda88
authored
Apr 12, 2010
by
Alexander Wiebel
Browse files
[ADD
#289
] added very simple progress indication
parent
b4d91118
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/modules/fiberDisplay/WMFiberDisplay.cpp
src/modules/fiberDisplay/WMFiberDisplay.cpp
+6
-1
No files found.
src/modules/fiberDisplay/WMFiberDisplay.cpp
View file @
b65dda88
...
...
@@ -101,10 +101,15 @@ void WMFiberDisplay::moduleMain()
if
(
m_dataset
->
size
()
!=
0
)
// incase of an empty fiber dataset nothing is to display
{
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getScene
()
->
removeChild
(
m_osgNode
.
get
()
);
boost
::
shared_ptr
<
WProgress
>
progress
=
boost
::
shared_ptr
<
WProgress
>
(
new
WProgress
(
"Fiber Display"
,
2
)
);
m_progress
->
addSubProgress
(
progress
);
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getScene
()
->
removeChild
(
m_osgNode
.
get
()
);
++*
progress
;
WKernel
::
getRunningKernel
()
->
getRoiManager
()
->
addFiberDataset
(
m_dataset
);
++*
progress
;
create
();
progress
->
finish
();
}
else
{
...
...
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