From 7d74e3c39f7cef02444314b20b85ef5b311631ab Mon Sep 17 00:00:00 2001 From: volzhs Date: Wed, 5 Oct 2016 02:00:58 +0900 Subject: [PATCH] Expose selected value of GraphNode --- scene/gui/graph_node.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scene/gui/graph_node.cpp b/scene/gui/graph_node.cpp index da298a795a9..9aaceb084fb 100644 --- a/scene/gui/graph_node.cpp +++ b/scene/gui/graph_node.cpp @@ -745,6 +745,9 @@ void GraphNode::_bind_methods() { ObjectTypeDB::bind_method(_MD("set_resizeable","resizeable"),&GraphNode::set_resizeable); ObjectTypeDB::bind_method(_MD("is_resizeable"),&GraphNode::is_resizeable); + ObjectTypeDB::bind_method(_MD("set_selected","selected"),&GraphNode::set_selected); + ObjectTypeDB::bind_method(_MD("is_selected"),&GraphNode::is_selected); + ObjectTypeDB::bind_method(_MD("get_connection_output_count"),&GraphNode::get_connection_output_count); ObjectTypeDB::bind_method(_MD("get_connection_input_count"),&GraphNode::get_connection_input_count);