Created a NodeDock with signals and groups

This commit is contained in:
Juan Linietsky
2016-06-04 13:17:56 -03:00
parent 280e3611b9
commit 3ae61f2292
16 changed files with 252 additions and 37 deletions

View File

@@ -1244,7 +1244,19 @@ void Node::get_groups(List<GroupInfo> *p_groups) const {
}
bool Node::has_persistent_groups() const {
const StringName *K=NULL;
while ((K=data.grouped.next(K))) {
if (data.grouped[*K].persistent)
return true;
}
return false;
}
void Node::_print_tree(const Node *p_node) {
print_line(String(p_node->get_path_to(this)));