summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r--src/gui/NodeModule.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index de479c54..69b8eb55 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -379,14 +379,14 @@ NodeModule::store_location()
const float x = static_cast<float>(property_x());
const float y = static_cast<float>(property_y());
- const Atom& existing_x = _node->get_property("ingenuity:canvas-x");
- const Atom& existing_y = _node->get_property("ingenuity:canvas-y");
+ const Atom& existing_x = _node->get_property("ingen-ui:canvas-x");
+ const Atom& existing_y = _node->get_property("ingen-ui:canvas-y");
if (existing_x.type() != Atom::FLOAT || existing_y.type() != Atom::FLOAT
|| existing_x.get_float() != x || existing_y.get_float() != y) {
Shared::Resource::Properties props;
- props.insert(make_pair("ingenuity:canvas-x", Atom(x)));
- props.insert(make_pair("ingenuity:canvas-y", Atom(y)));
+ props.insert(make_pair("ingen-ui:canvas-x", Atom(x)));
+ props.insert(make_pair("ingen-ui:canvas-y", Atom(y)));
App::instance().engine()->put(_node->path(), props);
}
}
@@ -397,9 +397,9 @@ NodeModule::set_property(const URI& key, const Atom& value)
{
switch (value.type()) {
case Atom::FLOAT:
- if (key.str() == "ingenuity:canvas-x") {
+ if (key.str() == "ingen-ui:canvas-x") {
move_to(value.get_float(), property_y());
- } else if (key.str() == "ingenuity:canvas-y") {
+ } else if (key.str() == "ingen-ui:canvas-y") {
move_to(property_x(), value.get_float());
}
break;