diff options
Diffstat (limited to 'rotord/src/rotor.cpp')
| -rw-r--r-- | rotord/src/rotor.cpp | 4 |
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); |
