diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-06-27 23:25:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-27 23:25:53 +0200 |
commit | c4a426d6ec71865b971ad419bf925ce8b8f9c37b (patch) | |
tree | 4bcece6ac87faea0c66d76d647d8b151a54d4ecd /core/variant/variant.h | |
parent | 25baa32db068af49cda1d79ea211c9df6c47a547 (diff) | |
parent | 511a4b761c3b5bf565f6e580fc9774a99e72a53e (diff) | |
download | redot-engine-c4a426d6ec71865b971ad419bf925ce8b8f9c37b.tar.gz |
Merge pull request #62462 from vnen/gdscript-setter-chaining
GDScript: Fix setter being called in chains for shared types
Diffstat (limited to 'core/variant/variant.h')
-rw-r--r-- | core/variant/variant.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/variant/variant.h b/core/variant/variant.h index 992d9cad40..cb3a622417 100644 --- a/core/variant/variant.h +++ b/core/variant/variant.h @@ -297,6 +297,7 @@ public: 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); + static bool is_type_shared(Variant::Type p_type); bool is_ref_counted() const; _FORCE_INLINE_ bool is_num() const { |