From 09abc4a5e47860f9aab9f8cf428069ed51587a05 Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 11 Sep 2014 19:37:47 +0400 Subject: [PATCH] Issue #117: The same for Radius dimensions --- 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 e79cc9fe3..7f068f0f9 100644 --- a/src/GeomAPI/GeomAPI_AISObject.cpp +++ b/src/GeomAPI/GeomAPI_AISObject.cpp @@ -144,6 +144,7 @@ void GeomAPI_AISObject::createRadius(boost::shared_ptr theCircle, anAspect->MakeArrows3d(Standard_False); anAspect->MakeText3d(false); anAspect->TextAspect()->SetHeight(CONSTRAINT_TEXT_HEIGHT); + anAspect->ArrowAspect()->SetLength(theRadius / 5.); anAspect->MakeTextShaded(false); aDimAIS->DimensionAspect()->MakeUnitsDisplayed(false); aDimAIS->SetDimensionAspect(anAspect); -- 2.39.2