Part Design: Sketch: command find planes with app::Part::BaseplaneTypes

This commit is contained in:
blobfish 2015-04-29 20:08:55 -04:00 committed by Stefan Tröger
parent b9512a2663
commit baa0fa97b9

View File

@ -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;
}