mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-12-09 04:50:29 +08:00
Fix import of single non-linear keyframes
This commit is contained in:
parent
629c118856
commit
c7822204b7
@ -1427,6 +1427,13 @@ const Animator = {
|
||||
channel,
|
||||
data_points: getKeyframeDataPoints(b[channel]),
|
||||
})
|
||||
} else if (typeof b[channel] === 'object' && b[channel].post) {
|
||||
ba.addKeyframe({
|
||||
time: 0,
|
||||
channel,
|
||||
interpolation: b[channel].lerp_mode,
|
||||
data_points: getKeyframeDataPoints(b[channel]),
|
||||
});
|
||||
} else if (typeof b[channel] === 'object') {
|
||||
for (var timestamp in b[channel]) {
|
||||
ba.addKeyframe({
|
||||
|
Loading…
Reference in New Issue
Block a user