This commit is contained in:
blobfish 2015-04-29 10:37:50 -04:00 committed by Stefan Tröger
parent 6877cbbd51
commit 7be3e654f8

View File

@ -77,7 +77,7 @@ PartDesign::Body *getBody(void)
{
PartDesign::Body * activeBody = Gui::Application::Instance->activeView()->getActiveObject<PartDesign::Body*>("Body");
if (activeBody){
if (!activeBody){
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("No active Body"),
QObject::tr("In order to use PartDesign you need an active Body object in the document. "
"Please make one active (double click) or create one. If you have a legacy document "