From: dpasukhi Date: Fri, 8 Sep 2023 15:08:17 +0000 (+0100) Subject: // fixed scaling attribute setting/getting return value X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FCR0-77-Hybrid-2023111501;p=occt.git // fixed scaling attribute setting/getting return value --- diff --git a/src/XCAFDoc/XCAFDoc_ShapeTool.cxx b/src/XCAFDoc/XCAFDoc_ShapeTool.cxx index 430c9e021d..6005d561fd 100644 --- a/src/XCAFDoc/XCAFDoc_ShapeTool.cxx +++ b/src/XCAFDoc/XCAFDoc_ShapeTool.cxx @@ -715,6 +715,7 @@ Standard_Boolean XCAFDoc_ShapeTool::GetShapeUniformScale(const TDF_Label& theShL theDX = anArrAttr->Value(1); theDY = anArrAttr->Value(2); theDZ = anArrAttr->Value(3); + return true; } //======================================================================= @@ -734,6 +735,7 @@ Standard_Boolean XCAFDoc_ShapeTool::SetShapeUniformScale(const TDF_Label& theShL anArray->SetValue(1, theDX); anArray->SetValue(2, theDY); anArray->SetValue(3, theDZ); + return true; } //=======================================================================