Skip to content

Commit

Permalink
Merge pull request #448 from mwoehlke-kitware/always-highlight-active…
Browse files Browse the repository at this point in the history
…-seed

Always highlight active seed
  • Loading branch information
mleotta committed Apr 29, 2021
2 parents 08e1d28 + 9925ad3 commit 8af5994
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gui/vtkMaptkSeedWidget.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,7 @@ void vtkMaptkSeedWidget::HighlightActiveSeed()
vtkSeedListIterator iter = this->Seeds->begin();
for (int n = 0; iter != this->Seeds->end(); ++n, ++iter)
{
(*iter)->GetHandleRepresentation()->Highlight(
this->GetEnabled() && n == activeHandle);
(*iter)->GetHandleRepresentation()->Highlight(n == activeHandle);
}
this->InvokeEvent(vtkMaptkSeedWidget::ActiveSeedChangedEvent,
&activeHandle);
Expand Down

0 comments on commit 8af5994

Please sign in to comment.