]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix of a polyline on plane (object) construction
authorskv <skv@opencascade.com>
Mon, 29 Sep 2014 05:33:39 +0000 (09:33 +0400)
committerskv <skv@opencascade.com>
Mon, 29 Sep 2014 05:33:39 +0000 (09:33 +0400)
src/GEOMImpl/GEOMImpl_PolylineDriver.cxx

index 9c508c2f78b678be0b254d87a9b026d4de9b2e36..70f59b415fe6c620d388f3bdf93b863a4c23d8fc 100644 (file)
@@ -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();