fix missing time() operation in points lib

This commit is contained in:
Stewart Allen 2020-11-06 14:38:46 -05:00
commit 6ccb4716a1
2 changed files with 4 additions and 4 deletions

View file

@ -22,7 +22,7 @@
let parr = new Array(array.length / 3),
i = 0,
j = 0,
t = time(),
t = Date.now(),
hash = {},
unique = 0,
passes = 0,
@ -109,7 +109,7 @@
after: parr.length,
unique: unique,
decimations: passes,
time: (time() - t)
time: (Date.now() - t)
});
return parr;

View file

@ -142,9 +142,9 @@ kiri.lang['en-us'] = {
pt_menu: "parts",
pt_deci_s: "decimate",
pt_deci_l: "enable or disable\npoint decimation\nfor faster slicing",
pt_deci_l: "enable or disable point decimation\nduring port import. for faster slicing\nand lower memory usage",
pt_qual_s: "quality",
pt_qual_l: "level of detail\nto retain on\nimported part",
pt_qual_l: "level of detail to retain\nduring slicing operations\nlower is faster",
xp_menu: "exports",