114 moveObjects({0, 0, 1}); |
114 moveObjects({0, 0, 1}); |
115 } |
115 } |
116 |
116 |
117 double MoveToolset::getRotateActionAngle() |
117 double MoveToolset::getRotateActionAngle() |
118 { |
118 { |
119 return (pi * grid()->angleSnap()) / 180; |
119 return grid()->angleSnap(); |
120 } |
120 } |
121 |
121 |
122 void MoveToolset::rotateXPos() |
122 void MoveToolset::rotateXPos() |
123 { |
123 { |
124 rotateObjects(1, 0, 0, getRotateActionAngle(), selectedObjects().toList().toVector()); |
124 rotateObjects(1, 0, 0, getRotateActionAngle(), selectedObjects().toList().toVector()); |