From 4a6d278356de9b3c059e29bb4ebd8b3d149394c7 Mon Sep 17 00:00:00 2001 From: ika Date: Fri, 28 Oct 2016 15:51:58 +0300 Subject: [PATCH] 0028014: PMIVis - some tolerances are attached to points out of the models Fix a misprint. --- 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 c5ed6315c7..0dc6236238 100644 --- a/src/XCAFDoc/XCAFDoc_GeomTolerance.cxx +++ b/src/XCAFDoc/XCAFDoc_GeomTolerance.cxx @@ -342,7 +342,7 @@ Handle(XCAFDimTolObjects_GeomToleranceObject) XCAFDoc_GeomTolerance::GetObject() } Handle(TDataStd_RealArray) aPnt; - if(Label().FindChild(ChildLab_PlaneLoc).FindAttribute(TDataStd_RealArray::GetID(), aPnt) && aPnt->Length() == 3 ) + 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)); anObj->SetPoint(aP);