Mercurial > hg > svgui
changeset 245:447cb52adc6b
* Fix #1706927 NaNs from plugin outputs should not be used
author | Chris Cannam |
---|---|
date | Fri, 27 Apr 2007 15:39:48 +0000 |
parents | 5105be027d8e |
children | d9a01a817e8b |
files | layer/LayerFactory.cpp |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/layer/LayerFactory.cpp Fri Apr 27 14:35:04 2007 +0000 +++ b/layer/LayerFactory.cpp Fri Apr 27 15:39:48 2007 +0000 @@ -289,11 +289,9 @@ if (layerType == TimeInstants) { return new SparseOneDimensionalModel(baseModel->getSampleRate(), 1); } else if (layerType == TimeValues) { - return new SparseTimeValueModel(baseModel->getSampleRate(), 1, - 0.0, 0.0, true); + return new SparseTimeValueModel(baseModel->getSampleRate(), 1, true); } else if (layerType == Notes) { - return new NoteModel(baseModel->getSampleRate(), 1, - 0.0, 0.0, true); + return new NoteModel(baseModel->getSampleRate(), 1, true); } else if (layerType == Text) { return new TextModel(baseModel->getSampleRate(), 1, true); } else {