summaryrefslogtreecommitdiffstats
path: root/src/libs/client/PluginModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/client/PluginModel.cpp')
-rw-r--r--src/libs/client/PluginModel.cpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/libs/client/PluginModel.cpp b/src/libs/client/PluginModel.cpp
index 99387dcd..8c2705da 100644
--- a/src/libs/client/PluginModel.cpp
+++ b/src/libs/client/PluginModel.cpp
@@ -37,24 +37,9 @@ Redland::World* PluginModel::_rdf_world = NULL;
string
-PluginModel::default_node_name(SharedPtr<PatchModel> parent)
+PluginModel::default_node_name()
{
return Raul::Path::nameify(_symbol);
- /*string default_name = Raul::Path::nameify(_symbol);
- string name;
-
- char num_buf[3];
- for (uint i=0; i < 99; ++i) {
- name = default_name;
- if (i != 0) {
- snprintf(num_buf, 4, "_%d", i+1);
- name += num_buf;
- }
- if (!parent->find_child(name))
- break;
- }
-
- return name;*/
}