diff --git a/src/STEPCAFControl/STEPCAFControl_Reader.cxx b/src/STEPCAFControl/STEPCAFControl_Reader.cxx index 41c6e87882..ac50c771bb 100644 --- a/src/STEPCAFControl/STEPCAFControl_Reader.cxx +++ b/src/STEPCAFControl/STEPCAFControl_Reader.cxx @@ -2394,12 +2394,7 @@ void readAnnotation(const Handle(XSControl_TransferReader)& theTR, { Standard_Real aXmin, aYmin, aZmin, aXmax, aYmax, aZmax; aBox.Get(aXmin, aYmin, aZmin, aXmax, aYmax, aZmax); - if (isHasPlane && !aBox.IsOut(aPlaneAxes.Location())) { - aPtext = aPlaneAxes.Location(); - } - else { - aPtext = gp_Pnt((aXmin + aXmax) * 0.5, (aYmin + aYmax) * 0.5, (aZmin + aZmax) * 0.5); - } + aPtext = gp_Pnt((aXmin + aXmax) * 0.5, (aYmin + aYmax) * 0.5, (aZmin + aZmax) * 0.5); } else { aPtext = aPlaneAxes.Location();