IPAL0051856: Basic Properties of a hidden edges

This commit is contained in:
mpa 2013-04-01 13:35:35 +00:00
parent 5b3622aa23
commit a745b833f8

View File

@ -179,8 +179,9 @@ SALOME_Prs* MeasureGUI_PropertiesDlg::buildPrs()
{
SALOME_Prs* prs = 0;
TopoDS_Shape shape;
if ( GEOMBase::GetShape( myObj, shape, TopAbs_EDGE ) ) {
if ( GEOMBase::GetShape( myObj, shape, TopAbs_EDGE ) &&
getDisplayer()->IsDisplayed( GEOMBase::GetEntry(myObj) ) ) {
shape = GEOMBase::CreateArrowForLinearEdge( shape );
if ( !shape.IsNull() )
prs = getDisplayer()->BuildPrs( shape );