From: vsv Date: Fri, 24 Jan 2020 10:52:59 +0000 (+0300) Subject: Provide editing of periodic spline X-Git-Tag: V9_5_0a1~54^2~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=250dd8079a224b8f6789244e29e4c72c051dd1b0;p=modules%2Fshaper.git Provide editing of periodic spline --- 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