mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-24 16:30:35 +05:00
IPAL0051856: Basic Properties of a hidden edges
This commit is contained in:
parent
5b3622aa23
commit
a745b833f8
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user