-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(animation): Don't reset the scene when animation is done
When a scene has multiple animations, the first animation that is done should not restart the whole scene. We added a quick fix for this, but in the future we have to make ssure that an animation has it's own progress. fix #112
- Loading branch information
1 parent
2eb6b95
commit 4866618
Showing
3 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"timeline": { | ||
"scenes": [{ | ||
"sceneId": "1acee3e0-e02c-11e9-aa5a-053c07f0fa34", | ||
"timelineSceneId": "2d3f80f0-eb23-11e9-a506-1d4f9a09fff9", | ||
"adapt": true, | ||
"type": "static", | ||
"added": 1570687192703, | ||
"started": 1570688810596, | ||
"priority": 0, | ||
"animations": [{ | ||
"animationId": "asd-asdf-asdf-asdf-asdf-asdf", | ||
"type": "repeat", | ||
"started": 1570688810596 | ||
}] | ||
}, { | ||
"sceneId": "6878c220-e02f-11e9-b1ac-b1b9c8742475", | ||
"timelineSceneId": "ec3e6ef0-eb26-11e9-af75-e516d6b192d7", | ||
"adapt": true, | ||
"type": "static", | ||
"added": 1570688801631, | ||
"started": 1570688806691, | ||
"priority": 0 | ||
}], | ||
"playing": false, | ||
"progress": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters