summaryrefslogtreecommitdiff
path: root/rotord/src/rotor.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-11-15 13:48:25 +0000
committerTim Redfern <tim@eclectronics.org>2013-11-15 13:48:25 +0000
commitfddf215e9ddbfc803d902d4a74f49e2186b4a4da (patch)
tree93fcbc391f572181fee7e5abdfbb2d15789c46c7 /rotord/src/rotor.cpp
parent70c197441dd6eef01fd1e1c88743438cf3aa730d (diff)
changed to NODEID
Diffstat (limited to 'rotord/src/rotor.cpp')
-rw-r--r--rotord/src/rotor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rotord/src/rotor.cpp b/rotord/src/rotor.cpp
index 0947a89..e9f8595 100644
--- a/rotord/src/rotor.cpp
+++ b/rotord/src/rotor.cpp
@@ -133,7 +133,7 @@ Json::Value Node_factory::list_node(Rotor::Node* _node){
if (dynamic_cast<Signal_node*> (_node)!=nullptr) node["output"]="signal";
if (dynamic_cast<Image_node*> (_node)!=nullptr) node["output"]="image";
node["description"]=_node->description;
- node["UID"]=_node->UID;
+ node["NODEID"]=_node->NODEID;
if (_node->inputs.size()){
node["signal_inputs"]=Json::arrayValue;
for (auto& input: _node->inputs) {
@@ -202,7 +202,7 @@ void Node_factory::list_node(Rotor::Node* type,xmlIO XML,int i){
XML.addAttribute("node","inputs",type->duplicate_inputs?"expandable":"fixed",i);
XML.addAttribute("node","title",type->title,i);
XML.addAttribute("node","description",type->description,i);
- XML.addAttribute("node","UID",type->UID,i);
+ XML.addAttribute("node","NODEID",type->NODEID,i);
if (dynamic_cast<Signal_node*> (type)!=nullptr) XML.addAttribute("node","output","signal",i);
if (dynamic_cast<Image_node*> (type)!=nullptr) XML.addAttribute("node","output","image",i);
XML.pushTag("node",i);