From 5859be3886633bfcf829a6b1d8f3d47408b76e1d Mon Sep 17 00:00:00 2001 From: gka Date: Thu, 12 Sep 2019 15:21:19 +0300 Subject: [PATCH] 0030302: XCAF - Typo in XCAFDoc_GeomTolerance Typo in the XCAFDoc_GeomTolerance.cxx where Loc is used instead of aPnt was corrected. --- src/XCAFDoc/XCAFDoc_GeomTolerance.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XCAFDoc/XCAFDoc_GeomTolerance.cxx b/src/XCAFDoc/XCAFDoc_GeomTolerance.cxx index f1e6d239c1..2355b2691e 100644 --- a/src/XCAFDoc/XCAFDoc_GeomTolerance.cxx +++ b/src/XCAFDoc/XCAFDoc_GeomTolerance.cxx @@ -345,7 +345,7 @@ Handle(XCAFDimTolObjects_GeomToleranceObject) XCAFDoc_GeomTolerance::GetObject() Handle(TDataStd_RealArray) aPnt; if (Label().FindChild(ChildLab_Pnt).FindAttribute(TDataStd_RealArray::GetID(), aPnt) && aPnt->Length() == 3) { - gp_Pnt aP(aLoc->Value(aPnt->Lower()), aPnt->Value(aPnt->Lower() + 1), aPnt->Value(aPnt->Lower() + 2)); + gp_Pnt aP(aPnt->Value(aPnt->Lower()), aPnt->Value(aPnt->Lower() + 1), aPnt->Value(aPnt->Lower() + 2)); anObj->SetPoint(aP); }