From 2609cc9ef428a9d7d054a06a9290c4d4963e726f Mon Sep 17 00:00:00 2001 From: Jerome67000 Date: Wed, 25 Oct 2017 16:35:16 +0200 Subject: Removes Script::get_node_type() used before GDScript, with squirrel apparently --- core/script_language.cpp | 1 - core/script_language.h | 2 -- 2 files changed, 3 deletions(-) (limited to 'core') 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; -- cgit v1.2.3