]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
#1480 values set as parameters are shown wrong for angles
authornds <nds@opencascade.com>
Wed, 4 May 2016 08:13:57 +0000 (11:13 +0300)
committernds <nds@opencascade.com>
Wed, 4 May 2016 08:13:57 +0000 (11:13 +0300)
src/SketcherPrs/SketcherPrs_Angle.cpp

index c2ad79c468c7d10c3f75396c2e728472ab2aa7c5..d46643fd9c375075d0a5ad7fd2a2114020239162 100644 (file)
@@ -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<GeomDataAPI_Point2D> aFlyoutAttr = 
                                 std::dynamic_pointer_cast<GeomDataAPI_Point2D>
                                 (aData->attribute(SketchPlugin_Constraint::FLYOUT_VALUE_PNT()));