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:
parent
359d02b15f
commit
d9e6701b25
@ -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;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user