From: skv Date: Mon, 29 Sep 2014 05:33:39 +0000 (+0400) Subject: Fix of a polyline on plane (object) construction X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3fe24eae8adfe23243911520d420c718af0e92a8;p=modules%2Fgeom.git Fix of a polyline on plane (object) construction --- diff --git a/src/GEOMImpl/GEOMImpl_PolylineDriver.cxx b/src/GEOMImpl/GEOMImpl_PolylineDriver.cxx index 9c508c2f7..70f59b415 100644 --- a/src/GEOMImpl/GEOMImpl_PolylineDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_PolylineDriver.cxx @@ -128,7 +128,7 @@ Standard_Integer GEOMImpl_PolylineDriver::MakePolyline2D gp_Dir aDirX(aPlaneCoords->Value(i + 6), aPlaneCoords->Value(i + 7), aPlaneCoords->Value(i + 8)); aWPlane = gp_Ax3(aOrigin, aDirZ, aDirX); - } else if (aType == POLYLINE2D_PLN_COORDS) { + } else if (aType == POLYLINE2D_PLN_OBJECT) { Handle(GEOM_Function) aRefFace = aCI.GetWorkingPlane(); TopoDS_Shape aShape = aRefFace->GetValue();