Cosimo Lupo
2b746d6e50
instancer: unpack axis (start, peak, end) tuple instead of indexing at PEAK_COORD_INDEX
...
Makes it more readable
2019-03-25 13:41:41 +00:00
Cosimo Lupo
846e7b3ec4
instancer: round MVAR deltas at the end
...
and don't use enumerate() when iterating over region axes, as get_support() method returns a dict
2019-03-25 13:15:50 +00:00
Cosimo Lupo
bb667f6841
rename applyCvtDeltas to setCvarDeltas
...
for consistency with set{Gvar,Mvar}Deltas
2019-03-22 17:32:05 +00:00
Cosimo Lupo
fa57f7e931
instancer: only round deltas if we did scale them
2019-03-22 17:30:30 +00:00
Cosimo Lupo
29c7a11f77
minor: fix 'NameError: parser not defined'
2019-03-22 15:28:03 +00:00
Cosimo Lupo
62c98b451a
instancer: share same instantiateTupleVariationStore for both gvar/cvar
...
refactored code, hopefully simplifying things a bit.
for cvar/cvt we do the rounding only at the end after we have summed the scaled deltas
to avoid introducing unnecessary rounding errors.
2019-03-22 14:15:53 +00:00
Cosimo Lupo
6281f87cb6
rename partialInstancer.py to instancer.py
2019-03-21 15:30:48 +00:00