Remove noisy debug messages.
--HG-- branch : develop
This commit is contained in:
parent
99d6ea5152
commit
d63cb30935
|
@ -62,7 +62,6 @@ public:
|
|||
{
|
||||
if (VFuzzyComparePossibleNulls(angle1, angle2) || not qFuzzyCompare(qAbs(angle1-angle2), 180) )
|
||||
{
|
||||
qDebug()<<"Make angle1 and angle2 correct.";
|
||||
this->angle2 = this->angle1 + 180;
|
||||
}
|
||||
}
|
||||
|
@ -174,8 +173,6 @@ VSplinePointData::VSplinePointData(VPointF pSpline, qreal angle1, const QString
|
|||
{
|
||||
if (not VFuzzyComparePossibleNulls(qAbs(angle1-angle2), 180))
|
||||
{
|
||||
qDebug()<<"Make angle1 and angle2 correct.";
|
||||
|
||||
QLineF line (0, 0, 100, 0);
|
||||
|
||||
if (not qmu::QmuTokenParser::IsSingle(angle1F) || qmu::QmuTokenParser::IsSingle(angle2F))
|
||||
|
|
|
@ -350,7 +350,6 @@ void VTextManager::FitFontSize(qreal fW, qreal fH)
|
|||
while (lineLength > fW && iFS > MIN_FONT_SIZE);
|
||||
}
|
||||
SetFontSize(iFS);
|
||||
qDebug() << "Font size" << GetSourceLinesCount() << iFS;
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -803,10 +803,8 @@ bool VPiecePath::IsVisible(const QHash<QString, QSharedPointer<VInternalVariable
|
|||
QString formula = GetVisibilityTrigger();
|
||||
// Replace line return character with spaces for calc if exist
|
||||
formula.replace("\n", " ");
|
||||
qDebug() << "Formula: " << formula;
|
||||
QScopedPointer<Calculator> cal(new Calculator());
|
||||
const qreal result = cal->EvalFormula(vars, formula);
|
||||
qDebug() << "Result: " << result;
|
||||
|
||||
if (qIsInf(result) || qIsNaN(result))
|
||||
{
|
||||
|
|
|
@ -244,7 +244,6 @@ void VTextGraphicsItem::paint(QPainter *painter, const QStyleOptionGraphicsItem
|
|||
*/
|
||||
void VTextGraphicsItem::SetSize(qreal fW, qreal fH)
|
||||
{
|
||||
qDebug() << "Setting size to" << fW << parentItem()->boundingRect().width();
|
||||
// don't allow resize under specific size
|
||||
if (fW > parentItem()->boundingRect().width())
|
||||
{
|
||||
|
@ -264,7 +263,6 @@ void VTextGraphicsItem::SetSize(qreal fW, qreal fH)
|
|||
}
|
||||
|
||||
prepareGeometryChange();
|
||||
qDebug() << "Actual size set to" << fW;
|
||||
m_rectBoundingBox.setTopLeft(QPointF(0, 0));
|
||||
m_rectBoundingBox.setWidth(fW);
|
||||
m_rectBoundingBox.setHeight(fH);
|
||||
|
|
Loading…
Reference in New Issue
Block a user