rename setting vars for outline -> edges
This commit is contained in:
parent
9328e17381
commit
2ed2571759
4 changed files with 16 additions and 21 deletions
|
|
@ -828,7 +828,7 @@ class Widget {
|
|||
return Date.now() - mark;
|
||||
}
|
||||
|
||||
setOutline(set) {
|
||||
setEdges(set) {
|
||||
if (!(api && api.conf)) {
|
||||
// missing api features in engine mode
|
||||
return;
|
||||
|
|
@ -844,7 +844,7 @@ class Widget {
|
|||
}
|
||||
if (set) {
|
||||
let dark = api.space.is_dark();
|
||||
let angle = api.conf.get().controller.outline || 20;
|
||||
let angle = api.conf.get().controller.edgeangle || 20;
|
||||
let edges = new THREE.EdgesGeometry(mesh.geometry, angle);
|
||||
let material = new THREE.LineBasicMaterial({ color: 0 });
|
||||
this.outline = new THREE.LineSegments(edges, material);
|
||||
|
|
|
|||
Loading…
Reference in a new issue