virtualx-engine/scene/2d
jmb462 ae8019a7f6
Fix crash on calling play() in a uninitialized AnimatedSprite2D
When AnimatedSprite2D::play() was called before SpriteFrames has been initialized, a crach occurred (issue #46013).

Modification : An error message on null check test has been added to prevent crash.

Fix #46013.

(cherry picked from commit 324ab63844)
2021-03-17 15:33:38 +01:00
..
animated_sprite.cpp Fix crash on calling play() in a uninitialized AnimatedSprite2D 2021-03-17 15:33:38 +01:00
animated_sprite.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
area_2d.cpp Rename the final parameter of area_shape_entered-exited local_shape. 2021-01-15 09:46:19 +00:00
area_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
audio_stream_player_2d.cpp Modernize atomics 2021-02-18 12:23:25 +01:00
audio_stream_player_2d.h Modernize atomics 2021-02-18 12:23:25 +01:00
back_buffer_copy.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
back_buffer_copy.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
camera_2d.cpp Camera2D: Update scrolls when the Viewport is resized 2021-03-09 17:17:51 +01:00
camera_2d.h Camera2D: Update scrolls when the Viewport is resized 2021-03-09 17:17:51 +01:00
canvas_item.cpp Modernize Mutex 2021-02-18 11:58:08 +01:00
canvas_item.h Modernize Mutex 2021-02-18 11:58:08 +01:00
canvas_modulate.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
canvas_modulate.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
collision_object_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
collision_object_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
collision_polygon_2d.cpp Fix errors with invalid CollisionPolygon2D 2021-03-05 22:45:29 +01:00
collision_polygon_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
collision_shape_2d.cpp Collision Shape 2D 'Disabled' Visualization Correction 2021-02-19 15:51:43 +01:00
collision_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
cpu_particles_2d.cpp Modernize Mutex 2021-02-18 11:58:08 +01:00
cpu_particles_2d.h Modernize Mutex 2021-02-18 11:58:08 +01:00
joints_2d.cpp Fix Joint2D/Joint node path reset on scene switch 2021-03-02 08:32:00 -07:00
joints_2d.h Fix Joint2D/Joint node path reset on scene switch 2021-03-02 08:32:00 -07:00
light_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
light_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
light_occluder_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
light_occluder_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
line_2d.cpp Line2D::set_point_position Fail if passed index is out of bounds 2021-02-22 10:16:22 +01:00
line_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
line_builder.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
line_builder.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
mesh_instance_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
mesh_instance_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
multimesh_instance_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
multimesh_instance_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
navigation_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
navigation_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
navigation_polygon.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
navigation_polygon.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
node_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
node_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
parallax_background.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
parallax_background.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
parallax_layer.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
parallax_layer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
particles_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
particles_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
path_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
path_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
physics_body_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
physics_body_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
polygon_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
polygon_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
position_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
position_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
ray_cast_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
ray_cast_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
remote_transform_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
remote_transform_2d.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
skeleton_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
skeleton_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
sprite.cpp Revert backport of 2D transform and camera snapping options 2021-03-05 14:20:31 +00:00
sprite.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
tile_map.cpp Added show_collision property. 2021-03-05 01:21:40 +05:30
tile_map.h Added show_collision property. 2021-03-05 01:21:40 +05:30
touch_screen_button.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
touch_screen_button.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
visibility_notifier_2d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
visibility_notifier_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
y_sort.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
y_sort.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00