AnimLibraries do not load animations by default.

This commit is contained in:
Martin Felis
2025-04-13 22:35:06 +02:00
parent 5d01dfcca2
commit 65c7a9aaaf
2 changed files with 50 additions and 35 deletions
+4
View File
@@ -21,6 +21,10 @@ TEST_CASE("Serialize AnimLibrary", "[AnimLibrary]") {
"translation_y",
single_bone_testdata.animation_translate_y_resource.m_filename));
// We're not actually doing anything with the animations, however loading them here ensures that
// when running valgrind a memory leak is detected.
library.LoadAnimations();
// serialize
json library_data;
library_data = library;