diff --git a/src/kiri/widget.js b/src/kiri/widget.js index bad76c24..d66f6607 100644 --- a/src/kiri/widget.js +++ b/src/kiri/widget.js @@ -545,6 +545,9 @@ class Widget { this.setWireframe(false); this.clearSlices(); mesh.geometry.applyMatrix4(new THREE.Matrix4().makeScale(x, y, z)); + if (this.outline) { + this.setEdges(true); + } scale.x *= (x || 1.0); scale.y *= (y || 1.0); scale.z *= (z || 1.0); @@ -558,6 +561,9 @@ class Widget { if (center) { this.center(false); } + if (this.outline) { + this.setEdges(true); + } if ((x || y || z) && api && api.event) { api.event.emit('widget.rotate', {widget: this, x, y, z}); }