summaryrefslogtreecommitdiffstats
path: root/scene/main/node.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2018-10-29 16:36:31 -0300
committerJuan Linietsky <juan@godotengine.org>2018-10-29 16:37:09 -0300
commite647342140d8eb960b2a72d83b4b86e43aef4fc7 (patch)
tree31c57d44ce2c76197114e85e1733ed5d080bd50a /scene/main/node.cpp
parent786ece2375c607e79c52b71ff82ebb1a3c1af411 (diff)
downloadredot-engine-e647342140d8eb960b2a72d83b4b86e43aef4fc7.tar.gz
Moved folding outside the resource files, now saved outside the project.
Diffstat (limited to 'scene/main/node.cpp')
-rw-r--r--scene/main/node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp
index 50e94e6db5..9f234f832d 100644
--- a/scene/main/node.cpp
+++ b/scene/main/node.cpp
@@ -1835,7 +1835,7 @@ void Node::set_editable_instance(Node *p_node, bool p_editable) {
}
}
-bool Node::is_editable_instance(Node *p_node) const {
+bool Node::is_editable_instance(const Node *p_node) const {
if (!p_node)
return false; //easier, null is never editable :)