Salome HOME
Issue #780: Make Arrow Tail size and extension line size adaptive to current viewer...
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Angle.cpp
index fbdb47391fe3885c3dec99c0f85499f4804ef253..8603dd444b790c0801d15a8dcc34b0db2bd56a87 100644 (file)
@@ -106,6 +106,9 @@ void SketcherPrs_Angle::Compute(const Handle(PrsMgr_PresentationManager3d)& theP
   AttributeDoublePtr aVal = aData->real(SketchPlugin_Constraint::VALUE());
   SetCustomValue(aVal->value() * PI / 180.0);
 
+  myAspect->SetExtensionSize(myAspect->ArrowAspect()->Length());
+  myAspect->SetArrowTailSize(myAspect->ArrowAspect()->Length());
+
   AIS_AngleDimension::Compute(thePresentationManager, thePresentation, theMode);
 }