]> OCCT Git - occt.git/commitdiff
// fixed scaling attribute setting/getting return value CR0-77-Hybrid-2023090801 CR0-77-Hybrid-2023091201 CR0-77-Hybrid-2023091501 CR0-77-Hybrid-2023092101 CR0-77-Hybrid-2023092701 CR0-77-Hybrid-2023110301 CR0-77-Hybrid-2023111501 CR0-77-Hybrid-2023121901 CR0-77-Hybrid-2024021601 CR0-77-Hybrid-2024022501 CR0-77-Hybrid-2024022601 CR0-77-Hybrid-2024030401 CR0-77-Hybrid-2024040501 CR33397_1
authordpasukhi <dpasukhi@opencascade.com>
Fri, 8 Sep 2023 15:08:17 +0000 (16:08 +0100)
committerdpasukhi <dpasukhi@opencascade.com>
Fri, 8 Sep 2023 15:25:50 +0000 (16:25 +0100)
src/XCAFDoc/XCAFDoc_ShapeTool.cxx

index 430c9e021ddebeb5332a9a6f76344c0326ce9747..6005d561fd4360f89d083e808b0b760ff0b8c20d 100644 (file)
@@ -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;
 }
 
 //=======================================================================