reduce flat threshold detection

This commit is contained in:
Stewart Allen 2019-01-13 23:13:52 -05:00
commit a4f88cd662
2 changed files with 2 additions and 2 deletions

View file

@ -200,7 +200,7 @@ var gs_kiri_slicer = exports;
}
for (key in zFlat) {
// todo make threshold for flat detection configurable
if (!zFlat.hasOwnProperty(key) || zFlat[key] < 100) continue;
if (!zFlat.hasOwnProperty(key) || zFlat[key] < 10) continue;
if (!zIndexes.contains(key) && key >= zMin) zIndexes.push(parseFloat(key));
}
// sort top down

View file

@ -1,7 +1,7 @@
var exports = {
COPYRIGHT:"Copyright (C) 2014-2018 Stewart Allen <sa@grid.space> - All Rights Reserved",
LICENSE:"See the license.md file included with the source distribution",
VERSION:"1.2.4d"
VERSION:"1.2.4e"
};
if (!module) var module = {};
module.exports = exports;