godot/editor/plugins
Crazy-P e6deba8d19 Fixes logically dead code (Coverity)
Fixes reported logically dead codes by Coverity

* image.cpp: Doesn't really need any modification. But to remove the bug
report then we have to move the MAX call away from the for loop
statement.

* rasterizer_gles3.cpp: Removes unnecessary elif condition since it is
checked earlier in the function

* collada.cpp: If stamement never reached due to macro ERR_CONTINUE does
the same.

* navigation_mesh.cpp: Variables should always be null - however, also
checked for the very same condition in their function call. Leaving this
for review (whether the function call is necessary or not)

* path_editor_plugin.cpp: If cancel is true, then it should restore the
edited value to the original provided.
http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle

* spatial_editor_gizmos.cpp: the very condition of i >= 3 is
predetermined in the if case right before it. Thus case 1 is always '1'
and case 2 is always '-1'

* grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp

* voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp

* visual_server.cpp: Same as above in spatial_editor_gizmos.cpp

* visual_script_expression.cpp: char '-' is already true in the switch
case mechanism. Thus it can never reach to default case.

* particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking
right before the switch execution.

* shader_language.cpp: Invalid index is handled in switch default case.
`type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`)
Fixes the "always false problem" in TODO comment.
2018-04-21 22:35:23 +08:00
..
abstract_polygon_2d_editor.cpp
abstract_polygon_2d_editor.h
animation_player_editor_plugin.cpp Use radio-button-like menu entries where applicable 2018-03-27 19:19:45 +02:00
animation_player_editor_plugin.h
animation_tree_editor_plugin.cpp Fixed some popups not shrinking their size back when losing items. 2018-03-28 17:04:37 -03:00
animation_tree_editor_plugin.h
asset_library_editor_plugin.cpp Revert "Unify http- and percent- encode/decode" 2018-04-12 21:12:34 +02:00
asset_library_editor_plugin.h Update icons when theme changed 2018-02-25 23:04:16 +07:00
baked_lightmap_editor_plugin.cpp
baked_lightmap_editor_plugin.h
camera_editor_plugin.cpp
camera_editor_plugin.h
canvas_item_editor_plugin.cpp Merge pull request #17502 from groud/2Deditor_rect 2018-04-13 10:21:44 -03:00
canvas_item_editor_plugin.h Displays node icon on hover 2018-04-03 23:56:37 +02:00
collision_polygon_2d_editor_plugin.cpp
collision_polygon_2d_editor_plugin.h
collision_polygon_editor_plugin.cpp Fix typos with codespell 2018-02-21 19:46:06 +01:00
collision_polygon_editor_plugin.h
collision_shape_2d_editor_plugin.cpp
collision_shape_2d_editor_plugin.h
cube_grid_theme_editor_plugin.cpp
cube_grid_theme_editor_plugin.h
curve_editor_plugin.cpp Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
curve_editor_plugin.h
editor_preview_plugins.cpp Fix round preview getting square on "run scene" (issue 16734) 2018-02-28 20:23:40 +01:00
editor_preview_plugins.h Fix round preview getting square on "run scene" (issue 16734) 2018-02-28 20:23:40 +01:00
gi_probe_editor_plugin.cpp
gi_probe_editor_plugin.h
gradient_editor_plugin.cpp
gradient_editor_plugin.h
item_list_editor_plugin.cpp Support radio-button entries in ItemListPlugin 2018-03-27 19:19:45 +02:00
item_list_editor_plugin.h Support radio-button entries in ItemListPlugin 2018-03-27 19:19:45 +02:00
light_occluder_2d_editor_plugin.cpp
light_occluder_2d_editor_plugin.h
line_2d_editor_plugin.cpp
line_2d_editor_plugin.h
material_editor_plugin.cpp
material_editor_plugin.h
mesh_editor_plugin.cpp
mesh_editor_plugin.h
mesh_instance_editor_plugin.cpp Mesh: fix crash when creating mesh outline from QuadMesh 2018-04-01 22:06:47 +07:00
mesh_instance_editor_plugin.h
multimesh_editor_plugin.cpp
multimesh_editor_plugin.h
navigation_mesh_editor_plugin.cpp
navigation_mesh_editor_plugin.h
navigation_mesh_generator.cpp Fixes logically dead code (Coverity) 2018-04-21 22:35:23 +08:00
navigation_mesh_generator.h Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
navigation_polygon_editor_plugin.cpp
navigation_polygon_editor_plugin.h
particles_2d_editor_plugin.cpp
particles_2d_editor_plugin.h
particles_editor_plugin.cpp
particles_editor_plugin.h
path_2d_editor_plugin.cpp
path_2d_editor_plugin.h
path_editor_plugin.cpp Fixes logically dead code (Coverity) 2018-04-21 22:35:23 +08:00
path_editor_plugin.h
polygon_2d_editor_plugin.cpp Add a split editor to polygon 2D UV editor, moving an inch closer to adding support for in the future 2018-02-25 12:07:13 -03:00
polygon_2d_editor_plugin.h Add a split editor to polygon 2D UV editor, moving an inch closer to adding support for in the future 2018-02-25 12:07:13 -03:00
resource_preloader_editor_plugin.cpp
resource_preloader_editor_plugin.h
script_editor_plugin.cpp Merge pull request #16571 from Zylann/find_in_files 2018-04-08 17:24:26 -03:00
script_editor_plugin.h Merge pull request #16571 from Zylann/find_in_files 2018-04-08 17:24:26 -03:00
script_text_editor.cpp Merge pull request #16571 from Zylann/find_in_files 2018-04-08 17:24:26 -03:00
script_text_editor.h Merge pull request #16571 from Zylann/find_in_files 2018-04-08 17:24:26 -03:00
SCsub
shader_editor_plugin.cpp
shader_editor_plugin.h
shader_graph_editor_plugin.cpp Improve popup menus usability 2018-04-07 01:06:02 +02:00
shader_graph_editor_plugin.h
skeleton_2d_editor_plugin.cpp Fix possible crash when clicking on Skeleton2D or Sprite editor options 2018-04-18 16:45:39 +03:00
skeleton_2d_editor_plugin.h 2D Skeletons WORK IN PROGRESS 2018-02-21 17:24:00 -03:00
spatial_editor_plugin.cpp Merge pull request #17730 from RandomShaper/radio-buttons-in-menus 2018-04-07 16:41:39 -03:00
spatial_editor_plugin.h Enable snapping when control key pressed 2018-02-21 17:36:25 +03:00
sprite_editor_plugin.cpp Fix possible crash when clicking on Skeleton2D or Sprite editor options 2018-04-18 16:45:39 +03:00
sprite_editor_plugin.h Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion. 2018-02-21 09:39:09 -03:00
sprite_frames_editor_plugin.cpp Removed unneeded sort from SpriteFramesEditor plugin 2018-04-02 19:06:13 -04:00
sprite_frames_editor_plugin.h
style_box_editor_plugin.cpp
style_box_editor_plugin.h
texture_editor_plugin.cpp Fix gradient texture preview 2018-02-03 12:10:44 +03:00
texture_editor_plugin.h
texture_region_editor_plugin.cpp Use radio-button-like menu entries where applicable 2018-03-27 19:19:45 +02:00
texture_region_editor_plugin.h Tileset Editor Improvement 2018-02-20 22:33:59 +07:00
theme_editor_plugin.cpp Add radio-button-looking entries to PopupMenu 2018-03-27 19:19:45 +02:00
theme_editor_plugin.h
tile_map_editor_plugin.cpp Update transform buttons in tile editor while using T, A, S shortcuts (fixes #17962) 2018-04-04 16:02:44 +03:00
tile_map_editor_plugin.h Add functionality to move selected tiles in tile map editor 2018-04-04 09:23:56 +02:00
tile_set_editor_plugin.cpp Fix converting to tileset crashes Godot if existing file is not tileset 2018-03-23 21:27:30 +07:00
tile_set_editor_plugin.h TileSetEditorPlgn: use EditorHandle icon as handle 2018-03-02 23:15:32 +07:00