diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-11-17 16:05:44 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-17 16:05:44 -0300 |
commit | ebbe2bd57235fcbd2edb82c05bb9d7d768b3e7ca (patch) | |
tree | 8525dd572373c91efe33568f3c1a8663c0ed8d1a /editor/editor_node.h | |
parent | 0968c8d2f65f7ac6e0d6b3718ee1028b229b3353 (diff) | |
parent | b96ee28acd80230ee56000fad2a3ca15e461d5e2 (diff) |
Merge pull request #12930 from vnen/gdscrit-output-print
Make tool scripts print on the editor Output panel
Diffstat (limited to 'editor/editor_node.h')
-rw-r--r-- | editor/editor_node.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h index 81ff886228..54cb414835 100644 --- a/editor/editor_node.h +++ b/editor/editor_node.h @@ -30,6 +30,7 @@ #ifndef EDITOR_NODE_H #define EDITOR_NODE_H +#include "core/print_string.h" #include "editor/connections_dialog.h" #include "editor/create_dialog.h" #include "editor/editor_about.h" @@ -610,6 +611,9 @@ private: Vector<Ref<EditorResourceConversionPlugin> > resource_conversion_plugins; + PrintHandlerList print_handler; + static void _print_handler(void *p_this, const String &p_string, bool p_error); + protected: void _notification(int p_what); static void _bind_methods(); |