diff options
| author | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2024-06-11 18:13:17 -0500 |
|---|---|---|
| committer | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2024-06-11 18:13:17 -0500 |
| commit | 9eb9b6f965d6b7abec6d5bf447eb88151bbc2b92 (patch) | |
| tree | e12b3af1ed290b3c45e0f0e323206dcf83074a08 /src/animationlayer.cpp | |
| parent | 8ca0acc5f4870db5fa7beae88340e96b48cf3b7c (diff) | |
remove accidentally included debug calls
Diffstat (limited to 'src/animationlayer.cpp')
| -rw-r--r-- | src/animationlayer.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/animationlayer.cpp b/src/animationlayer.cpp index 779e27c..708aef2 100644 --- a/src/animationlayer.cpp +++ b/src/animationlayer.cpp @@ -257,8 +257,6 @@ void AnimationLayer::calculateFrameGeometry() int x = (m_scaled_frame_size.width() - widget_size.width()) / 2; m_display_rect = QRect(x, 0, widget_size.width(), m_scaled_frame_size.height()); - qDebug() << (scale < 1.0); - if (m_transformation_mode_hint == Qt::FastTransformation) { m_transformation_mode = scale < 1.0 ? Qt::SmoothTransformation : Qt::FastTransformation; @@ -461,8 +459,7 @@ void CharacterAnimationLayer::loadCharacterEmote(QString character, QString file setFileName(file_path); setPlayOnce(play_once); - Qt::TransformationMode char_transform = ao_app->get_scaling(ao_app->get_emote_property(character, fileName, "scaling")); - setTransformationMode(char_transform); + setTransformationMode(ao_app->get_scaling(ao_app->get_emote_property(character, fileName, "scaling"))); setStretchToFit(ao_app->get_emote_property(character, fileName, "stretch").startsWith("true")); if (synchronize_frame && previous_frame_count == frameCount()) { |
