mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-12 00:29:18 +05:00
IPAL0051856: Basic Properties of a hidden edges
This commit is contained in:
parent
5b3622aa23
commit
a745b833f8
@ -180,7 +180,8 @@ SALOME_Prs* MeasureGUI_PropertiesDlg::buildPrs()
|
|||||||
SALOME_Prs* prs = 0;
|
SALOME_Prs* prs = 0;
|
||||||
TopoDS_Shape shape;
|
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 );
|
shape = GEOMBase::CreateArrowForLinearEdge( shape );
|
||||||
if ( !shape.IsNull() )
|
if ( !shape.IsNull() )
|
||||||
prs = getDisplayer()->BuildPrs( shape );
|
prs = getDisplayer()->BuildPrs( shape );
|
||||||
|
Loading…
Reference in New Issue
Block a user