From 00be985c9712a3d12779956debdfc0abc8d61706 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 24 May 2020 11:25:15 +0200 Subject: [PATCH] PartDesign: [skip ci] set group name for chamfer properties --- src/Mod/PartDesign/App/FeatureChamfer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Mod/PartDesign/App/FeatureChamfer.cpp b/src/Mod/PartDesign/App/FeatureChamfer.cpp index 10bc38d6b6..dd0c401831 100644 --- a/src/Mod/PartDesign/App/FeatureChamfer.cpp +++ b/src/Mod/PartDesign/App/FeatureChamfer.cpp @@ -60,22 +60,22 @@ static App::DocumentObjectExecReturn *validateParameters(int chamferType, double Chamfer::Chamfer() { - ADD_PROPERTY(ChamferType, ((long)0)); + ADD_PROPERTY_TYPE(ChamferType, (0L), "Chamfer", App::Prop_None, "Type of chamfer"); ChamferType.setEnums(ChamferTypeEnums); - ADD_PROPERTY(Size,(1.0)); + ADD_PROPERTY_TYPE(Size, (1.0), "Chamfer", App::Prop_None, "Size of chamfer"); Size.setUnit(Base::Unit::Length); Size.setConstraints(&floatSize); - ADD_PROPERTY(Size2,(1.0)); + ADD_PROPERTY_TYPE(Size2, (1.0), "Chamfer", App::Prop_None, "Second size of chamfer"); Size2.setUnit(Base::Unit::Length); Size2.setConstraints(&floatSize); - ADD_PROPERTY(Angle,(45.0)); + ADD_PROPERTY_TYPE(Angle, (45.0), "Chamfer", App::Prop_None, "Angle of chamfer"); Angle.setUnit(Base::Unit::Angle); Angle.setConstraints(&floatAngle); - ADD_PROPERTY(FlipDirection, (false)); + ADD_PROPERTY_TYPE(FlipDirection, (false), "Chamfer", App::Prop_None, "Flip direction"); updateProperties(); }