summaryrefslogtreecommitdiffstats
path: root/src/libs/client/ModelEngineInterface.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-14 06:30:26 +0000
committerDavid Robillard <d@drobilla.net>2006-09-14 06:30:26 +0000
commita100c20612fc4f7f30372f579e355f782befa7e2 (patch)
treed8bfe1e2f21cf6ff0bc27b040492d2b25a6291ea /src/libs/client/ModelEngineInterface.cpp
parentcc384f6f622cc10fd83616256080b80dc2123aaf (diff)
downloadingen-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.cpp8
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)