godot/editor
Poommetee Ketson a492d22952 Mesh: fix crash when creating mesh outline from QuadMesh
Since create_outline can only make outline for PRIMITIVE_TRIANGLES,
when QuadMesh (which is PRIMITIVE_TRIANGLE_FAN) is used to create
outline, will leave `arrays` empty, and crash when it is being indexed
for "indices" subarray.

This PR shows error when there's only one surface and it is not
TRIANGLES. Also prevent the crash if it has more than one surface
and none of them are TRIANGLES (and any other cases that could leave
`arrays` empty) by checking the size of `arrays` == 8 before indexing
it, since the method seems to expect `arrays` to be of that size.
2018-04-01 22:06:47 +07:00
..
collada
doc Refactor version macros and fix related bugs 2018-02-23 20:15:29 +01:00
fileserver
icons Merge pull request #17440 from viktor-ferenczi/issue-5042 2018-03-13 11:49:58 +01:00
import Fix animation length from glTF not correctly set 2018-03-19 00:27:14 +01:00
plugins Mesh: fix crash when creating mesh outline from QuadMesh 2018-04-01 22:06:47 +07:00
translations Properly closing all files in Python code 2018-03-11 14:55:50 +01:00
animation_editor.cpp Merge pull request #17379 from poke1024/fix-anim-popups 2018-03-13 11:55:17 +01:00
animation_editor.h
array_property_edit.cpp
array_property_edit.h
code_editor.cpp Merge pull request #16241 from Chaosus/zoomlabel 2018-02-19 21:35:11 +01:00
code_editor.h Merge pull request #16241 from Chaosus/zoomlabel 2018-02-19 21:35:11 +01:00
connections_dialog.cpp
connections_dialog.h
create_dialog.cpp Fix new Node dialog Create button behavior 2018-03-04 23:27:18 +01:00
create_dialog.h
dependency_editor.cpp
dependency_editor.h
dictionary_property_edit.cpp Fix typos with codespell 2018-02-21 19:46:06 +01:00
dictionary_property_edit.h
editor_about.cpp Update icons when theme changed 2018-02-25 23:04:16 +07:00
editor_about.h
editor_asset_installer.cpp
editor_asset_installer.h
editor_audio_buses.cpp Merge pull request #17013 from Noshyaar/theme 2018-03-13 13:48:37 +01:00
editor_audio_buses.h
editor_autoload_settings.cpp Fix column width on AutoLoad table on hidpi displays 2018-03-11 15:28:23 +01:00
editor_autoload_settings.h Merge pull request #16709 from willnationsdev/autoload-edit 2018-02-19 22:04:42 +01:00
editor_data.cpp
editor_data.h
editor_dir_dialog.cpp
editor_dir_dialog.h
editor_export.cpp Improved error checking at EditorExportPlatformPC::export_project 2018-03-06 14:23:17 -03:00
editor_export.h
editor_file_dialog.cpp Icons update 2018-02-21 19:05:50 -06:00
editor_file_dialog.h
editor_file_system.cpp Merge pull request #17420 from marcelofg55/fscache_err_checks 2018-03-14 09:21:31 +01:00
editor_file_system.h
editor_fonts.cpp Add an hinting mode setting to DynamicFonts 2018-02-28 00:12:26 +01:00
editor_fonts.h
editor_help.cpp Fix for a possible compile error under OS X 2018-02-14 19:48:35 -03:00
editor_help.h Fix for a possible compile error under OS X 2018-02-14 19:48:35 -03:00
editor_initialize_ssl.cpp
editor_initialize_ssl.h
editor_log.cpp Show error icon at "Output" in case of errors 2018-03-11 14:20:32 +01:00
editor_log.h Show error icon at "Output" in case of errors 2018-03-11 14:20:32 +01:00
editor_name_dialog.cpp
editor_name_dialog.h
editor_node.cpp Fix bug added in PR#17589. Resources couldn't be saved to files 2018-03-24 19:16:47 +01:00
editor_node.h Merge pull request #17576 from Mr-Slurpy/master 2018-03-23 11:08:03 +01:00
editor_path.cpp
editor_path.h
editor_plugin_settings.cpp Remove unused variable from plugin settings update 2018-02-13 18:33:51 -02:00
editor_plugin_settings.h
editor_plugin.cpp Merge pull request #17576 from Mr-Slurpy/master 2018-03-23 11:08:03 +01:00
editor_plugin.h Enable EditorPlugin to add/remove autoloads 2018-02-14 20:15:57 -06:00
editor_profiler.cpp
editor_profiler.h
editor_resource_preview.cpp Clean up some bad words from code comments 2018-02-17 16:00:39 +03:00
editor_resource_preview.h
editor_run_native.cpp
editor_run_native.h
editor_run_script.cpp
editor_run_script.h
editor_run.cpp
editor_run.h
editor_scale.cpp
editor_scale.h
editor_settings.cpp Merge pull request #17706 from Calinou/overhaul-hidpi-settings 2018-03-23 14:12:20 +01:00
editor_settings.h Merge pull request #15399 from poke1024/load-one-translation 2018-02-14 17:04:44 +01:00
editor_sub_scene.cpp
editor_sub_scene.h
editor_themes.cpp Fix for a possible crash when a custom theme is not loaded properly 2018-03-03 20:47:57 -03:00
editor_themes.h
export_template_manager.cpp Fix version.txt validation logic for export templates .tpz 2018-02-25 15:24:33 +01:00
export_template_manager.h
file_type_cache.cpp
file_type_cache.h
filesystem_dock.cpp Merge pull request #17243 from delftswa2018/trailingDotFix 2018-03-07 14:09:20 +01:00
filesystem_dock.h Merge pull request #15379 from ianb96/delete_key_fix 2018-02-14 17:06:31 +01:00
groups_editor.cpp
groups_editor.h
import_dock.cpp
import_dock.h
multi_node_edit.cpp
multi_node_edit.h
node_dock.cpp
node_dock.h
output_strings.cpp
output_strings.h
pane_drag.cpp
pane_drag.h
progress_dialog.cpp
progress_dialog.h
project_export.cpp Update icons when theme changed 2018-02-25 23:04:16 +07:00
project_export.h
project_manager.cpp Overhaul the display scaling editor settings 2018-03-23 14:04:39 +01:00
project_manager.h Add show path button to project manager 2018-02-19 21:56:28 +01:00
project_settings_editor.cpp Fix non-valid characters for input_action 2018-03-17 15:32:44 +01:00
project_settings_editor.h Enable EditorPlugin to add/remove autoloads 2018-02-14 20:15:57 -06:00
property_editor.cpp Merge pull request #15505 from YeldhamDev/type_icons 2018-02-14 16:58:22 +01:00
property_editor.h
property_selector.cpp
property_selector.h
pvrtc_compress.cpp
pvrtc_compress.h
quick_open.cpp
quick_open.h
register_exporters.h
reparent_dialog.cpp
reparent_dialog.h
run_settings_dialog.cpp
run_settings_dialog.h
scene_tree_dock.cpp Merge pull request #17344 from poke1024/multi-add-clear-script 2018-03-23 11:37:18 +01:00
scene_tree_dock.h Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion. 2018-02-21 09:39:09 -03:00
scene_tree_editor.cpp Update icons when theme changed 2018-02-25 23:04:16 +07:00
scene_tree_editor.h Merge pull request #15235 from sersoong/master-batchtoggle 2018-02-18 17:20:15 +01:00
script_create_dialog.cpp Merge pull request #17388 from Hinsbart/mono_class_name 2018-03-15 19:47:39 +01:00
script_create_dialog.h Update icons when theme changed 2018-02-25 23:04:16 +07:00
script_editor_debugger.cpp Update icons when theme changed 2018-02-25 23:04:16 +07:00
script_editor_debugger.h Fix #16543 (add button to copy error from debugger) 2018-02-14 14:53:20 +03:00
SCsub Merge pull request #17440 from viktor-ferenczi/issue-5042 2018-03-13 11:49:58 +01:00
settings_config_dialog.cpp
settings_config_dialog.h
spatial_editor_gizmos.cpp Merge pull request #16402 from Calinou/fix-camera-gizmo 2018-02-13 13:10:33 +01:00
spatial_editor_gizmos.h