From c30097d4ce88858d323d117a93d8b939125995a9 Mon Sep 17 00:00:00 2001 From: gka Date: Wed, 25 Apr 2018 19:42:27 +0300 Subject: [PATCH] Additional fix for 29713 --- src/ShapeAnalysis/ShapeAnalysis_Edge.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ShapeAnalysis/ShapeAnalysis_Edge.cxx b/src/ShapeAnalysis/ShapeAnalysis_Edge.cxx index 0ae7794bd4..5342e2a924 100644 --- a/src/ShapeAnalysis/ShapeAnalysis_Edge.cxx +++ b/src/ShapeAnalysis/ShapeAnalysis_Edge.cxx @@ -438,7 +438,7 @@ Standard_Boolean ShapeAnalysis_Edge::CheckCurve3dWithPCurve (const TopoDS_Edge& TopoDS_Vertex aFirstVert = FirstVertex (edge); TopoDS_Vertex aLastVert = LastVertex (edge); - if (aFirstVert.IsNull() || aLastVert.IsNull()) + if (aFirstVert.IsNull() || aLastVert.IsNull() || aFirstVert.IsSame(aLastVert)) return Standard_False; Standard_Real preci1 = BRep_Tool::Tolerance (aFirstVert), -- 2.39.5