void ModelHighAPI_Selection::setDeflection(double theValue)
{
- if (myVariantType != VT_ResultSubShapePair)
+ if (myVariantType != VT_ResultSubShapePair || !myResultSubShapePair.first.get())
return;
AttributeDoublePtr aDeflectionAttr =
// LCOV_EXCL_START
void ModelHighAPI_Selection::setTransparency(double theValue)
{
- if (myVariantType != VT_ResultSubShapePair)
+ if (myVariantType != VT_ResultSubShapePair || !myResultSubShapePair.first.get())
return;
AttributeDoublePtr aTransparencyAttr =