PartDesign: Extrude: Fix twoLength/uptoshape broken (#23812)
* PartDesign: Extrude: Fix twoLength/uptoshape broken * Update FeaturePocket.cpp * Update FeatureExtrude.cpp * fix test
This commit is contained in:
@@ -38,7 +38,11 @@
|
||||
|
||||
using namespace PartDesign;
|
||||
|
||||
const char* Pad::TypeEnums[]= {"Length", "UpToLast", "UpToFirst", "UpToFace", "UpToShape", nullptr};
|
||||
// Note, TwoLengths has been deprecated by #21794. We do not remove it from the ui
|
||||
// because the files store the enum index. So it is not possible to migrate files if the
|
||||
// enum entry is removed (see #23612). In the distant future, when all files are reasonably
|
||||
// migrated we can drop this.
|
||||
const char* Pad::TypeEnums[]= {"Length", "UpToLast", "UpToFirst", "UpToFace", "?TwoLengths", "UpToShape", nullptr};
|
||||
|
||||
PROPERTY_SOURCE(PartDesign::Pad, PartDesign::FeatureExtrude)
|
||||
|
||||
@@ -82,3 +86,4 @@ App::DocumentObjectExecReturn* Pad::execute()
|
||||
{
|
||||
return buildExtrusion(ExtrudeOption::MakeFace | ExtrudeOption::MakeFuse);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user