051ef479c9
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. |
||
---|---|---|
.. | ||
core | ||
data | ||
scene | ||
servers | ||
SCsub | ||
test_macros.cpp | ||
test_macros.h | ||
test_main.cpp | ||
test_main.h | ||
test_tools.h | ||
test_utils.cpp | ||
test_utils.h | ||
test_validate_testing.h |