]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
IPAL0051856: Basic Properties of a hidden edges V7_2_0b1
authormpa <mpa@opencascade.com>
Mon, 1 Apr 2013 13:35:35 +0000 (13:35 +0000)
committermpa <mpa@opencascade.com>
Mon, 1 Apr 2013 13:35:35 +0000 (13:35 +0000)
src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx

index 1a29c52adf354720ad9c624b396e8afe6468f5c0..13168a8dc1237bb611593b1fc1d0ab3ef31ace29 100644 (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 );