virtualx-engine/scene
Pedro J. Estébanez 26edc6cd41 Promote object validity checks to release builds
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.)
2021-09-21 10:39:04 +02:00
..
2d Backport new methods for KinematicBody and KinematicCollision 2021-08-26 12:16:40 +08:00
3d Merge pull request #52586 from JFonS/lm_bake_end 2021-09-14 22:40:48 +02:00
animation Promote object validity checks to release builds 2021-09-21 10:39:04 +02:00
audio Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
debugger Promote object validity checks to release builds 2021-09-21 10:39:04 +02:00
gui Use left/right arrow to move cursor when unselecting in LineEdit 2021-09-14 20:26:10 -05:00
main Merge pull request #47416 from Calinou/add-contrast-adaptive-sharpening-3.x 2021-08-10 10:08:24 +02:00
resources Fix loading packed scene with editable children at runtime 2021-09-14 13:41:27 +02:00
register_scene_types.cpp Sphere occluders (portals and general use) 2021-08-17 09:02:06 +01:00
register_scene_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
scene_string_names.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00