Set animation step from importers. Increase default step from 10 to 30 FPS.

This commit is contained in:
Lyuma
2024-04-19 02:05:46 -07:00
parent 2efbc6bfb3
commit bb9674c1b1
8 changed files with 12 additions and 3 deletions

View File

@ -41,7 +41,7 @@ TEST_CASE("[Animation] Empty animation getters") {
const Ref<Animation> animation = memnew(Animation);
CHECK(animation->get_length() == doctest::Approx(real_t(1.0)));
CHECK(animation->get_step() == doctest::Approx(real_t(0.1)));
CHECK(animation->get_step() == doctest::Approx(real_t(1.0 / 30)));
}
TEST_CASE("[Animation] Create value track") {