]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #117: The same for Radius dimensions
authorvsv <vitaly.smetannikov@opencascade.com>
Thu, 11 Sep 2014 15:37:47 +0000 (19:37 +0400)
committervsv <vitaly.smetannikov@opencascade.com>
Thu, 11 Sep 2014 15:37:47 +0000 (19:37 +0400)
src/GeomAPI/GeomAPI_AISObject.cpp

index e79cc9fe3ec60d4eb42102d7a82bb09185f97f88..7f068f0f9cd15267c9f23be3e9026b86c3b1b22b 100644 (file)
@@ -144,6 +144,7 @@ void GeomAPI_AISObject::createRadius(boost::shared_ptr<GeomAPI_Circ> 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);