unrotate obsoletes rotation marker caching
This commit is contained in:
parent
2439236acb
commit
f7ca157601
1 changed files with 1 additions and 2 deletions
|
|
@ -71,10 +71,9 @@ KIRI.worker = {
|
|||
try {
|
||||
|
||||
let rotation = (Math.PI/180) * (settings.device.bedBelt ? 45 : 0);
|
||||
if (rotation && !widget.rotated) {
|
||||
if (rotation) {
|
||||
widget.mesh = null;
|
||||
widget.points = null;
|
||||
widget.rotated = true;
|
||||
widget.loadVertices(widget.vertices);
|
||||
widget._rotate(rotation,0,0,true);
|
||||
widget.center(false, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue