From 3e40e36af7bb9e49d10924383c71efd6c8186c16 Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 29 Aug 2016 19:00:58 +0300 Subject: [PATCH] Issue #1703: Remove definition of selection area for dimension's text --- src/SketcherPrs/SketcherPrs_Angle.cpp | 1 - src/SketcherPrs/SketcherPrs_LengthDimension.cpp | 2 -- src/SketcherPrs/SketcherPrs_Radius.cpp | 2 -- 3 files changed, 5 deletions(-) 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(); } -- 2.39.2