+ fixes #0001514: Padding a sketch inside a group fails with error message
This commit is contained in:
@@ -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*)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user