From: apo Date: Fri, 18 May 2007 10:37:57 +0000 (+0000) Subject: To fix view selection data functionality X-Git-Tag: mergeto_BR_Dev_For_4_0_21May07~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=794dd1e47131f8acee44afbac8325453a64e5ca7;p=modules%2Fvisu.git To fix view selection data functionality --- diff --git a/src/VISUGUI/VisuGUI_Selection.cxx b/src/VISUGUI/VisuGUI_Selection.cxx index c0c1a63a..ea34da39 100644 --- a/src/VISUGUI/VisuGUI_Selection.cxx +++ b/src/VISUGUI/VisuGUI_Selection.cxx @@ -452,7 +452,7 @@ void VisuGUI_SelectionDlg::onSelectionEvent() { aSelector->GetIndex(anIO, aMapIndex); - vtkDataSet* aDataSet = anVISUActor->GetInput(); + vtkDataSet* aDataSet = anVISUActor->GetMapper()->GetInput(); vtkPointData* aPntData = aDataSet->GetPointData(); for (int ind = 1; ind <= aMapIndex.Extent(); ind++) {