Multi selection crash remove.
}
if (aShape.get() != NULL && !aShape->isNull()) {
if (myIsInVaildate)
- theObject = myExternalObjectMgr->externalObjectValidated(theObject, theShape, sketch());
+ theObject = myExternalObjectMgr->externalObjectValidated(theObject, aShape, sketch());
else
- theObject = myExternalObjectMgr->externalObject(theObject, theShape, sketch());
+ theObject = myExternalObjectMgr->externalObject(theObject, aShape, sketch());
}
}
}
void SketcherPrs_SymbolPrs::ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,
const Standard_Integer aMode)
{
- //ClearSelected();
+ ClearSelected();
if ((aMode == 0) || (aMode == SketcherPrs_Tools::Sel_Constraint)) {
for (int i = 1; i <= mySPoints.Length(); i++)
aSelection->Add(mySPoints.Value(i));