Mercurial > hg > svgui
diff layer/Layer.cpp @ 1470:696e569ff21b by-id
Further layer updates for ById
author | Chris Cannam |
---|---|
date | Fri, 28 Jun 2019 17:37:22 +0100 |
parents | 11a150e65ee1 |
children | 232262e38051 |
line wrap: on
line diff
--- a/layer/Layer.cpp Thu Jun 27 13:16:25 2019 +0100 +++ b/layer/Layer.cpp Fri Jun 28 17:37:22 2019 +0100 @@ -111,10 +111,8 @@ Layer::getPlayParameters() { // cerr << "Layer (" << this << ", " << objectName() << ")::getPlayParameters: model is "<< getModel() << endl; - auto model = ModelById::get(getModel()); - if (model) { - return PlayParameterRepository::getInstance()->getPlayParameters(model); - } + return PlayParameterRepository::getInstance()->getPlayParameters + (getModel().untyped); return nullptr; }