X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_ResultConstruction.cpp;h=d2f3104dab769b742f2e74ad018a845f4b538aea;hb=refs%2Ftags%2FV_1.2.1;hp=1e2021c42637615880d9a35fa48c299f9c77e1e5;hpb=7fcf163a8a369889707c5b73eeeb2bc68a4b906e;p=modules%2Fshaper.git diff --git a/src/Model/Model_ResultConstruction.cpp b/src/Model/Model_ResultConstruction.cpp index 1e2021c42..d2f3104da 100644 --- a/src/Model/Model_ResultConstruction.cpp +++ b/src/Model/Model_ResultConstruction.cpp @@ -44,6 +44,7 @@ std::shared_ptr Model_ResultConstruction::shape() Model_ResultConstruction::Model_ResultConstruction() { + myIsDisabled = true; // by default it is not initialized and false to be after created myIsInHistory = true; myFacesUpToDate = false; setIsConcealed(false); @@ -61,7 +62,7 @@ int Model_ResultConstruction::facesNum() std::dynamic_pointer_cast(myShape); std::list > aFaces; GeomAlgoAPI_SketchBuilder::createFaces(aWirePtr->origin(), aWirePtr->dirX(), - aWirePtr->dirY(), aWirePtr->norm(), aWirePtr, aFaces); + aWirePtr->norm(), aWirePtr, aFaces); std::list >::iterator aFIter = aFaces.begin(); for(; aFIter != aFaces.end(); aFIter++) { std::shared_ptr aFace(new GeomAPI_Face(*aFIter));