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:
PaddleStroke
2025-09-10 19:12:02 +02:00
committed by GitHub
parent 70060a90b8
commit 23a3ed8433
4 changed files with 14 additions and 4 deletions

View File

@@ -740,7 +740,7 @@ TopoShape FeatureExtrude::generateSingleExtrusionSide(const TopoShape& sketchsha
void FeatureExtrude::onDocumentRestored()
{
// property Type no longer has TwoLengths.
if (strcmp(Type.getValueAsString(), "TwoLengths") == 0) {
if (strcmp(Type.getValueAsString(), "?TwoLengths") == 0) {
Type.setValue("Length");
Type2.setValue("Length");
SideType.setValue("Two sides");