From: nds Date: Wed, 4 May 2016 08:13:57 +0000 (+0300) Subject: #1480 values set as parameters are shown wrong for angles X-Git-Tag: V_2.3.0~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9a199efe516bf83be9175f5214d2c3843f404891;p=modules%2Fshaper.git #1480 values set as parameters are shown wrong for angles --- diff --git a/src/SketcherPrs/SketcherPrs_Angle.cpp b/src/SketcherPrs/SketcherPrs_Angle.cpp index c2ad79c46..d46643fd9 100644 --- a/src/SketcherPrs/SketcherPrs_Angle.cpp +++ b/src/SketcherPrs/SketcherPrs_Angle.cpp @@ -149,6 +149,8 @@ void SketcherPrs_Angle::Compute(const Handle(PrsMgr_PresentationManager3d)& theP myAngle = aVal->value(); myValue = aVal->text(); + myHasParameters = aVal->usedParameters().size() > 0; + std::shared_ptr aFlyoutAttr = std::dynamic_pointer_cast (aData->attribute(SketchPlugin_Constraint::FLYOUT_VALUE_PNT()));