Modification collection started
This commit is contained in:
parent
858cb8cd45
commit
d59857ab2b
@ -43,6 +43,23 @@ let Styles = {
|
||||
`
|
||||
};
|
||||
|
||||
let ModificationPull = (inModifier) =>
|
||||
{
|
||||
let getDAG = inModifier => N.Step(inModifier, "ModifyAt")[0];
|
||||
let getMod = inBranch => N.Step(inBranch, "ModifyAt", false)[0];
|
||||
let collect = inArray => n => n.Meta.Tweak.forEach((t, i)=>inArray[i] += t;);
|
||||
|
||||
let dag = getDAG(inModifier);
|
||||
let totalScale = [];
|
||||
let totalAdd = [];
|
||||
|
||||
N.ID.Walk++;
|
||||
N.Walk(collect(totalScale), dag, "ModifyDown", false);
|
||||
N.Walk(collect(totalScale), dag, "ModifyAt", false);
|
||||
N.Walk(collect(totalAdd), dag, "ModifyUp", false);
|
||||
N.Walk(collect(totalAdd), dag, "ModifyOut", false);
|
||||
};
|
||||
|
||||
let PivotForm = props =>
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user