mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-12 00:29:18 +05:00
INT PAL 0052437: Manage dimentions with arguments "Parallel edges" does not work correctly
This commit is contained in:
parent
477e6586c0
commit
c32371db75
@ -407,6 +407,9 @@ Handle(AIS_LengthDimension) MeasureGUI_DimensionCreateTool::LengthByParallelEdge
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( aFirstSh == aSecondSh )
|
||||||
|
return NULL;
|
||||||
|
|
||||||
TopoDS_Edge aFirstEdge = TopoDS::Edge( aFirstSh );
|
TopoDS_Edge aFirstEdge = TopoDS::Edge( aFirstSh );
|
||||||
TopoDS_Edge aSecondEdge = TopoDS::Edge( aSecondSh );
|
TopoDS_Edge aSecondEdge = TopoDS::Edge( aSecondSh );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user