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
e6f264fa
Commit
e6f264fa
authored
Jan 03, 2012
by
Sebastian Eichelbaum
Browse files
[FIX] - fixed recalc bug if input fiber cluster has changed.
parent
cc49d16b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/modules/fiberDisplaySimple/WMFiberDisplaySimple.cpp
src/modules/fiberDisplaySimple/WMFiberDisplaySimple.cpp
+3
-2
No files found.
src/modules/fiberDisplaySimple/WMFiberDisplaySimple.cpp
View file @
e6f264fa
...
...
@@ -345,7 +345,7 @@ void WMFiberDisplaySimple::moduleMain()
if
(
(
fibersUpdated
&&
(
fibers
!=
m_fibers
)
)
||
m_tubeEnable
->
changed
()
)
{
debugLog
()
<<
"Fibers updated."
;
debugLog
()
<<
"Fibers updated."
<<
m_tubeEnable
->
changed
()
<<
" ---"
<<
fibersUpdated
<<
" -- "
<<
fibers
<<
" "
<<
m_fibers
;
m_fibers
=
fibers
;
// update the prop observer if new data is available
...
...
@@ -514,8 +514,9 @@ void WMFiberDisplaySimple::createFiberGeode( boost::shared_ptr< WDataSetFibers >
// for each fiber:
debugLog
()
<<
"Iterating over "
<<
fibStart
->
size
()
<<
" fibers."
;
debugLog
()
<<
"Number of vertices: "
<<
fibVerts
->
size
();
size_t
currentStart
=
0
;
bool
tubeMode
=
m_tubeEnable
->
get
();
bool
tubeMode
=
m_tubeEnable
->
get
(
true
);
for
(
size_t
fidx
=
0
;
fidx
<
fibStart
->
size
()
;
++
fidx
)
{
++*
progress1
;
...
...
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