From b126f6f26f87acb7b09f0cc56f4dc6b9dd56a13f Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 11 Sep 2014 19:31:45 +0400 Subject: [PATCH] Issue #117: Length of arrows defined as 1/10 of dimension value --- src/GeomAPI/GeomAPI_AISObject.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GeomAPI/GeomAPI_AISObject.cpp b/src/GeomAPI/GeomAPI_AISObject.cpp index 4ba7232b3..e79cc9fe3 100644 --- a/src/GeomAPI/GeomAPI_AISObject.cpp +++ b/src/GeomAPI/GeomAPI_AISObject.cpp @@ -92,6 +92,7 @@ void GeomAPI_AISObject::createDistance(boost::shared_ptr theStartPo anAspect->MakeText3d(false); anAspect->TextAspect()->SetHeight(CONSTRAINT_TEXT_HEIGHT); anAspect->MakeTextShaded(false); + anAspect->ArrowAspect()->SetLength(theDistance / 10.); aDimAIS->DimensionAspect()->MakeUnitsDisplayed(false); aDimAIS->SetDimensionAspect(anAspect); aDimAIS->SetSelToleranceForText2d(CONSTRAINT_TEXT_SELECTION_TOLERANCE); -- 2.39.2