Extend python interface for groups and fix test cases

This commit is contained in:
Stefan Tröger
2017-02-12 09:01:22 +01:00
committed by wmayer
parent e5c1f2bc70
commit 1d10dd2835
8 changed files with 178 additions and 105 deletions

View File

@@ -615,6 +615,9 @@ CmdPartDesignMoveFeature::CmdPartDesignMoveFeature()
void CmdPartDesignMoveFeature::activated(int iMsg)
{
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Features moving is diabled"),
QObject::tr("Moving features is currently disabled as there is no way of handling origin connected moves"));
/*
Q_UNUSED(iMsg);
std::vector<App::DocumentObject*> features = getSelection().getObjectsOfType(Part::Feature::getClassTypeId());
if (features.empty()) return;
@@ -731,7 +734,7 @@ void CmdPartDesignMoveFeature::activated(int iMsg)
PartDesignGui::relinkToOrigin(feat, target);
}
updateActive();
updateActive();*/
}
bool CmdPartDesignMoveFeature::isActive(void)