Commit 82bddd35 authored by Yumin Yuan's avatar Yumin Yuan

Clean up point selection after polygon edge split

parent b9e1ea57
......@@ -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