mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
// fixed scaling attribute setting/getting return value
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
Reference in New Issue
Block a user