From d9e6701b25f2f815b75414eba2034880adf91e9e Mon Sep 17 00:00:00 2001 From: dpasukhi Date: Fri, 8 Sep 2023 16:08:17 +0100 Subject: [PATCH] // fixed scaling attribute setting/getting return value --- src/XCAFDoc/XCAFDoc_ShapeTool.cxx | 2 ++ 1 file changed, 2 insertions(+) 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; } //=======================================================================