]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Integrate patch from N.Geimer (compatibility 4.4, ubuntu 9.10 and debian sid) V5_1_main_20091104 before_mergefrom_V5_1_main_04Nov09
authorvsr <vsr@opencascade.com>
Tue, 3 Nov 2009 14:23:52 +0000 (14:23 +0000)
committervsr <vsr@opencascade.com>
Tue, 3 Nov 2009 14:23:52 +0000 (14:23 +0000)
src/VISUGUI/Makefile.am
src/VISUGUI/VisuGUI_CutSegmentDlg.cxx

index 5e949ab6a125f371f78b5f62794091508e2f70fe..a7519f70b65e6f166b36ab1828b93f1dad264a09 100644 (file)
@@ -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 \
index 764f8104eed382358943926fcace47b8c9f494ca..34ec4ca3984d8b00bb317c81111b823439003cad 100644 (file)
@@ -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();