+ fixes #0001514: Padding a sketch inside a group fails with error message

This commit is contained in:
wmayer
2014-04-25 17:28:32 +02:00
parent 6f43ef821c
commit e3684706cb
6 changed files with 60 additions and 7 deletions

View File

@@ -31,6 +31,7 @@
#include "Document.h"
#include "DocumentObject.h"
#include "DocumentObjectPy.h"
#include "DocumentObjectGroup.h"
#include "PropertyLinks.h"
#define new DEBUG_CLIENTBLOCK
using namespace App;
@@ -158,6 +159,11 @@ std::vector<App::DocumentObject*> DocumentObject::getInList(void) const
return std::vector<App::DocumentObject*>();
}
DocumentObjectGroup* DocumentObject::getGroup() const
{
return DocumentObjectGroup::getGroupOfObject(this);
}
void DocumentObject::onLostLinkToObject(DocumentObject*)
{