From: vsr Date: Mon, 5 Apr 2010 11:56:45 +0000 (+0000) Subject: 0020668: [CEA] FitAll and points X-Git-Tag: V5_1_4a1~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=961d75ce65d7c7dc7072498a097405c2f58ef116;p=modules%2Fgeom.git 0020668: [CEA] FitAll and points Additional fixes fpor Point and Line driver --- diff --git a/src/GEOMImpl/GEOMImpl_LineDriver.cxx b/src/GEOMImpl/GEOMImpl_LineDriver.cxx index 03ebeb56d..97001a90c 100644 --- a/src/GEOMImpl/GEOMImpl_LineDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_LineDriver.cxx @@ -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); diff --git a/src/GEOMImpl/GEOMImpl_PointDriver.cxx b/src/GEOMImpl/GEOMImpl_PointDriver.cxx index 2c780cd3f..2164fc72c 100644 --- a/src/GEOMImpl/GEOMImpl_PointDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_PointDriver.cxx @@ -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());