1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-16 10:54:53 +03:00

// fixed scaling attribute setting/getting return value

This commit is contained in:
dpasukhi 2023-09-08 16:08:17 +01:00
parent 359d02b15f
commit d9e6701b25

View File

@ -715,6 +715,7 @@ Standard_Boolean XCAFDoc_ShapeTool::GetShapeUniformScale(const TDF_Label& theShL
theDX = anArrAttr->Value(1); theDX = anArrAttr->Value(1);
theDY = anArrAttr->Value(2); theDY = anArrAttr->Value(2);
theDZ = anArrAttr->Value(3); 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(1, theDX);
anArray->SetValue(2, theDY); anArray->SetValue(2, theDY);
anArray->SetValue(3, theDZ); anArray->SetValue(3, theDZ);
return true;
} }
//======================================================================= //=======================================================================