Mercurial > hg > sonic-visualiser
comparison main/MainWindow.cpp @ 324:b23dddea4a35
* fix to rounding problems in plugin parameter box
author | Chris Cannam |
---|---|
date | Mon, 30 Mar 2009 13:47:00 +0000 |
parents | cf4e9827968b |
children | 3903bd2c1cc4 |
comparison
equal
deleted
inserted
replaced
323:cf4e9827968b | 324:b23dddea4a35 |
---|---|
3244 startFrame, | 3244 startFrame, |
3245 duration); | 3245 duration); |
3246 | 3246 |
3247 if (!input.getModel()) return; | 3247 if (!input.getModel()) return; |
3248 | 3248 |
3249 // std::cerr << "MainWindow::addLayer: Input model is " << input.getModel() << " \"" << input.getModel()->objectName().toStdString() << "\"" << std::endl; | 3249 // std::cerr << "MainWindow::addLayer: Input model is " << input.getModel() << " \"" << input.getModel()->objectName().toStdString() << "\"" << std::endl << "transform:" << std::endl << transform.toXmlString().toStdString() << std::endl; |
3250 | 3250 |
3251 Layer *newLayer = m_document->createDerivedLayer(transform, input); | 3251 Layer *newLayer = m_document->createDerivedLayer(transform, input); |
3252 | 3252 |
3253 if (newLayer) { | 3253 if (newLayer) { |
3254 m_document->addLayerToView(pane, newLayer); | 3254 m_document->addLayerToView(pane, newLayer); |