godot/editor/plugins
Hein-Pieter van Braam cacced7e50 Convert Object::cast_to() to the static version
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.

This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.

It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
..
SCsub Refactoring: rename tools/editor/ to editor/ 2017-03-05 14:21:25 +01:00
animation_player_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
animation_player_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
animation_tree_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
animation_tree_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
baked_light_baker.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
baked_light_baker.h Removal of Image from Variant, converted to a Resource. 2017-05-17 07:37:45 -03:00
baked_light_baker_cmpxchg.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
baked_light_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
baked_light_editor_plugin.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
camera_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
camera_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
canvas_item_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
canvas_item_editor_plugin.h Adds a function to set Anchors with a layout preset 2017-08-13 21:20:14 +02:00
collision_polygon_2d_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
collision_polygon_2d_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
collision_polygon_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
collision_polygon_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
collision_shape_2d_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
collision_shape_2d_editor_plugin.h Removal of InputEvent as built-in Variant type.. 2017-05-20 17:05:38 -03:00
cube_grid_theme_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
cube_grid_theme_editor_plugin.h Converting to MeshLibrary works again, fixes #8092 2017-08-15 11:41:17 -03:00
curve_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
curve_editor_plugin.h Added Curve preview thumbnail 2017-07-02 01:52:47 +02:00
editor_preview_plugins.cpp -Renamed GlobalConfig to ProjectSettings, makes more sense. 2017-07-19 17:06:03 -03:00
editor_preview_plugins.h -Restored multithread capability to VisualServer 2017-06-09 00:24:18 -03:00
gi_probe_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
gi_probe_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
gradient_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
gradient_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
item_list_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
item_list_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
light_occluder_2d_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
light_occluder_2d_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
line_2d_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
line_2d_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
material_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
material_editor_plugin.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
mesh_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
mesh_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
mesh_instance_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
mesh_instance_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
multimesh_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
multimesh_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
navigation_polygon_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
navigation_polygon_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
particles_2d_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
particles_2d_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
particles_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
particles_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
path_2d_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
path_2d_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
path_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
path_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
polygon_2d_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
polygon_2d_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
resource_preloader_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
resource_preloader_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
rich_text_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
rich_text_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
sample_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
sample_editor_plugin.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
sample_library_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
sample_library_editor_plugin.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
sample_player_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
sample_player_editor_plugin.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
script_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
script_editor_plugin.h Update script signals in real-time when script changes. Fixes #8980 2017-08-18 16:44:03 -03:00
script_text_editor.cpp -Code completion for enumerations 2017-08-24 00:06:56 -03:00
script_text_editor.h -Code completion for enumerations 2017-08-24 00:06:56 -03:00
shader_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
shader_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
shader_graph_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
shader_graph_editor_plugin.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
spatial_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
spatial_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
sprite_frames_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
sprite_frames_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
stream_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
stream_editor_plugin.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
style_box_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
style_box_editor_plugin.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
texture_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
texture_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
texture_region_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
texture_region_editor_plugin.h Updated function argument names 2017-08-12 15:12:49 -04:00
theme_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
theme_editor_plugin.h ThemeEditor: fix broken dialog 2017-07-27 14:17:02 +07:00
tile_map_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
tile_map_editor_plugin.h Tilemap Editor: Setting to hide tile info in the menu bar 2017-08-16 19:51:55 +02:00
tile_set_editor_plugin.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
tile_set_editor_plugin.h Fix #8819. Adds _import_node() that, when used in conjunction with _import_scene, recurses through the scene tree and exports all available nodes. 2017-05-19 14:49:37 -07:00