Mercurial > hg > svapp
diff framework/Document.cpp @ 136:6d2e49c59b3b
* Add region model and layer; improve assignment of model types to
feature extraction transforms with duration
author | Chris Cannam |
---|---|
date | Thu, 18 Sep 2008 16:08:14 +0000 |
parents | 3b61a975b47e |
children | e2aec1708a2c |
line wrap: on
line diff
--- a/framework/Document.cpp Thu Sep 18 12:33:30 2008 +0000 +++ b/framework/Document.cpp Thu Sep 18 16:08:14 2008 +0000 @@ -220,6 +220,9 @@ if (types.empty()) { std::cerr << "WARNING: Document::createLayerForTransformer: no valid display layer for output of transform " << transform.getIdentifier().toStdString() << std::endl; + newModel->aboutToDelete(); + emit modelAboutToBeDeleted(newModel); + m_models.erase(newModel); delete newModel; return 0; }