From: gka Date: Thu, 12 Sep 2019 12:21:19 +0000 (+0300) Subject: 0030302: XCAF - Typo in XCAFDoc_GeomTolerance X-Git-Tag: V7_4_0_beta X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FOCCT-740beta2;p=occt.git 0030302: XCAF - Typo in XCAFDoc_GeomTolerance Typo in the XCAFDoc_GeomTolerance.cxx where Loc is used instead of aPnt was corrected. --- 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); }