From: mpa Date: Mon, 1 Apr 2013 13:35:35 +0000 (+0000) Subject: IPAL0051856: Basic Properties of a hidden edges X-Git-Tag: V7_2_0b1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a745b833f81c7e0040eac77200c862914031789d;p=modules%2Fgeom.git IPAL0051856: Basic Properties of a hidden edges --- diff --git a/src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx b/src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx index 1a29c52ad..13168a8dc 100644 --- a/src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx +++ b/src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx @@ -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 );