mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-09 03:12:26 +00:00
Fix of #1782
This commit is contained in:
1 parent
7c59c218c1
commit
21a7fa6af2
3 files changed
+24
-23
No files matched your search
@@ -1333,6 +1333,8 @@ void Transformation::set_rotation(const Vec3d& rotation)
|
||||
void Transformation::set_rotation(Axis axis, double rotation)
|
||||
{
|
||||
rotation = angle_to_0_2PI(rotation);
|
||||
if (is_approx(std::abs(rotation), 2.0 * (double)PI))
|
||||
rotation = 0.0;
|
||||
|
||||
if (m_rotation(axis) != rotation)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user