Part Design: Sketch: command find planes with app::Part::BaseplaneTypes
This commit is contained in:
parent
b9512a2663
commit
baa0fa97b9
|
@ -792,7 +792,7 @@ void CmdPartDesignNewSketch::activated(int iMsg)
|
|||
if (!pcActiveBody->hasFeature(feat)) {
|
||||
bool isBasePlane = false;
|
||||
for (unsigned i = 0; i < 3; i++) {
|
||||
if (strcmp(PartDesignGui::BaseplaneNames[i], feat->getNameInDocument()) == 0) {
|
||||
if (strcmp(App::Part::BaseplaneTypes[i], feat->getNameInDocument()) == 0) {
|
||||
isBasePlane = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user