| Index: Source/platform/transforms/RotateTransformOperation.cpp
|
| diff --git a/Source/platform/transforms/RotateTransformOperation.cpp b/Source/platform/transforms/RotateTransformOperation.cpp
|
| index 3c827a369cb25a8461d61b4d5e70587615bf21d9..45f691589bc52cd9d09acdfb171f9ebca11edb8d 100644
|
| --- a/Source/platform/transforms/RotateTransformOperation.cpp
|
| +++ b/Source/platform/transforms/RotateTransformOperation.cpp
|
| @@ -45,8 +45,8 @@ bool RotateTransformOperation::shareSameAxis(const RotateTransformOperation* fro
|
| if (!from && !to)
|
| return true;
|
|
|
| - bool fromZero = !from || from->axis().isZero();
|
| - bool toZero = !to || to->axis().isZero();
|
| + bool fromZero = !from || from->axis().isZero() || fabs(from->angle()) < angleEpsilon;
|
| + bool toZero = !to || to->axis().isZero() || fabs(to->angle()) < angleEpsilon;
|
|
|
| if (fromZero && toZero)
|
| return true;
|
|
|