eliminate specialized rotate for belt
This commit is contained in:
parent
64a388cc05
commit
fb39c48011
2 changed files with 5 additions and 9 deletions
|
|
@ -566,17 +566,13 @@ class Widget {
|
|||
this.setModified();
|
||||
}
|
||||
|
||||
rotate(x, y, z, temp) {
|
||||
this.group.forEach(w => {
|
||||
w._rotate(x, y, z, temp);
|
||||
});
|
||||
this.center(false);
|
||||
}
|
||||
|
||||
rotateRaw(x, y, z, temp) {
|
||||
rotate(x, y, z, temp, center = true) {
|
||||
this.group.forEach(w => {
|
||||
w._rotate(x, y, z, temp);
|
||||
});
|
||||
if (center) {
|
||||
this.center(false);
|
||||
}
|
||||
}
|
||||
|
||||
_rotate(x, y, z, temp) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue