]> OCCT Git - occt.git/commitdiff
0032649: Bug in BRepLib::EnsureNormalConsistency()
authorXu Zhongxing <xuzhongxing@iscas.ac.cn>
Thu, 4 Nov 2021 05:15:49 +0000 (13:15 +0800)
committerinv <inv@opencascade.com>
Sun, 21 Nov 2021 09:42:08 +0000 (12:42 +0300)
Fix a typo in variable name.

src/BRepLib/BRepLib.cxx

index 18733f8563b0c5c07d689a88ba6b33e4d56fa8c4..d89ecb4c1f0a87ef0cbca40621d5195ea190943a 100644 (file)
@@ -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;