Assembly: Do not attempt to drag grounded objects.
This commit is contained in:
committed by
Chris Hennes
parent
74eb6bb156
commit
0972645fab
@@ -800,7 +800,7 @@ AssemblyObject::getConnectedParts(App::DocumentObject* part,
|
||||
|
||||
bool AssemblyObject::isPartGrounded(App::DocumentObject* obj)
|
||||
{
|
||||
std::vector<App::DocumentObject*> groundedObjs = fixGroundedParts();
|
||||
std::vector<App::DocumentObject*> groundedObjs = getGroundedParts();
|
||||
|
||||
for (auto* groundedObj : groundedObjs) {
|
||||
if (groundedObj->getFullName() == obj->getFullName()) {
|
||||
|
||||
Reference in New Issue
Block a user