Skip to content
Snippets Groups Projects
Commit 4fd29be3 authored by Xiaowei Li's avatar Xiaowei Li
Browse files

chore: revert some code not related to this change

parent 754d6415
Branches
Tags
No related merge requests found
......@@ -196,7 +196,6 @@ bool QVTKInteractorAdapter::ProcessEvent(QEvent* e, vtkRenderWindowInteractor* i
break;
}
}
e2->accept();
return true;
}
......
......@@ -312,15 +312,9 @@ void QVTKOpenGLNativeWidget::cleanupContext()
//------------------------------------------------------------------------------
bool QVTKOpenGLNativeWidget::event(QEvent* evt)
{
bool EventProcessed = false;
if (this->RenderWindowAdapter)
{
EventProcessed = this->RenderWindowAdapter->handleEvent(evt);
}
if (EventProcessed)
{
return true;
this->RenderWindowAdapter->handleEvent(evt);
}
return this->Superclass::event(evt);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment