aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde2017-10-26 08:49:38 +0200
committerGitHub2017-10-26 08:49:38 +0200
commitd135008acfc0772f81fce0877379ab1d37f9ed47 (patch)
tree8af9021c5de6de4190335f0e2d1c46a962a6b545 /core
parent8175a53cea1bd8986fb28873e261227a92c727dd (diff)
parent2609cc9ef428a9d7d054a06a9290c4d4963e726f (diff)
downloadgodot-d135008acfc0772f81fce0877379ab1d37f9ed47.tar.gz
godot-d135008acfc0772f81fce0877379ab1d37f9ed47.tar.zst
godot-d135008acfc0772f81fce0877379ab1d37f9ed47.zip
Merge pull request #12405 from Jerome67000/clean_getnodetype
Removes Script::get_node_type() [ci skip]
Diffstat (limited to 'core')
-rw-r--r--core/script_language.cpp1
-rw-r--r--core/script_language.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/core/script_language.cpp b/core/script_language.cpp
index 5ead91f26..384e41e4b 100644
--- a/core/script_language.cpp
+++ b/core/script_language.cpp
@@ -58,7 +58,6 @@ void Script::_bind_methods() {
ClassDB::bind_method(D_METHOD("has_script_signal", "signal_name"), &Script::has_script_signal);
ClassDB::bind_method(D_METHOD("is_tool"), &Script::is_tool);
- ClassDB::bind_method(D_METHOD("get_node_type"), &Script::get_node_type);
}
void ScriptServer::set_scripting_enabled(bool p_enabled) {
diff --git a/core/script_language.h b/core/script_language.h
index c243ef781..5da72d049 100644
--- a/core/script_language.h
+++ b/core/script_language.h
@@ -107,8 +107,6 @@ public:
virtual bool is_tool() const = 0;
- virtual String get_node_type() const = 0;
-
virtual ScriptLanguage *get_language() const = 0;
virtual bool has_script_signal(const StringName &p_signal) const = 0;