diff --git a/core/object/object.cpp b/core/object/object.cpp index e801fc58d6f..cf22fd71d2c 100644 --- a/core/object/object.cpp +++ b/core/object/object.cpp @@ -258,12 +258,6 @@ void Object::_postinitialize() { notification(NOTIFICATION_POSTINITIALIZE); } -void Object::get_valid_parents_static(List *p_parents) { -} - -void Object::_get_valid_parents_static(List *p_parents) { -} - void Object::set(const StringName &p_name, const Variant &p_value, bool *r_valid) { #ifdef TOOLS_ENABLED diff --git a/core/object/object.h b/core/object/object.h index 9550b6243bf..4275f4ca16e 100644 --- a/core/object/object.h +++ b/core/object/object.h @@ -441,13 +441,6 @@ public: return true; \ } \ return (p_class == (#m_class)) ? true : m_inherits::is_class(p_class); \ - } \ - static void get_valid_parents_static(List *p_parents) { \ - if (m_class::_get_valid_parents_static != m_inherits::_get_valid_parents_static) { \ - m_class::_get_valid_parents_static(p_parents); \ - } \ - \ - m_inherits::get_valid_parents_static(p_parents); \ } \ \ protected: \ @@ -749,8 +742,6 @@ protected: _FORCE_INLINE_ void (Object::*_get_notification() const)(int) { return &Object::_notification; } - static void get_valid_parents_static(List *p_parents); - static void _get_valid_parents_static(List *p_parents); Variant _call_bind(const Variant **p_args, int p_argcount, Callable::CallError &r_error); Variant _call_deferred_bind(const Variant **p_args, int p_argcount, Callable::CallError &r_error);