diff options
author | David Robillard <d@drobilla.net> | 2013-02-24 01:46:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-02-24 01:46:15 +0000 |
commit | 4ff4c69ff0d22e88b8799f36f277de263232de4f (patch) | |
tree | 1fa73050181683a01799a1afea246b3d463f9699 /src/client | |
parent | c09203d0caa4695bec58a8bf84e31ff69de5eb61 (diff) | |
download | ingen-4ff4c69ff0d22e88b8799f36f277de263232de4f.tar.gz ingen-4ff4c69ff0d22e88b8799f36f277de263232de4f.tar.bz2 ingen-4ff4c69ff0d22e88b8799f36f277de263232de4f.zip |
Don't send port values to UI for audio ports (fix Calf crash).
Don't set ingen:value property for non-control ports.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5081 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/BlockModel.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/BlockModel.cpp b/src/client/BlockModel.cpp index 2c389f90..f667cb3c 100644 --- a/src/client/BlockModel.cpp +++ b/src/client/BlockModel.cpp @@ -149,6 +149,12 @@ BlockModel::get_port(const Raul::Symbol& symbol) const return SPtr<PortModel>(); } +SPtr<const PortModel> +BlockModel::get_port(uint32_t index) const +{ + return _ports[index]; +} + Ingen::Node* BlockModel::port(uint32_t index) const { |