From a745b833f81c7e0040eac77200c862914031789d Mon Sep 17 00:00:00 2001 From: mpa Date: Mon, 1 Apr 2013 13:35:35 +0000 Subject: [PATCH] IPAL0051856: Basic Properties of a hidden edges --- src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ); -- 2.39.2