From 250dd8079a224b8f6789244e29e4c72c051dd1b0 Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 24 Jan 2020 13:52:59 +0300 Subject: [PATCH] Provide editing of periodic spline --- src/ModuleBase/ModuleBase_WidgetFactory.cpp | 2 ++ src/SketchPlugin/plugin-Sketch.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ModuleBase/ModuleBase_WidgetFactory.cpp b/src/ModuleBase/ModuleBase_WidgetFactory.cpp index a01c7f18d..ab7b17e10 100644 --- a/src/ModuleBase/ModuleBase_WidgetFactory.cpp +++ b/src/ModuleBase/ModuleBase_WidgetFactory.cpp @@ -204,6 +204,8 @@ void ModuleBase_WidgetFactory::getAttributeTitle(const std::string& theAttribute theTitle = QString::fromStdString(myWidgetApi->getProperty(CONTAINER_PAGE_NAME)).toStdString().c_str(); } + else + theTitle = theAttributeId; } void ModuleBase_WidgetFactory::getGreedAttribute(std::string& theAttributeId) diff --git a/src/SketchPlugin/plugin-Sketch.xml b/src/SketchPlugin/plugin-Sketch.xml index c055b3310..0acbf60d1 100644 --- a/src/SketchPlugin/plugin-Sketch.xml +++ b/src/SketchPlugin/plugin-Sketch.xml @@ -6,7 +6,7 @@ nested="SketchPoint SketchIntersectionPoint SketchLine SketchCircle SketchMacroCircle SketchArc SketchMacroArc SketchEllipse SketchMacroEllipse SketchEllipticArc SketchMacroEllipticArc - SketchBSpline SketchMacroBSpline SketchMacroBSplinePeriodic + SketchBSpline SketchMacroBSpline SketchMacroBSplinePeriodic SketchBSplinePeriodic SketchRectangle SketchProjection SketchConstraintLength SketchConstraintRadius SketchConstraintDistance SketchConstraintDistanceHorizontal SketchConstraintDistanceVertical -- 2.30.2