//==================================================================================================
void FeaturesPlugin_BooleanCommon::execute()
{
- ListOfShape aPlanes;
+ ListOfShape aPlanes, anEdgesAndFaces;
ObjectHierarchy anObjects, aTools;
bool isSimpleMode = false;
}
// Getting objects.
- if (!processAttribute(OBJECT_LIST_ID(), anObjects, aPlanes))
+ if (!processAttribute(OBJECT_LIST_ID(), anObjects, aPlanes, anEdgesAndFaces))
return;
// Planes are not supported as objects of COMMON operation
aPlanes.clear();
// Getting tools.
if (!isSimpleMode &&
- !processAttribute(TOOL_LIST_ID(), aTools, aPlanes))
+ !processAttribute(TOOL_LIST_ID(), aTools, aPlanes, anEdgesAndFaces))
return;
if (anObjects.IsEmpty() || (!isSimpleMode && aTools.IsEmpty() && aPlanes.empty())) {