From: vsr Date: Tue, 3 Nov 2009 14:23:52 +0000 (+0000) Subject: Integrate patch from N.Geimer (compatibility 4.4, ubuntu 9.10 and debian sid) X-Git-Tag: V5_1_main_20091104 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=07475f0b4583f85d06c9646be8defdc11cc0ab69;p=modules%2Fvisu.git Integrate patch from N.Geimer (compatibility 4.4, ubuntu 9.10 and debian sid) --- diff --git a/src/VISUGUI/Makefile.am b/src/VISUGUI/Makefile.am index 5e949ab6..a7519f70 100644 --- a/src/VISUGUI/Makefile.am +++ b/src/VISUGUI/Makefile.am @@ -39,7 +39,6 @@ salomeinclude_HEADERS= \ VisuGUI.h \ VisuGUI_Module.h \ VisuGUI_Selection.h \ - VisuGUI_Tools.h \ VisuGUI_ViewTools.h \ VisuGUI_NameDlg.h \ VisuGUI_FileDlg.h \ diff --git a/src/VISUGUI/VisuGUI_CutSegmentDlg.cxx b/src/VISUGUI/VisuGUI_CutSegmentDlg.cxx index 764f8104..34ec4ca3 100644 --- a/src/VISUGUI/VisuGUI_CutSegmentDlg.cxx +++ b/src/VISUGUI/VisuGUI_CutSegmentDlg.cxx @@ -433,7 +433,7 @@ void VisuGUI_CutSegmentDlg::updatePoints( bool update ) aPoints->InsertNextPoint( aPoint2 ); vtkCellArray* aVerts = vtkCellArray::New(); - for( int i = 0, n = aPoints->GetNumberOfPoints(); i < n; i++ ) + for( vtkIdType i = 0, n = aPoints->GetNumberOfPoints(); i < n; i++ ) aVerts->InsertNextCell( 1, &i ); vtkPolyData* aProfile = vtkPolyData::New();