fix missing time() operation in points lib
This commit is contained in:
parent
44cfa53a25
commit
6ccb4716a1
2 changed files with 4 additions and 4 deletions
|
|
@ -22,7 +22,7 @@
|
||||||
let parr = new Array(array.length / 3),
|
let parr = new Array(array.length / 3),
|
||||||
i = 0,
|
i = 0,
|
||||||
j = 0,
|
j = 0,
|
||||||
t = time(),
|
t = Date.now(),
|
||||||
hash = {},
|
hash = {},
|
||||||
unique = 0,
|
unique = 0,
|
||||||
passes = 0,
|
passes = 0,
|
||||||
|
|
@ -109,7 +109,7 @@
|
||||||
after: parr.length,
|
after: parr.length,
|
||||||
unique: unique,
|
unique: unique,
|
||||||
decimations: passes,
|
decimations: passes,
|
||||||
time: (time() - t)
|
time: (Date.now() - t)
|
||||||
});
|
});
|
||||||
|
|
||||||
return parr;
|
return parr;
|
||||||
|
|
|
||||||
|
|
@ -142,9 +142,9 @@ kiri.lang['en-us'] = {
|
||||||
|
|
||||||
pt_menu: "parts",
|
pt_menu: "parts",
|
||||||
pt_deci_s: "decimate",
|
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_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",
|
xp_menu: "exports",
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue