From 9a199efe516bf83be9175f5214d2c3843f404891 Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 4 May 2016 11:13:57 +0300 Subject: [PATCH] #1480 values set as parameters are shown wrong for angles --- src/SketcherPrs/SketcherPrs_Angle.cpp | 2 ++ 1 file changed, 2 insertions(+) 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())); -- 2.39.2