virtualx-engine/scene
Pedro Rodrigues 138d5121eb Fix crash trying to destroy an ImageTexture object containing a null texture
The problem happened when `ImageTexture::create_from_image` was called
with an empty image. In this situation an RID was allocated despite the
texture being null. The destructor would then crash trying to acess this
null texture.

Fixes #46274

(cherry picked from commit 46218d8c37)
2021-03-04 12:21:17 +01:00
..
2d Make Camera2D's editor helper code only be compiled on editor builds 2021-03-04 11:35:39 +01:00
3d Add null check for NavigationMesh.create_from_mesh() 2021-03-04 11:41:46 +01:00
animation Tween: Add null check for target object 2021-02-25 15:14:31 +01:00
audio Don't fade out after pausing unless stream is running 2021-02-19 15:55:41 +01:00
debugger Modernize Mutex 2021-02-18 11:58:08 +01:00
gui Deselect column only if belongs to deselected item 2021-03-04 12:20:35 +01:00
main HTTPRequest: Improve response when disconnecting while downloading 2021-03-04 11:31:57 +01:00
resources Fix crash trying to destroy an ImageTexture object containing a null texture 2021-03-04 12:21:17 +01:00
register_scene_types.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_scene_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00