add logs
diff --git a/include/rive/artboard.hpp b/include/rive/artboard.hpp index e0049d3..b693924 100644 --- a/include/rive/artboard.hpp +++ b/include/rive/artboard.hpp
@@ -132,6 +132,7 @@ static uint64_t frameId() { return sm_frameId; } #ifdef WITH_RECORDER static bool isDebug; + bool hasPrinted = false; #endif #ifdef TESTING static void incFrameId() { sm_frameId++; }
diff --git a/src/artboard.cpp b/src/artboard.cpp index b1334eb..5bf1564 100644 --- a/src/artboard.cpp +++ b/src/artboard.cpp
@@ -1651,6 +1651,16 @@ LinearAnimation* Artboard::animation(size_t index) const { #ifdef WITH_RECORDER + if(!hasPrinted) { + hasPrinted = true; + printf("[RECORDER_LOG] anims of: %s\n", name().c_str()); + int cnt = 0; + for(auto& anim : m_Animations) { + + printf("[RECORDER_LOG] anim: %s at index: %u\n", anim->name().c_str(), cnt); + cnt++; + } + } if(Artboard::isDebug) { printf("[RECORDER_LOG] anim: %zu and size: %zu\n", index, m_Animations.size());