virtualx-engine/scene
TechnoPorg 051ef479c9 Allow method binds to take Object subclasses as arguments
This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object.
This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary.
A few small changes also had to be made to other files, due to the changes cascading down all the includes.
2022-01-25 09:03:36 -07:00
..
2d Merge pull request #56696 from AnilBK/use-init-lists 2022-01-12 10:04:45 +01:00
3d Merge pull request #55446 from Calinou/spritebase3d-remove-opacity 2022-01-12 16:49:57 +01:00
animation Fix Tween pause behavior 2022-01-09 19:38:18 +01:00
audio Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
debugger Allow method binds to take Object subclasses as arguments 2022-01-25 09:03:36 -07:00
gui Allow method binds to take Object subclasses as arguments 2022-01-25 09:03:36 -07:00
main Refactor CanvasItem show/hide/set_visible 2022-01-12 23:13:41 +01:00
resources Merge pull request #56492 from akien-mga/remove-author-docstrings 2022-01-12 15:24:17 +01:00
property_utils.cpp Fix too broad assumption of null property defaults 2022-01-06 21:46:59 +01:00
property_utils.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
register_scene_types.cpp Merge pull request #56376 from pycbouh/theme-tombe-les-theme-properties 2022-01-06 11:33:43 +01:00
register_scene_types.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
scene_string_names.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
scene_string_names.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
SCsub Disable Node3D when compiling without 3D and fix disable_3d option 2021-08-13 08:59:48 -05:00