Fixed typo in Transformation::set_rotation()

This commit is contained in:
Enrico Turri 2018-11-01 10:25:08 +01:00
parent a15bf7cc25
commit 42d3db9ab1

View File

@ -1272,7 +1272,7 @@ void Transformation::set_rotation(Axis axis, double rotation)
{
rotation = angle_to_0_2PI(rotation);
if (m_rotation(axis) = rotation)
if (m_rotation(axis) != rotation)
{
m_rotation(axis) = rotation;
m_dirty = true;