Skip to content

Commit

Permalink
animation: fix easing of sequential line growing
Browse files Browse the repository at this point in the history
  • Loading branch information
minorua committed Jan 15, 2024
1 parent daf2924 commit ff35962
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/Qgis2threejs.js
Original file line number Diff line number Diff line change
Expand Up @@ -4530,8 +4530,11 @@ Q3D.Tweens.lineGrowing = {
if (effectItem.sequential) {
group.keyframes = [];

var item;
for (var i = 0; i < layer.features.length; i++) {
group.keyframes.push(layer.features[i].anim);
item = layer.features[i].anim;
item.easing = effectItem.easing;
group.keyframes.push(item);
group.prop_list.push({p: i});
}
group.keyframes.push({});
Expand Down

0 comments on commit ff35962

Please sign in to comment.