From 5ecfe70647c25546047c1dabf49f4c127ee7569a Mon Sep 17 00:00:00 2001
From: openbuilds-engineer
Date: Mon, 28 Dec 2020 21:12:07 +0200
Subject: [PATCH] v1.0.268
---
CHANGELOG.txt | 1 +
app/css/buttons.css | 5 ++++-
app/lib/3dview/workers/gcodeparser.js | 4 +++-
package.json | 2 +-
4 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 0d8c3e1..435044c 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,3 +1,4 @@
+v1.0.268: Fixed cosmetic layout css issue
v1.0.267: Fixed probe complete dialog, added 1% laser focus power, restore incremental if it was set prior to probe, added 3rd decimal for Inch mode DRO / padding to 2 decimals for mm mode, added Machine Coordinates to DRO tooltip, Handle M0 Pauses (Carbide etc)
v1.0.266: Updated "error 9" dialog to also include details of earlier ALARMs for troubleshooting, Fixed CheckSize bug with Lightburn Relative Coordinates
v1.0.265: Added error handling for Grbl connection failures via Interface, Updated Logging UI, Fixed Keyboard Jog bug
diff --git a/app/css/buttons.css b/app/css/buttons.css
index 0a2dead..935c673 100644
--- a/app/css/buttons.css
+++ b/app/css/buttons.css
@@ -24,7 +24,10 @@
}
.jogcursorbtn {
- margin: 7px;
+ margin-left: 7px;
+ margin-right: 7px;
+ margin-bottom: 0px;
+ margin-top: 5px;
}
.dro {
diff --git a/app/lib/3dview/workers/gcodeparser.js b/app/lib/3dview/workers/gcodeparser.js
index 15f8696..6a7827d 100644
--- a/app/lib/3dview/workers/gcodeparser.js
+++ b/app/lib/3dview/workers/gcodeparser.js
@@ -266,6 +266,7 @@ GCodeParser = function(handlers, modecmdhandlers) {
break;
}
}
+ lines.length = 0;
}
},
colorG0 = 0x00cc00, //bootstrap color
@@ -1223,6 +1224,7 @@ GCodeParser = function(handlers, modecmdhandlers) {
// of toolhead
gcobject.userData.bbbox2 = bbbox2;
gcobject.userData.lines = lines;
+ lines.length = 0; //clean up
gcobject.userData.layers = layers;
// gcobject.userData.center2 = center2;
// gcobject.userData.extraObjects = this.extraObjects;
@@ -1282,4 +1284,4 @@ function convertLineGeometryToBufferGeometry(lineGeometry, color) {
geometry.computeBoundingSphere();
return geometry;
-};
+};
\ No newline at end of file
diff --git a/package.json b/package.json
index a39bfa8..5668fe0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "OpenBuildsCONTROL",
- "version": "1.0.267",
+ "version": "1.0.268",
"license": "AGPL-3.0",
"description": "OpenBuildsCONTROL CNC Machine Interface Software",
"author": "github.com/openbuilds ",