virtualx-engine/scene/resources
Rémi Verschelde d95bbb8922 Fix warnings about set but unused variables [-Wunused-but-set-variable]
Fixes the following GCC 5 warnings:
```
drivers/gles2/rasterizer_canvas_gles2.cpp:814:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:2270:11: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:2673:22: warning: variable 'e' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:715:7: warning: variable 'no_cull' set but not used [-Wunused-but-set-variable]
drivers/gles2/shader_gles2.cpp:693:14: warning: variable 'cc' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_canvas_gles3.cpp:1226:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:3039:10: warning: variable 'contrib' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:4504:32: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable]
editor/editor_inspector.cpp:272:9: warning: variable 'guide_color' set but not used [-Wunused-but-set-variable]
editor/editor_themes.cpp:1067:14: warning: variable 'alpha3' set but not used [-Wunused-but-set-variable]
editor/editor_themes.cpp:263:8: warning: variable 'script_bg_color' set but not used [-Wunused-but-set-variable]
editor/plugins/collision_shape_2d_editor_plugin.cpp:326:11: warning: variable 'cpoint' set but not used [-Wunused-but-set-variable]
editor/plugins/mesh_editor_plugin.cpp:72:9: warning: variable 'size' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:471:12: warning: variable 'mpos' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:89:8: warning: variable 'basetype_color' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:90:8: warning: variable 'type_color' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:92:8: warning: variable 'string_color' set but not used [-Wunused-but-set-variable]
modules/visual_script/visual_script_editor.cpp:2521:7: warning: variable 'seq_connect' set but not used [-Wunused-but-set-variable]
platform/android/export/export.cpp:580:12: warning: variable 'styles_count' set but not used [-Wunused-but-set-variable]
platform/android/export/export.cpp:584:12: warning: variable 'styles_offset' set but not used [-Wunused-but-set-variable]
platform/osx/export/export.cpp:464:9: warning: variable 'zerr' set but not used [-Wunused-but-set-variable]
scene/2d/tile_map.cpp:260:10: warning: variable 'tcenter' set but not used [-Wunused-but-set-variable]
scene/3d/light.cpp:166:7: warning: variable 'editor_ok' set but not used [-Wunused-but-set-variable]
scene/3d/navigation.cpp:566:11: warning: variable 'closest_navmesh' set but not used [-Wunused-but-set-variable]
scene/gui/rich_text_label.cpp:869:8: warning: variable 'size' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:705:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:706:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:726:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:727:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable]
scene/resources/material.cpp:430:7: warning: variable 'using_world' set but not used [-Wunused-but-set-variable]
servers/visual/shader_language.cpp:2026:7: warning: variable 'all_const' set but not used [-Wunused-but-set-variable]
servers/visual/visual_server_scene.cpp:1383:28: warning: variable 'z_max_cam' set but not used [-Wunused-but-set-variable]
```

Also fixes two [-Wunused-value] warnings:
```
scene/gui/text_edit.cpp:4405:20: warning: statement has no effect [-Wunused-value]
servers/visual/visual_server_scene.cpp:905:48: warning: value computed is not used [-Wunused-value]
```

Some of those are bugs and need further work, they are identified with
`// FIXME` comments.
2018-09-27 16:25:24 +02:00
..
default_theme Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
animation.cpp Merge pull request #21982 from luzpaz/misc-typos 2018-09-13 10:59:00 +02:00
animation.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
audio_stream_sample.cpp Fix warnings for comparison between signed and unsigned integers [-Wsign-compare] 2018-09-27 16:25:23 +02:00
audio_stream_sample.h Audio Recording module 2018-07-26 14:14:29 +02:00
bit_mask.cpp Fix warnings about unused variables [-Wunused-variable] 2018-09-27 16:25:24 +02:00
bit_mask.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
bounds.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
bounds.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
box_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
box_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
canvas.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
canvas.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
capsule_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
capsule_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
capsule_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
capsule_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
circle_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
circle_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
color_ramp.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
color_ramp.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
concave_polygon_shape.cpp Reduce unnecessary COW on Vector by make writing explicit 2018-07-26 00:54:16 +02:00
concave_polygon_shape.h Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
concave_polygon_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
concave_polygon_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
convex_polygon_shape.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
convex_polygon_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
convex_polygon_shape_2d.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
convex_polygon_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
curve.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
curve.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
cylinder_shape.cpp added cylinder shape support 2018-07-01 11:16:54 +02:00
cylinder_shape.h added cylinder shape support 2018-07-01 11:16:54 +02:00
dynamic_font.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
dynamic_font.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
dynamic_font_stb.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
dynamic_font_stb.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
environment.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
environment.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
font.cpp Clear textures before setting new textures (#21718) 2018-09-17 20:52:45 +02:00
font.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
material.cpp Fix warnings about set but unused variables [-Wunused-but-set-variable] 2018-09-27 16:25:24 +02:00
material.h Set uniform default values in inspector 2018-09-13 23:05:33 +02:00
mesh.cpp Fix warnings about unused variables [-Wunused-variable] 2018-09-27 16:25:24 +02:00
mesh.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
mesh_data_tool.cpp Reduce unnecessary COW on Vector by make writing explicit 2018-07-26 00:54:16 +02:00
mesh_data_tool.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_library.cpp Reduce unnecessary COW on Vector by make writing explicit 2018-07-26 00:54:16 +02:00
mesh_library.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
multimesh.cpp Fixes to multimesh, added custom data and checks to avoid reconfiguring if instance count > 0. Fixes #12595 2018-09-05 19:15:59 -03:00
multimesh.h Fixes to multimesh, added custom data and checks to avoid reconfiguring if instance count > 0. Fixes #12595 2018-09-05 19:15:59 -03:00
packed_scene.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
packed_scene.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
particles_material.cpp Particles: Reset default velocity to 0, allow negative values 2018-09-04 15:35:11 +02:00
particles_material.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
physics_material.cpp Add missing copyright headers 2018-08-29 22:41:17 +02:00
physics_material.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
plane_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
plane_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
polygon_path_finder.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
polygon_path_finder.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
primitive_meshes.cpp Fix SoftBody gizmo slowness, add ConcaveShape wireframe 2018-09-09 19:39:34 +02:00
primitive_meshes.h Added a simpler way to flip faces, closes #17373 and closes #17369 2018-05-07 18:55:05 -03:00
ray_shape.cpp Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape 2018-02-19 20:59:57 +01:00
ray_shape.h Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape 2018-02-19 20:59:57 +01:00
rectangle_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
rectangle_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
room.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
room.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
scene_format_text.cpp Merge pull request #21982 from luzpaz/misc-typos 2018-09-13 10:59:00 +02:00
scene_format_text.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
SCsub Move other lone thirdparty files to thirdparty/misc 2017-04-28 21:19:25 +02:00
segment_shape_2d.cpp Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape 2018-02-19 20:59:57 +01:00
segment_shape_2d.h Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape 2018-02-19 20:59:57 +01:00
shader.cpp Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension. 2018-09-14 22:30:48 -04:00
shader.h Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension. 2018-09-14 22:30:48 -04:00
shape.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
shape.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape_2d.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
shape_line_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape_line_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
sky_box.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
sky_box.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
space_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
space_2d.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
sphere_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
sphere_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
style_box.cpp Visual Shaders are back. 2018-07-14 18:16:18 -03:00
style_box.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
surface_tool.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
surface_tool.h Added flip switch to generate_normals 2018-02-19 22:40:34 +03:00
text_file.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
text_file.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
texture.cpp Merge pull request #21569 from JFonS/add_noise_textures 2018-09-14 16:57:26 +02:00
texture.h Mark AnimatedTexture frame_* properties as internal 2018-09-13 22:54:35 +02:00
theme.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
theme.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
tile_set.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
tile_set.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
video_stream.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
video_stream.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
visual_shader.cpp Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension. 2018-09-14 22:30:48 -04:00
visual_shader.h Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension. 2018-09-14 22:30:48 -04:00
visual_shader_nodes.cpp Add missing copyright headers 2018-08-29 22:41:17 +02:00
visual_shader_nodes.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
world.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
world.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
world_2d.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
world_2d.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00