AnimLibraries do not load animations by default.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user