diff options
author | David Robillard <d@drobilla.net> | 2006-09-14 06:30:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-09-14 06:30:26 +0000 |
commit | a100c20612fc4f7f30372f579e355f782befa7e2 (patch) | |
tree | d8bfe1e2f21cf6ff0bc27b040492d2b25a6291ea /src/libs/client/ModelEngineInterface.cpp | |
parent | cc384f6f622cc10fd83616256080b80dc2123aaf (diff) | |
download | ingen-a100c20612fc4f7f30372f579e355f782befa7e2.tar.gz ingen-a100c20612fc4f7f30372f579e355f782befa7e2.tar.bz2 ingen-a100c20612fc4f7f30372f579e355f782befa7e2.zip |
Bug fixes.
git-svn-id: http://svn.drobilla.net/lad/ingen@134 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/ModelEngineInterface.cpp')
-rw-r--r-- | src/libs/client/ModelEngineInterface.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/client/ModelEngineInterface.cpp b/src/libs/client/ModelEngineInterface.cpp index 3add8854..40de205c 100644 --- a/src/libs/client/ModelEngineInterface.cpp +++ b/src/libs/client/ModelEngineInterface.cpp @@ -56,14 +56,14 @@ ModelEngineInterface::create_node_with_data(const string& plugin_uri, /** Create a patch. */ void -ModelEngineInterface::create_patch_from_model(const PatchModel* pm) +ModelEngineInterface::create_patch_with_data(const Path& path, size_t poly, const MetadataMap& data) { - create_patch(pm->path().c_str(), pm->poly()); - set_metadata_map(pm->path(), pm->metadata()); + create_patch(path, poly); + set_metadata_map(path, data); } -/** Set all pieces of metadata in a model. +/** Set all pieces of metadata in a map. */ void ModelEngineInterface::set_metadata_map(const Path& subject, const MetadataMap& data) |