X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_ResultSketchPrs.cpp;h=0715850b9c9764cee537e440f25a88750f9b409d;hb=3d6815215e69b112a72b31d467cda60a6ca877c3;hp=8769ea22fa39ebd04f4cb6caf9924ce37131d04a;hpb=df9ee3602a46b6558586291512a397169216faf7;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_ResultSketchPrs.cpp b/src/PartSet/PartSet_ResultSketchPrs.cpp index 8769ea22f..0715850b9 100755 --- a/src/PartSet/PartSet_ResultSketchPrs.cpp +++ b/src/PartSet/PartSet_ResultSketchPrs.cpp @@ -61,18 +61,6 @@ PartSet_ResultSketchPrs::PartSet_ResultSketchPrs(ResultPtr theResult) SetAutoHilight(aCompSolid.get() == NULL); } -bool PartSet_ResultSketchPrs::isValidShapeType(const TopAbs_ShapeEnum& theBaseType, - const TopAbs_ShapeEnum& theCheckedType) -{ - bool aValid = theBaseType == theCheckedType; - if (!aValid) { - // currently this functionality is for all, as we have no separate wire selection mode - // lately it should be corrected to have the following check only for sketch presentations - aValid = theBaseType == TopAbs_FACE && theCheckedType == TopAbs_WIRE; - } - return aValid; -} - void PartSet_ResultSketchPrs::Compute(const Handle(PrsMgr_PresentationManager3d)& thePresentationManager, const Handle(Prs3d_Presentation)& thePresentation, const Standard_Integer theMode)