]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Compilation on Linux (Mandriva2010-64)
authorouv <ouv@opencascade.com>
Thu, 29 Nov 2012 15:33:28 +0000 (15:33 +0000)
committerouv <ouv@opencascade.com>
Thu, 29 Nov 2012 15:33:28 +0000 (15:33 +0000)
src/VTKViewer/VTKViewer_GeometryFilter.cxx

index ff66f0b3f6610bf7a738e61653acf7c46ba9e90c..955f682b5fce372166fdb73b178c0801039c7e1f 100755 (executable)
@@ -507,7 +507,7 @@ VTKViewer_GeometryFilter
                   {
                     for (i = 0; i < numFacePts; i++)
                       aNewPts[i] = ptIds[pt0 + i];
-                    newCellId = output->InsertNextCell(aCellType, numFacePts, aNewPts);
+                    newCellId = output->InsertNextCell(aCellType, numFacePts, (vtkIdType*)aNewPts);
                     if (myStoreMapping)
                       myVTK2ObjIds.push_back(cellId);
                     outputCD->CopyData(cd, cellId, newCellId);