src/toolsets/movetoolset.cpp

changeset 1403
7a2d84112983
parent 1328
d68d1ce89d05
equal deleted inserted replaced
1402:8bbf2af8c3f5 1403:7a2d84112983
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());

mercurial