diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-10-22 12:42:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-22 12:42:09 +0200 |
| commit | 3aa5b54330adf334c868a6ec53d5b5450689506c (patch) | |
| tree | 26e673a061e89ad8421e5abe10bfd5170c8419b8 /scene/main/node.cpp | |
| parent | d54f76c13237f944666543fc2c9a6a6ea9dfb945 (diff) | |
| parent | 139c0a4afe5c1de7ada982928438650070866847 (diff) | |
Merge pull request #32889 from nekomatata/node-update-config-warning
Expose Node::update_configuration_warning() to scripts
Diffstat (limited to 'scene/main/node.cpp')
| -rw-r--r-- | scene/main/node.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 7b6c90766f..217dacfbfe 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -2832,6 +2832,8 @@ void Node::_bind_methods() { ClassDB::bind_method(D_METHOD("rset_unreliable", "property", "value"), &Node::rset_unreliable); ClassDB::bind_method(D_METHOD("rset_unreliable_id", "peer_id", "property", "value"), &Node::rset_unreliable_id); + ClassDB::bind_method(D_METHOD("update_configuration_warning"), &Node::update_configuration_warning); + BIND_CONSTANT(NOTIFICATION_ENTER_TREE); BIND_CONSTANT(NOTIFICATION_EXIT_TREE); BIND_CONSTANT(NOTIFICATION_MOVED_IN_PARENT); |