mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-24 06:30:34 +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;
|
||||
}
|
||||
|
||||
if( aFirstSh == aSecondSh )
|
||||
return NULL;
|
||||
|
||||
TopoDS_Edge aFirstEdge = TopoDS::Edge( aFirstSh );
|
||||
TopoDS_Edge aSecondEdge = TopoDS::Edge( aSecondSh );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user