From 783e9e35391c40536e7d5e0e445aa82ffbf01fb3 Mon Sep 17 00:00:00 2001 From: a3boot Date: Thu, 1 Jul 2021 20:52:13 +0300 Subject: [PATCH] v0.0.37 critical rounding bug fix --- CHANGELOG.md | 5 ++++- lib/interpretator.js | 7 ++++--- package.json | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12e3468..f836c62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -97,4 +97,7 @@ - FOR-ENDFOR with named variable - calculation of RP perfomed in WCS - calculation of ANG with MIRROR in WCS - - Circle end point tolerance increased \ No newline at end of file + - Circle end point tolerance increased + +#### v0.0.37 + - critical rounding bug fix \ No newline at end of file diff --git a/lib/interpretator.js b/lib/interpretator.js index 222182e..0d8ce0e 100644 --- a/lib/interpretator.js +++ b/lib/interpretator.js @@ -4,7 +4,7 @@ import {loadSnippet} from "./snippets"; var fs = require("fs-extra"); var path = require("path"); -const {dialog} = require("remote"); +const {dialog} = require("electron").remote; import View from './sinumerik' @@ -3132,7 +3132,7 @@ export function mathParse(expression, programName) { // console.log('mathParse: ' + expression); -// console.log('input string: ' + expression); + // console.log('input string: ' + expression); for (let i = 0; i < replacements.Math.desired.length; i++) { var regEx = new RegExp(`(?