add select tool

This commit is contained in:
Stewart Allen 2021-10-09 01:13:41 -04:00
commit ff298e8300
5 changed files with 73 additions and 28 deletions

View file

@ -477,10 +477,15 @@ console.log/** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */
if (Array.isArray(color)) {
color = color[this.getExtruder(settings) % color.length];
}
this.color = color;
let material = this.mesh.material;
material.color.set(color);
};
PRO.getColor = function() {
return this.color;
};
/**
* @param {number} value
*/