Further improve normal corrector in spiro expansion
This commit is contained in:
parent
bb863cd4ff
commit
040b5fd487
7 changed files with 58 additions and 43 deletions
|
@ -87,8 +87,11 @@ function getBlendArg(blendArgs, style) {
|
|||
function hiveBlend(hive, value) {
|
||||
if (!hive || !hive.blend || value == null) return hive;
|
||||
|
||||
const generatedHive = {};
|
||||
const block = hive.blend;
|
||||
delete hive.blend;
|
||||
|
||||
const generatedHive = { ...hive };
|
||||
|
||||
let keys = new Set();
|
||||
for (const grade in block) {
|
||||
if (!isFinite(parseFloat(grade))) continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue