virtualx-engine/scene/3d
Rémi Verschelde 3e9740ac93 Fix more "may be used initialized" warnings from GCC 7
Fixes the following GCC 7 warnings:
```
core/cowdata.h:269:47: warning: 'alloc_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/error_macros.h:163:26: warning: 'nearest_point' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1579:5: warning: 'colormap_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1582:12: warning: 'size_height' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1590:23: warning: 'size_width' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1599:29: warning: 'pixel_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/math/face3.cpp:207:15: warning: 'tri_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/math/face3.cpp:209:15: warning: 'tri_min' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:665:22: warning: 'best_used_frame' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_storage_gles3.cpp:865:27: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_storage_gles3.cpp:980:29: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::frag_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::id' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::vert_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/script_editor_plugin.cpp:1980:31: warning: 'se' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/scene_tree_dock.cpp:840:30: warning: 'new_node' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lll' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lul' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4260:9: warning: 'a2' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4261:9: warning: 'a3' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4265:3: warning: 'enable_lin' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4294:3: warning: 'enable_ang' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4311:34: warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4311:34: warning: 'ul' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1655:47: warning: 'cone_dirs' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1656:73: warning: 'cone_weights' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/gui/texture_progress.cpp:181:6: warning: 'cp' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/gui/texture_progress.cpp:181:6: warning: 'cq' may be used uninitialized in this function [-Wmaybe-uninitialized]
servers/physics/shape_sw.cpp:1056:19: warning: 'support_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
```
2018-10-04 18:54:20 +02:00
..
area.cpp Improve ClassDB information for some some signal parameters 2018-09-01 18:05:51 +08:00
area.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
arvr_nodes.cpp Fight off some error spam in the editor 2018-06-24 11:54:08 +10:00
arvr_nodes.h Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
audio_stream_player_3d.cpp fix enum cast warnings on clang 2018-10-04 09:17:59 +02:00
audio_stream_player_3d.h Improved stream paused fade code 2018-07-09 21:58:33 -03:00
baked_lightmap.cpp Fix lightmap baking crash, may close some issues but I am not sure. 2018-10-03 14:58:33 -03:00
baked_lightmap.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
bone_attachment.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
bone_attachment.h Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
camera.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
camera.h Changes to ClippedCamera, RayCast,Raycast2D and 2D physics API to add ability to choose between bodies and areas when colliding. 2018-08-21 15:31:23 -03:00
collision_object.cpp Improve ClassDB information for some some signal parameters 2018-09-01 18:05:51 +08:00
collision_object.h Implemented Soft body 2018-07-23 20:50:23 +02:00
collision_polygon.cpp CSG Support for Godot! 2018-04-27 21:55:10 -03:00
collision_polygon.h CSG Support for Godot! 2018-04-27 21:55:10 -03:00
collision_shape.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
collision_shape.h Implemented Soft body 2018-07-23 20:50:23 +02:00
cpu_particles.cpp Fix warning about functions defined but not used [-Wunused-function] 2018-09-29 22:26:12 +02:00
cpu_particles.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
gi_probe.cpp Ability to disable scale in nodes, closes #19927 2018-07-18 13:48:09 -03:00
gi_probe.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
immediate_geometry.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
immediate_geometry.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
interpolated_camera.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
interpolated_camera.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
light.cpp Fix warnings about set but unused variables [-Wunused-but-set-variable] 2018-09-27 16:25:24 +02:00
light.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
listener.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
listener.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_instance.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
mesh_instance.h Implemented Soft body 2018-07-23 20:50:23 +02:00
multimesh_instance.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
multimesh_instance.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
navigation.cpp Fix warnings about set but unused variables [-Wunused-but-set-variable] 2018-09-27 16:25:24 +02:00
navigation.h Better heuristic for the shortest path algorithm for navigation2D and navigation. 2018-09-20 21:23:17 +02:00
navigation_mesh.cpp Reduce unnecessary COW on Vector by make writing explicit 2018-07-26 00:54:16 +02:00
navigation_mesh.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
particles.cpp Move ParticlesMaterial code to its own resource file 2018-09-04 11:32:56 +02:00
particles.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
path.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
path.h Up vector implementation and OrientedPathFollow. 2018-05-20 19:51:56 -03:00
physics_body.cpp Fix warnings about wrong member initialization order [-Wreorder] 2018-09-28 17:30:28 +02:00
physics_body.h Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-virtual-dtor] 2018-10-02 13:40:17 +02:00
physics_joint.cpp Added possibility to create joints with only one body 2018-08-16 08:23:08 +02:00
physics_joint.h Implemented interface for bullet joint motors 2018-03-16 13:37:15 +01:00
portal.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
portal.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
position_3d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
position_3d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
proximity_group.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
proximity_group.h Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
ray_cast.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
ray_cast.h Changes to ClippedCamera, RayCast,Raycast2D and 2D physics API to add ability to choose between bodies and areas when colliding. 2018-08-21 15:31:23 -03:00
reflection_probe.cpp Ability to disable scale in nodes, closes #19927 2018-07-18 13:48:09 -03:00
reflection_probe.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
remote_transform.cpp Switched AnimatedTexture to a readers-writers lock, solves a race condition and fixes #20221 2018-08-23 13:28:36 -03:00
remote_transform.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
room_instance.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
room_instance.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
scenario_fx.cpp -Ability to open resources in the same window 2018-05-17 18:03:05 -03:00
scenario_fx.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
skeleton.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
skeleton.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
soft_body.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
soft_body.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
spatial.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
spatial.h Add a function to force transform update, fixes #17628 2018-09-06 20:38:16 -03:00
spatial_velocity_tracker.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
spatial_velocity_tracker.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
spring_arm.cpp Fix warnings about wrong member initialization order [-Wreorder] 2018-09-28 17:30:28 +02:00
spring_arm.h Fix warnings about wrong member initialization order [-Wreorder] 2018-09-28 17:30:28 +02:00
sprite_3d.cpp Merge pull request #21502 from Web-eWorks/atlasfixes 2018-09-14 15:02:23 +02:00
sprite_3d.h Polished 3D selection 2018-06-13 17:52:37 +02:00
vehicle_body.cpp Misc. typos 2018-09-12 21:39:17 -04:00
vehicle_body.h Reduce unnecessary COW on Vector by make writing explicit 2018-07-26 00:54:16 +02:00
visibility_notifier.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
visibility_notifier.h Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-virtual-dtor] 2018-10-02 13:40:17 +02:00
visual_instance.cpp Fix GeometryInstance extra_cull_margin step 2018-09-23 13:58:58 +02:00
visual_instance.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
voxel_light_baker.cpp Fix more "may be used initialized" warnings from GCC 7 2018-10-04 18:54:20 +02:00
voxel_light_baker.h Many more fixes for GLES2 mobile export. Also added ability to turn on OpenGL debugging on Android export. 2018-10-02 10:00:15 -03:00