kopia lustrzana https://github.com/OpenBuilds/OpenBuilds-CONTROL
3d viewer fix
rodzic
41baf894dc
commit
88daa328ab
|
@ -98,6 +98,12 @@ function initSocket() {
|
||||||
|
|
||||||
socket.on('gcodeupload', function(data) {
|
socket.on('gcodeupload', function(data) {
|
||||||
printLog("Received new GCODE from API")
|
printLog("Received new GCODE from API")
|
||||||
|
if (scene.getObjectByName('gcodeobject')) {
|
||||||
|
// console.log("Existing GCODE object: Cleaning up first")
|
||||||
|
scene.remove(scene.getObjectByName('gcodeobject'))
|
||||||
|
object = false;
|
||||||
|
}
|
||||||
|
resetView();
|
||||||
editor.session.setValue(data);
|
editor.session.setValue(data);
|
||||||
$('#controlTab').click()
|
$('#controlTab').click()
|
||||||
if (webgl) {
|
if (webgl) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "OpenBuildsMachineDriver",
|
"name": "OpenBuildsMachineDriver",
|
||||||
"version": "1.0.87",
|
"version": "1.0.88",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"description": "Machine Interface Driver for OpenBuilds",
|
"description": "Machine Interface Driver for OpenBuilds",
|
||||||
"author": "github.com/openbuilds <webmaster@openbuilds.com>",
|
"author": "github.com/openbuilds <webmaster@openbuilds.com>",
|
||||||
|
|
Ładowanie…
Reference in New Issue