Skip to content
Snippets Groups Projects
Commit cbd0c54d authored by Andrew Maclean's avatar Andrew Maclean
Browse files

Fix ambiguous assignment error.

This fixes: C2593   'operator =' is ambiguous errors.


Former-commit-id: 3cde362c
parent 06f1a960
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,8 @@ BorderWidgetQt::BorderWidgetQt()
this->qvtkWidget->GetRenderWindow()->AddRenderer(renderer);
// Add a border widget to the right renderer
this->BorderWidget = vtkNew<vtkBorderWidget>();
vtkNew<vtkBorderWidget> bw;
this->BorderWidget = bw;
this->BorderWidget->SetInteractor(this->qvtkWidget->GetInteractor());
this->BorderWidget->On();
}
......@@ -16,7 +16,8 @@ EventQtSlotConnect::EventQtSlotConnect()
vtkNew<vtkGenericOpenGLRenderWindow> renderWindow;
this->qvtkWidget->SetRenderWindow(renderWindow);
this->Connections = vtkNew<vtkEventQtSlotConnect>();
vtkNew<vtkEventQtSlotConnect> slotConnector;
this->Connections = slotConnector;
// Sphere
vtkNew<vtkSphereSource> sphereSource;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment