Salome HOME
Copyright update 2022
[modules/geom.git] / src / OCC2VTK / GEOM_ShadingFace.cxx
old mode 100755 (executable)
new mode 100644 (file)
index a802cbc..7eee99c
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -18,7 +18,6 @@
 //
 
 #include "GEOM_ShadingFace.h" 
-#include "OCC2VTK_internal.h"
  
 #include <vtkObjectFactory.h> 
  
@@ -34,7 +33,7 @@
 #include <Poly_Triangulation.hxx>
 
 
-vtkStandardNewMacro(GEOM_ShadingFace);
+vtkStandardNewMacro(GEOM_ShadingFace)
  
 GEOM_ShadingFace::GEOM_ShadingFace() 
 { 
@@ -58,7 +57,7 @@ int GEOM_ShadingFace::RequestData(vtkInformation *vtkNotUsed(request),
   aPolyData->SetPoints(aPts);
   aPts->Delete();
 
-  TFaceSet::Iterator anIter(myData->myFaceSet);
+  TFaceSet::Iterator anIter(myFaceSet);
   for(; anIter.More(); anIter.Next()){
     const TopoDS_Face& aFace = anIter.Value();
     OCC2VTK(aFace,aPolyData,aPts);