diff --git a/core/object/object.cpp b/core/object/object.cpp index 4b1dd93dca..c8b4609f0c 100644 --- a/core/object/object.cpp +++ b/core/object/object.cpp @@ -231,6 +231,7 @@ void Object::set(const StringName &p_name, const Variant &p_value, bool *r_valid #ifdef TOOLS_ENABLED _edited = true; + #endif if (script_instance) { diff --git a/core/object/object.h b/core/object/object.h index 6673f553d2..564febd98c 100644 --- a/core/object/object.h +++ b/core/object/object.h @@ -705,6 +705,8 @@ class Object { bool _property_get_revert(const StringName &p_name, Variant &r_property) const { return false; }; void _notification(int p_notification) {} + bool execute_access_protection_runtime(const StringName &p_member_name, const StringName &p_derived_class, const Variant::AccessRestriction p_access_restriction, const StringName &p_member_owner_class, const Vector &p_super_classes) const; + _FORCE_INLINE_ static void (*_get_bind_methods())() { return &Object::_bind_methods; } diff --git a/core/variant/variant.h b/core/variant/variant.h index bc38d83b23..8d4fb066c4 100644 --- a/core/variant/variant.h +++ b/core/variant/variant.h @@ -355,6 +355,7 @@ class Variant { _FORCE_INLINE_ Type get_type() const { return type; } + static String get_type_name(Variant::Type p_type); static bool can_convert(Type p_type_from, Type p_type_to); static bool can_convert_strict(Type p_type_from, Type p_type_to); diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp index a09c689839..a8070d7d05 100644 --- a/modules/gdscript/gdscript.cpp +++ b/modules/gdscript/gdscript.cpp @@ -1192,6 +1192,23 @@ bool GDScript::inherits_script(const Ref