mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 21:47:59 +01:00
set enabled of control
doesn’t do anything
This commit is contained in:
parent
16158a3e3c
commit
3a09b93f46
@ -94,6 +94,7 @@ class Interface extends React.Component {
|
|||||||
|
|
||||||
reset = () => {
|
reset = () => {
|
||||||
const { control, mesh, render, gcode, scene } = this.state;
|
const { control, mesh, render, gcode, scene } = this.state;
|
||||||
|
control.enabled = true;
|
||||||
control.visible = true;
|
control.visible = true;
|
||||||
mesh.visible = true;
|
mesh.visible = true;
|
||||||
|
|
||||||
@ -133,6 +134,7 @@ class Interface extends React.Component {
|
|||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
// can't disable control ui still interacts with mouse input
|
// can't disable control ui still interacts with mouse input
|
||||||
|
control.enabled = false;
|
||||||
control.visible = false;
|
control.visible = false;
|
||||||
mesh.visible = false;
|
mesh.visible = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user