Base: [skip ci] do not normalize axis when changing angle of a Rotation object

This commit is contained in:
wmayer
2019-12-28 14:04:02 +01:00
parent ec602a0934
commit ba95cc73ad

View File

@@ -373,7 +373,7 @@ Py::Float RotationPy::getAngle(void) const
void RotationPy::setAngle(Py::Float arg)
{
Base::Vector3d axis; double angle;
this->getRotationPtr()->getValue(axis, angle);
this->getRotationPtr()->getRawValue(axis, angle);
angle = static_cast<double>(arg);
this->getRotationPtr()->setValue(axis, angle);
}