virtualx-engine/core/variant
George Marques 511a4b761c
GDScript: Fix setter being called in chains for shared types
When a type is shared (i.e. passed by reference) it doesn't need to be
called in a setter chain (e.g. `a.b.c = 0`) since it will be updated in
place.

This commit adds an instruction that jumps when the value is shared so
it can be used to skip those cases and avoid redundant calls of setters.
It also solves issues when assigning to sub-properties of read-only
properties.
2022-06-27 12:09:51 -03:00
..
array.cpp Clean up Hash Functions 2022-06-20 12:54:19 +02:00
array.h Add any() and all() methods to Array 2022-05-25 16:09:10 +02:00
binder_common.h Create GDExtension clases for PhysicsServer3D 2022-03-15 18:39:31 +01:00
callable.cpp Clean up Hash Functions 2022-06-20 12:54:19 +02:00
callable.h Const Ref Callable for custom sort/search 2022-03-27 22:10:36 -04:00
callable_bind.cpp Fix some issues found by cppcheck. 2022-04-06 14:34:37 +03:00
callable_bind.h Fix some issues found by cppcheck. 2022-04-06 14:34:37 +03:00
container_type_validate.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
dictionary.cpp Clean up Hash Functions 2022-06-20 12:54:19 +02:00
dictionary.h Add Dictionary.merge() 2022-05-31 21:05:56 +02:00
method_ptrcall.h Core: Move Rect2i to its own rect2i.h header 2022-02-04 14:17:30 +01:00
native_ptr.h Create GDExtension clases for PhysicsServer3D 2022-03-15 18:39:31 +01:00
SCsub Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
type_info.h Create GDExtension clases for PhysicsServer3D 2022-03-15 18:39:31 +01:00
typed_array.h Improve compilation speed (forward declarations/includes cleanup) 2022-02-12 02:46:22 +01:00
variant.cpp GDScript: Fix setter being called in chains for shared types 2022-06-27 12:09:51 -03:00
variant.h GDScript: Fix setter being called in chains for shared types 2022-06-27 12:09:51 -03:00
variant_call.cpp Add core types enums description to extension api json 2022-06-23 19:19:22 +02:00
variant_construct.cpp Core: Rename math 'phi' arguments to 'angle' 2022-05-05 14:17:39 +02:00
variant_construct.h Merge pull request #56167 from cdemirer/constructor-toarray-fix 2022-05-11 15:47:06 +02:00
variant_destruct.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
variant_destruct.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
variant_internal.h Fix Variant Ref<> assignment. 2022-02-11 12:30:49 +01:00
variant_op.cpp Implement exponential operator (**) to GDScript/Expressions 2022-05-11 16:30:37 +03:00
variant_op.h Implement exponential operator (**) to GDScript/Expressions 2022-05-11 16:30:37 +03:00
variant_parser.cpp Merge pull request #48989 from MarioLiebisch/variant-comment-line-breaks 2022-05-05 13:41:08 +02:00
variant_parser.h Replace most uses of Map by HashMap 2022-05-16 10:37:48 +02:00
variant_setget.cpp Implement read-only arrays 2022-05-17 14:14:42 -03:00
variant_setget.h Allow picking similar colours using OKHSL. 2022-06-07 05:53:27 -07:00
variant_utility.cpp Clean up Hash Functions 2022-06-20 12:54:19 +02:00