26edc6cd41
Extra: - Optimized the debug-only check about why the object is null to determine if it's because it has been deleted (the RC is enough; no need to check the ObjectDB). - Because of the previous point. the debugger being attached is not required anymore for giving the "Object was deleted" error; from now, it only matters that it's a debug build. - `is_instance_valid()` is now trustworthy. It will return `true` if, and only if, the last object assigned to a `Variant` is still alive (and not if a new object happened to be created at the same memory address of the old one). - Replacements of `instance_validate()` are used where possible `Variant::is_invalid_object()` is introduced to help with that. (GDScript's `is_instance_valid()` is good.) |
||
---|---|---|
.. | ||
animation_blend_space_1d.cpp | ||
animation_blend_space_1d.h | ||
animation_blend_space_2d.cpp | ||
animation_blend_space_2d.h | ||
animation_blend_tree.cpp | ||
animation_blend_tree.h | ||
animation_cache.cpp | ||
animation_cache.h | ||
animation_node_state_machine.cpp | ||
animation_node_state_machine.h | ||
animation_player.cpp | ||
animation_player.h | ||
animation_tree_player.cpp | ||
animation_tree_player.h | ||
animation_tree.cpp | ||
animation_tree.h | ||
root_motion_view.cpp | ||
root_motion_view.h | ||
SCsub | ||
skeleton_ik.cpp | ||
skeleton_ik.h | ||
tween.cpp | ||
tween.h |