summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJerome67000 <jerome.gully0@gmail.com>2017-10-25 16:35:16 +0200
committerJerome67000 <jerome.gully0@gmail.com>2017-10-25 20:11:30 +0200
commit2609cc9ef428a9d7d054a06a9290c4d4963e726f (patch)
treec6909eb805dc82b93234fbfaf7d3d179c108d129 /core
parent3504bb70a48dd7c1d0d587900c96bbd7af91754b (diff)
Removes Script::get_node_type()
used before GDScript, with squirrel apparently
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 5ead91f26e..384e41e4bd 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 c243ef781b..5da72d0492 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;