remove wireframe toggle
This commit is contained in:
parent
b9b78cc1ae
commit
2cfd612b86
3 changed files with 0 additions and 12 deletions
|
|
@ -401,9 +401,6 @@
|
|||
case cca('a'): // auto arrange items on platform
|
||||
platform.layout();
|
||||
break;
|
||||
case cca('w'): // toggle wireframe on widgets
|
||||
API.view.wireframe(API.color.wireframe, API.color.wireframe_opacity);
|
||||
break;
|
||||
default:
|
||||
API.event.emit('keypress', evt);
|
||||
handled = false;
|
||||
|
|
|
|||
|
|
@ -569,11 +569,6 @@
|
|||
SPACE.update();
|
||||
}
|
||||
|
||||
function toggleWireframe(color, opacity) {
|
||||
forAllWidgets(function(w) { w.toggleWireframe(color, opacity) });
|
||||
SPACE.update();
|
||||
}
|
||||
|
||||
function updateSliderMax(set) {
|
||||
let max = STACKS.getRange().tallest - 1;
|
||||
API.var.layer_max = UI.sliderMax.innerText = max;
|
||||
|
|
|
|||
|
|
@ -634,10 +634,6 @@
|
|||
return Date.now() - mark;
|
||||
};
|
||||
|
||||
PRO.toggleWireframe = function (color, opacity) {
|
||||
this.setWireframe(!this.wire, color, opacity);
|
||||
};
|
||||
|
||||
PRO.setWireframe = function(set, color, opacity) {
|
||||
let mesh = this.mesh,
|
||||
widget = this;
|
||||
|
|
|
|||
Loading…
Reference in a new issue