Updates will be applied - 3:30pm EDT (UTC -400). No downtime expected.

Commit 16609934 authored by Yumin Yuan's avatar Yumin Yuan Committed by Kitware Robot

Merge topic 'split-edge-sel-cleanup'

82bddd35 Clean up point selection after polygon edge split
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Bob Obara's avatarBob Obara <bob.obara@kitware.com>
Merge-request: !352
parents 08e58f46 82bddd35
......@@ -41,6 +41,7 @@
#include "vtkSMSession.h"
#include "vtkSMSourceProxy.h"
#include "vtkSMVectorProperty.h"
#include "vtkSMInteractiveSelectionPipeline.h"
#include "smtk/model/Edge.h"
#include "smtk/model/Manager.h"
......@@ -98,6 +99,8 @@ void EdgePointPicker::donePicking(pqRenderView* view)
//we want the connection to stop so remove the connection
if(this->Selecter)
{
vtkSMInteractiveSelectionPipeline::GetInstance()->Hide(
vtkSMRenderViewProxy::SafeDownCast(view->getViewProxy()));
this->Selecter->disconnect();
delete this->Selecter;
this->Selecter = NULL;
......
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