From baa0fa97b9d6f43a75e35b694c07aa1603adf496 Mon Sep 17 00:00:00 2001 From: blobfish Date: Wed, 29 Apr 2015 20:08:55 -0400 Subject: [PATCH] Part Design: Sketch: command find planes with app::Part::BaseplaneTypes --- src/Mod/PartDesign/Gui/Command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/PartDesign/Gui/Command.cpp b/src/Mod/PartDesign/Gui/Command.cpp index bc5df6cdc..a21bca2b8 100644 --- a/src/Mod/PartDesign/Gui/Command.cpp +++ b/src/Mod/PartDesign/Gui/Command.cpp @@ -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; }