Mercurial > hg > svcore
diff transform/Transform.cpp @ 583:ecbd99d5d2c4
* fix to rounding problems in plugin parameter box
author | Chris Cannam |
---|---|
date | Mon, 30 Mar 2009 13:47:00 +0000 |
parents | 1b8c748fd7ea |
children | b4a8d8221eaf |
line wrap: on
line diff
--- a/transform/Transform.cpp Fri Mar 27 16:27:12 2009 +0000 +++ b/transform/Transform.cpp Mon Mar 30 13:47:00 2009 +0000 @@ -111,7 +111,7 @@ bool Transform::operator==(const Transform &t) const { - return + bool identical = m_id == t.m_id && m_parameters == t.m_parameters && m_configuration == t.m_configuration && @@ -123,6 +123,14 @@ m_startTime == t.m_startTime && m_duration == t.m_duration && m_sampleRate == t.m_sampleRate; +/* + std::cerr << "Transform::operator==: identical = " << identical << std::endl; + std::cerr << "A = " << std::endl; + std::cerr << toXmlString().toStdString() << std::endl; + std::cerr << "B = " << std::endl; + std::cerr << t.toXmlString().toStdString() << std::endl; +*/ + return identical; } bool