Commit 6a5509af authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri 💬
Browse files

Fix bug where re-enabling seed widget wouldn't move existing seeds

The widget waited for a left click when re-enabled. This leads to an
additional seed placed at the site of the existing seed before
registering that there is already a seed present.
parent cd3ffe5b
......@@ -241,14 +241,6 @@ void vtkSeedWidget::MoveAction(vtkAbstractWidget *w)
vtkSeedWidget *self = reinterpret_cast<vtkSeedWidget*>(w);
// Do nothing if outside
if ( self->WidgetState == vtkSeedWidget::Start )
// else we are moving a seed
self->InvokeEvent(vtkCommand::MouseMoveEvent, nullptr);
// set the cursor shape to a hand if we are near a seed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment