/// Width of the auxiliary line
inline static const double SKETCH_LINE_WIDTH_AUXILIARY()
{
- return 1;
+ return 2;
}
/// Width of the line
{
AttributeSelectionPtr aAttr = data()->selection(EXTERNAL_ID());
if (aAttr)
- return aAttr->context().get() != NULL;
+ return aAttr->context().get() != NULL && !aAttr->isInvalid();
return false;
}
virtual bool customisePresentation(ResultPtr theResult, AISObjectPtr thePrs,
std::shared_ptr<GeomAPI_ICustomPrs> theDefaultPrs)
{
- bool isCustomized = false;
+ //bool isCustomized = false;
+ bool isCustomized = theDefaultPrs.get() != NULL &&
+ theDefaultPrs->customisePresentation(theResult, thePrs, theDefaultPrs);
int aShapeType = thePrs->getShapeType();
// a compound is processed like the edge because the arc feature uses the compound for presentable AIS
if (aShapeType != 6/*an edge*/ && aShapeType != 7/*a vertex*/ && aShapeType != 0/*compound*/)