Skip to content

Commit 1c7148f

Browse files
committed
add logs
1 parent cabea55 commit 1c7148f

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

src/animation/linear_animation_instance.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ LinearAnimationInstance::~LinearAnimationInstance() {}
4343
bool LinearAnimationInstance::advanceAndApply(float seconds)
4444
{
4545
#ifdef WITH_RECORDER
46-
if (Artboard::isDebug) {
47-
printf("[RECORDER_LOG] ==> LinearAnimationInstance::advanceAndApply\n");
48-
}
46+
// if (Artboard::isDebug) {
47+
// printf("[RECORDER_LOG] ==> LinearAnimationInstance::advanceAndApply\n");
48+
// }
4949
#endif
5050
RIVE_PROF_SCOPE()
5151
bool more = this->advance(seconds, this);

src/artboard.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,9 +761,9 @@ void Artboard::addObject(Core* object) { m_Objects.push_back(object); }
761761
void Artboard::addAnimation(LinearAnimation* object)
762762
{
763763
#ifdef WITH_RECORDER
764-
if(Artboard::isDebug) {
764+
// if(Artboard::isDebug) {
765765
printf("[RECORDER_LOG]Artboard::addAnimation: %s to %s at index: %zu\n", object->name().c_str(), name().c_str(), m_Animations.size());
766-
}
766+
// }
767767
#endif
768768
m_Animations.push_back(object);
769769
}

src/joystick.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ void Joystick::apply(Artboard* artboard) const
9898
if (m_xAnimation != nullptr)
9999
{
100100
#ifdef WITH_RECORDER
101-
if(Artboard::isDebug) {
102-
printf("[RECORDER_LOG] Joys::X for m_x: %s\n",
103-
m_xAnimation->name().c_str());
104-
}
101+
// if(Artboard::isDebug) {
102+
// printf("[RECORDER_LOG] Joys::X for m_x: %s\n",
103+
// m_xAnimation->name().c_str());
104+
// }
105105
#endif
106106
m_xAnimation->apply(
107107
artboard,
@@ -112,10 +112,10 @@ void Joystick::apply(Artboard* artboard) const
112112
{
113113

114114
#ifdef WITH_RECORDER
115-
if(Artboard::isDebug) {
116-
printf("[RECORDER_LOG] Joys::Y for m_y: %s\n",
117-
m_yAnimation->name().c_str());
118-
}
115+
// if(Artboard::isDebug) {
116+
// printf("[RECORDER_LOG] Joys::Y for m_y: %s\n",
117+
// m_yAnimation->name().c_str());
118+
// }
119119
#endif
120120
m_yAnimation->apply(
121121
artboard,

0 commit comments

Comments
 (0)