diff --git a/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/src/SplatterPlotView.cpp b/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/src/SplatterPlotView.cpp index 23febca5b0ba..fb7b4c196d8e 100644 --- a/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/src/SplatterPlotView.cpp +++ b/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/src/SplatterPlotView.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -242,6 +243,16 @@ void SplatterPlotView::render() } emit this->triggerAccept(); + if (vtkSMProxy* viewProxy = this->getView()->getProxy()) + { + vtkSMPropertyHelper helper(viewProxy, "InteractionMode"); + if (helper.GetAsInt() == vtkPVRenderView::INTERACTION_MODE_2D) + { + helper.Set(vtkPVRenderView::INTERACTION_MODE_3D); + viewProxy->UpdateProperty("InteractionMode",1); + this->resetCamera(); + } + } } void SplatterPlotView::renderAll()