Salome HOME
Provide editing of periodic spline
authorvsv <vsv@opencascade.com>
Fri, 24 Jan 2020 10:52:59 +0000 (13:52 +0300)
committerazv <azv@opencascade.com>
Mon, 27 Jan 2020 09:51:06 +0000 (12:51 +0300)
src/ModuleBase/ModuleBase_WidgetFactory.cpp
src/SketchPlugin/plugin-Sketch.xml

index a01c7f18df57b8dd85fbb70f46236ce3ceb63814..ab7b17e103e4882e54c016ac02de634f101e2834 100644 (file)
@@ -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)
index c055b33102043647b8b1a5b71e997eaad9799e79..0acbf60d136742ede354b17bd4212e0b26e0bf1c 100644 (file)
@@ -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