From: vsv Date: Mon, 29 Aug 2016 16:00:58 +0000 (+0300) Subject: Issue #1703: Remove definition of selection area for dimension's text X-Git-Tag: V_2.5.0~118 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3e40e36af7bb9e49d10924383c71efd6c8186c16;p=modules%2Fshaper.git Issue #1703: Remove definition of selection area for dimension's text --- diff --git a/src/SketcherPrs/SketcherPrs_Angle.cpp b/src/SketcherPrs/SketcherPrs_Angle.cpp index 0d77fe6c7..97bb7bff6 100644 --- a/src/SketcherPrs/SketcherPrs_Angle.cpp +++ b/src/SketcherPrs/SketcherPrs_Angle.cpp @@ -50,7 +50,6 @@ SketcherPrs_Angle::SketcherPrs_Angle(ModelAPI_Feature* theConstraint, myAspect->ArrowAspect()->SetLength(SketcherPrs_Tools::getArrowSize()); SetDimensionAspect(myAspect); - SetSelToleranceForText2d(SketcherPrs_Tools::getDefaultTextHeight()); myStyleListener = new SketcherPrs_DimensionStyleListener(); } diff --git a/src/SketcherPrs/SketcherPrs_LengthDimension.cpp b/src/SketcherPrs/SketcherPrs_LengthDimension.cpp index 3253d2716..024d8962d 100644 --- a/src/SketcherPrs/SketcherPrs_LengthDimension.cpp +++ b/src/SketcherPrs/SketcherPrs_LengthDimension.cpp @@ -46,8 +46,6 @@ SketcherPrs_LengthDimension::SketcherPrs_LengthDimension(ModelAPI_Feature* theCo myValue(0., false, "") { SetDimensionAspect(SketcherPrs_Tools::createDimensionAspect()); - SetSelToleranceForText2d(SketcherPrs_Tools::getTextHeight()); - myStyleListener = new SketcherPrs_DimensionStyleListener(); } diff --git a/src/SketcherPrs/SketcherPrs_Radius.cpp b/src/SketcherPrs/SketcherPrs_Radius.cpp index 46391212e..306fa9577 100644 --- a/src/SketcherPrs/SketcherPrs_Radius.cpp +++ b/src/SketcherPrs/SketcherPrs_Radius.cpp @@ -34,8 +34,6 @@ SketcherPrs_Radius::SketcherPrs_Radius(ModelAPI_Feature* theConstraint, myValue(1, false, "") { SetDimensionAspect(SketcherPrs_Tools::createDimensionAspect()); - SetSelToleranceForText2d(SketcherPrs_Tools::getDefaultTextHeight()); - myStyleListener = new SketcherPrs_DimensionStyleListener(); }