From 3fe24eae8adfe23243911520d420c718af0e92a8 Mon Sep 17 00:00:00 2001 From: skv Date: Mon, 29 Sep 2014 09:33:39 +0400 Subject: [PATCH] Fix of a polyline on plane (object) construction --- src/GEOMImpl/GEOMImpl_PolylineDriver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2