Sketcher: change Support from PropertyLinkSub to PropertyLinkSubList

Note: may fail to build after this commit...
This commit is contained in:
DeepSOIC
2015-06-29 20:24:43 +03:00
committed by Stefan Tröger
parent 179f569036
commit 1b754d35c5
3 changed files with 13 additions and 23 deletions

View File

@@ -128,8 +128,7 @@ SketchObject::~SketchObject()
App::DocumentObjectExecReturn *SketchObject::execute(void)
{
try {
App::DocumentObject* support = Support.getValue();
if (support)
if (Support.getSize() > 0)
this->positionBySupport();
}
catch (const Base::Exception& e) {