]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0020668: [CEA] FitAll and points
authorvsr <vsr@opencascade.com>
Mon, 5 Apr 2010 11:56:45 +0000 (11:56 +0000)
committervsr <vsr@opencascade.com>
Mon, 5 Apr 2010 11:56:45 +0000 (11:56 +0000)
Additional fixes fpor Point and Line driver

src/GEOMImpl/GEOMImpl_LineDriver.cxx
src/GEOMImpl/GEOMImpl_PointDriver.cxx

index 03ebeb56de1967faa267c3aa76ac76fcb280ba6e..97001a90c03a8c6cc6bda92769ab40603303a211 100644 (file)
@@ -163,7 +163,7 @@ Standard_Integer GEOMImpl_LineDriver::Execute(TFunction_Logbook& log) const
   }
 
   if (aShape.IsNull()) return 0;
-  aShape.Infinite(true);
+  //aShape.Infinite(true); // VSR: 05/04/2010: Fix 20668 (Fit All for points & lines)
 
   aFunction->SetValue(aShape);
 
index 2c780cd3f05619670953ae533c0df8ddac084f57..2164fc72c85ff13c10b80dd65a7079f414765111 100644 (file)
@@ -223,7 +223,7 @@ Standard_Integer GEOMImpl_PointDriver::Execute(TFunction_Logbook& log) const
     aShape = mkVertex.Shape();
   }
 
-  aShape.Infinite(Standard_True);
+  //aShape.Infinite(Standard_True); // VSR: 05/04/2010: Fix 20668 (Fit All for points & lines)
   aFunction->SetValue(aShape);
 
   log.SetTouched(Label());