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 {
|
try {
|
||||||
|
|
||||||
let rotation = (Math.PI/180) * (settings.device.bedBelt ? 45 : 0);
|
let rotation = (Math.PI/180) * (settings.device.bedBelt ? 45 : 0);
|
||||||
if (rotation && !widget.rotated) {
|
if (rotation) {
|
||||||
widget.mesh = null;
|
widget.mesh = null;
|
||||||
widget.points = null;
|
widget.points = null;
|
||||||
widget.rotated = true;
|
|
||||||
widget.loadVertices(widget.vertices);
|
widget.loadVertices(widget.vertices);
|
||||||
widget._rotate(rotation,0,0,true);
|
widget._rotate(rotation,0,0,true);
|
||||||
widget.center(false, true);
|
widget.center(false, true);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue