From: Xu Zhongxing Date: Thu, 4 Nov 2021 05:15:49 +0000 (+0800) Subject: 0032649: Bug in BRepLib::EnsureNormalConsistency() X-Git-Tag: V7_6_1~10 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=03fc07c28b563a2e6cc41635d30b250d87c7abf2;p=occt.git 0032649: Bug in BRepLib::EnsureNormalConsistency() Fix a typo in variable name. --- diff --git a/src/BRepLib/BRepLib.cxx b/src/BRepLib/BRepLib.cxx index 18733f8563..d89ecb4c1f 100644 --- a/src/BRepLib/BRepLib.cxx +++ b/src/BRepLib/BRepLib.cxx @@ -2423,7 +2423,7 @@ Standard_Boolean BRepLib:: gp_Vec3f aNorm1f, aNorm2f; aPT1->Normal (aFNodF1, aNorm1f); - aPT1->Normal (aFNodF2, aNorm2f); + aPT2->Normal (aFNodF2, aNorm2f); const gp_XYZ aNorm1 (aNorm1f.x(), aNorm1f.y(), aNorm1f.z()); const gp_XYZ aNorm2 (aNorm2f.x(), aNorm2f.y(), aNorm2f.z()); const Standard_Real aDot = aNorm1 * aNorm2;