reduce flat threshold detection
This commit is contained in:
parent
86bbcdf3fb
commit
a4f88cd662
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue