From: vsv Date: Thu, 11 Sep 2014 15:37:47 +0000 (+0400) Subject: Issue #117: The same for Radius dimensions X-Git-Tag: V_0.4.4~65^2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=09abc4a5e47860f9aab9f8cf428069ed51587a05;p=modules%2Fshaper.git Issue #117: The same for Radius dimensions --- 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);