diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-04-10 07:50:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-10 07:50:10 +0200 |
commit | 866cb2805fd9f0d3346952e97156681170eb214c (patch) | |
tree | 6d8adfc184ae743034c490f4d317c3bbd8c45f31 /scene/main/node.h | |
parent | ca1312dbe95b885786b541220857039f4411bcaa (diff) | |
parent | 8362ce4769b65f47c0d5d5a11d262a28a144e526 (diff) |
Merge pull request #17080 from simedis/pretty_print_tree
Made Node.print_tree() print prettily
Diffstat (limited to 'scene/main/node.h')
-rw-r--r-- | scene/main/node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/node.h b/scene/main/node.h index 2e8716cbd1..b9bafb1ed1 100644 --- a/scene/main/node.h +++ b/scene/main/node.h @@ -153,6 +153,7 @@ private: Ref<MultiplayerAPI> multiplayer_api; + void _print_tree_pretty(const String prefix, const bool last); void _print_tree(const Node *p_node); Node *_get_node(const NodePath &p_path) const; @@ -289,6 +290,7 @@ public: int get_index() const; void print_tree(); + void print_tree_pretty(); void set_filename(const String &p_filename); String get_filename() const; |