![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | skysphr |
Having several scenes containing animated sprites with playing enabled, I have noticed that whenever the scene is saved, the frame property of every animated sprite gets saved too, which means you need to reset them manually if you don’t want a dirty git commit.
As a workaround, one could:
- Set all animations to not playing, enable playing from code. This is easy but the annoyance is you either can’t actually see any animations in the editor, or have to remember stopping and resetting all of them before committing changes.
- Add a content filter in a .gitattributes file to scan for every line that contains the regex
frame = \d+
. Would probably work but may lead to unexpected results.
Any other ideas? Thanks.