Mercurial > hg > sonic-visualiser
changeset 243:0c868fb3623c
* fix to selection of default input material for transform -- avoid drawing
the default from e.g. time ruler layer
author | Chris Cannam |
---|---|
date | Mon, 18 Feb 2008 11:13:31 +0000 |
parents | cf8748822f4d |
children | a47d7116aedf |
files | main/MainWindow.cpp |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/main/MainWindow.cpp Wed Feb 13 12:47:17 2008 +0000 +++ b/main/MainWindow.cpp Mon Feb 18 11:13:31 2008 +0000 @@ -2952,6 +2952,9 @@ for (int j = 0; j < pane->getLayerCount(); ++j) { Layer *layer = pane->getLayer(j); if (!layer) continue; + if (LayerFactory::getInstance()->getLayerType(layer) != + LayerFactory::Waveform && + !layer->isLayerOpaque()) continue; Model *model = layer->getModel(); if (!model) continue; for (size_t k = 0; k < candidateInputModels.size(); ++k) {