remove accidentally included debug calls
This commit is contained in:
parent
8ca0acc5f4
commit
9eb9b6f965
@ -257,8 +257,6 @@ void AnimationLayer::calculateFrameGeometry()
|
|||||||
int x = (m_scaled_frame_size.width() - widget_size.width()) / 2;
|
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());
|
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)
|
if (m_transformation_mode_hint == Qt::FastTransformation)
|
||||||
{
|
{
|
||||||
m_transformation_mode = scale < 1.0 ? Qt::SmoothTransformation : 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);
|
setFileName(file_path);
|
||||||
setPlayOnce(play_once);
|
setPlayOnce(play_once);
|
||||||
Qt::TransformationMode char_transform = ao_app->get_scaling(ao_app->get_emote_property(character, fileName, "scaling"));
|
setTransformationMode(ao_app->get_scaling(ao_app->get_emote_property(character, fileName, "scaling")));
|
||||||
setTransformationMode(char_transform);
|
|
||||||
setStretchToFit(ao_app->get_emote_property(character, fileName, "stretch").startsWith("true"));
|
setStretchToFit(ao_app->get_emote_property(character, fileName, "stretch").startsWith("true"));
|
||||||
if (synchronize_frame && previous_frame_count == frameCount())
|
if (synchronize_frame && previous_frame_count == frameCount())
|
||||||
{
|
{
|
||||||
|
@ -2263,7 +2263,7 @@ void Courtroom::on_chat_return_pressed()
|
|||||||
|
|
||||||
QString pre_emote = ao_app->get_pre_emote(current_char, current_emote);
|
QString pre_emote = ao_app->get_pre_emote(current_char, current_emote);
|
||||||
QString emote = ao_app->get_emote(current_char, current_emote);
|
QString emote = ao_app->get_emote(current_char, current_emote);
|
||||||
QStringList emotes_to_check = {pre_emote, "(b)" + emote, "(a)" + emote, "(b)/" + emote, "(a)/" + emote};
|
QStringList emotes_to_check = {pre_emote, "(b)" + emote, "(a)" + emote};
|
||||||
QStringList effects_to_check = {"_FrameScreenshake", "_FrameRealization", "_FrameSFX"};
|
QStringList effects_to_check = {"_FrameScreenshake", "_FrameRealization", "_FrameSFX"};
|
||||||
|
|
||||||
foreach (QString f_effect, effects_to_check)
|
foreach (QString f_effect, effects_to_check)
|
||||||
@ -2283,7 +2283,6 @@ void Courtroom::on_chat_return_pressed()
|
|||||||
packet += "^";
|
packet += "^";
|
||||||
}
|
}
|
||||||
packet_contents.append(packet);
|
packet_contents.append(packet);
|
||||||
qDebug() << packet;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user