]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1703: Remove definition of selection area for dimension's text
authorvsv <vitaly.smetannikov@opencascade.com>
Mon, 29 Aug 2016 16:00:58 +0000 (19:00 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Mon, 29 Aug 2016 16:00:58 +0000 (19:00 +0300)
src/SketcherPrs/SketcherPrs_Angle.cpp
src/SketcherPrs/SketcherPrs_LengthDimension.cpp
src/SketcherPrs/SketcherPrs_Radius.cpp

index 0d77fe6c7bb1c78e92af1f0549bf2a564b680235..97bb7bff643dda79590f7a4078be481be66b4dd1 100644 (file)
@@ -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();
 }
index 3253d2716a790b26e7b31a9fe9a2310657364885..024d8962d3e75159532718d8913b0b24b909357f 100644 (file)
@@ -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();
 }
 
index 46391212e10940fb15e475b6f3d83df04e31ceed..306fa9577d2cfc8194b75d8a3e8fe0ce8c91de5f 100644 (file)
@@ -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();
 }