Setup ShapeBinder Viewprovider and command

This commit is contained in:
Stefan Tröger
2015-07-18 19:36:44 +02:00
parent 811ccc410c
commit e58ae2b616
6 changed files with 304 additions and 5 deletions

View File

@@ -101,13 +101,13 @@ TopoShape ShapeBinder::buildShapeFromReferences(std::vector< App::DocumentObject
if(objs[index] != obj)
continue;
//in this mode the full shape is allowed, as we already started the subshape
//prcessing
//in this mode the full shape is not allowed, as we already started the subshape
//processing
if(sub.empty())
continue;
if(base.isNull())
base = obj->Shape.getShape();
base = obj->Shape.getShape().getSubShape(sub.c_str());
else
operators.push_back(obj->Shape.getShape().getSubShape(sub.c_str()));
}