summaryrefslogtreecommitdiff
path: root/editor
AgeCommit message (Collapse)Author
2018-10-15Fix enum values in the editor and hide enum numeric values in the InspectorIgnacio Etcheverry
- Hide numeric value of enum constants in the inspector (EditorPropertyEnum) - EditorPropertyEnum, CustomPropertyEditor: Calculate values of enum constants correctly when only some of these constants have explicit values.
2018-10-07Merge pull request #22771 from guilhermefelipecgs/fix_inspector_previewRémi Verschelde
Fix inspector preview
2018-10-07Baker fixesJuan Linietsky
2018-10-07Fix inspector previewGuilherme Felipe
Remove script preview to inspector dock
2018-10-07Merge pull request #22698 from Calinou/fix-find-files-hidpiRémi Verschelde
Fix Find in Files font size on hiDPI displays
2018-10-07Merge pull request #22700 from Calinou/increase-itemlist-popupmenu-spacingRémi Verschelde
Increase spacing slightly between ItemList and PopupMenu items
2018-10-07Merge pull request #22705 from DualMatrix/debugging_the_debugger_grand_finaleRémi Verschelde
Cleaned up/Fixed some bugs in the remote inspector code.
2018-10-07Revert "Make KEY_ESCAPE close all output/debugger docks on bottom"Rémi Verschelde
This reverts commit 2ae2735a7a2631ef1a2c901a81135b1a1f3f954f. It also closes panels like the shader text editor when trying to discard code completion tooltips. It could be readded with extra care that modals like tooltips will take precedence and mark the event as handled. Fixes #17159, fixes #20738, closes #22727.
2018-10-07Merge pull request #22722 from akien-mga/fix-warningsRémi Verschelde
Fix more "may be used initialized" warnings from GCC 7
2018-10-07Merge pull request #22770 from Chaosus/fix_inspector_themeRémi Verschelde
Fix inspector color when theme changed
2018-10-07Merge pull request #22752 from aaronfranke/equals-redundantRémi Verschelde
Remove redundant "== true" and "== false" code
2018-10-06Make the 3D viewport menu button easier to readHugo Locurcio
This closes #22809.
2018-10-06Remove redundant "== false" codeAaron Franke
Some of this code has been re-organized. f
2018-10-06Remove redundant "== true" codeAaron Franke
If it can be compared to a boolean, it can be evaluated as one in-place.
2018-10-05Fixes to baker, restored xatlas and fixed bake options.Juan Linietsky
2018-10-05Merge pull request #22750 from williamd1k0/improve-resource-preloaderRémi Verschelde
Improve ResourcePreloader editor plugin
2018-10-05Fix Find in Files font size on hiDPI displaysHugo Locurcio
This closes #22692.
2018-10-05Fix inspector color when theme changedChaosus
2018-10-05Improve ResourcePreloader editor pluginWilliam Tumeo
Fix #22724 by adding an Open Resource button Add a Remove button to each tree item Remove the old Remove button and its useless code Adjust columns min width Remove Resource names and move icons to the left Add a Resource icon fallback
2018-10-05Added noise texture icon, fixes #22704qonnop
2018-10-05Increase spacing slightly between ItemList and PopupMenu itemsHugo Locurcio
2018-10-05Merge pull request #22623 from dualtagh/22586Rémi Verschelde
22586: Dragging file icon on to another file causes "Error Moving" in FileSystem dock
2018-10-05Merge pull request #22732 from DualMatrix/deselectRémi Verschelde
Deselect recents when selecting favorites and vice versa in Create Node window.
2018-10-04Deselect recents when selecting favorites and vice versa in Create Node.DualMatrix
Deselect recents when selecting favorites and vice versa in Create Node.
2018-10-0422586: Dragging file icon on to another file causes "Error Moving" in ↵Dualtagh Murray
FileSystem dock
2018-10-04Fix more "may be used initialized" warnings from GCC 7Rémi Verschelde
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-04Merge pull request #22715 from groud/fix_tilemap_editorRémi Verschelde
Fixes tilemap editor offset tile selection
2018-10-04Fix some cppcheck errorsSimon Wenner
cppcheck: fix broken pre-processor statement cppcheck: fix Uninitialized struct members in canvas editor plugin cppcheck: fix uninitialized struct member: method_api.is_virtual
2018-10-04Cleaned up/Fixed some bugs in the remote inspector code.DualMatrix
Cleaned up/Fixed some bugs in the remote inspector code. This makes some of my previous code cleaner while resolving a bunch of bugs.
2018-10-04Fixes tilemap editor offset tile selectiongroud
2018-10-04Merge pull request #22713 from akien-mga/fix-warningsRémi Verschelde
Fix GCC 8 warnings about potentially unitialized variables
2018-10-04Merge pull request #22693 from mineevgleb/fix-graphnode-titleRémi Verschelde
#21661: fixed GraphNode title offset
2018-10-04Fix TileMap editor drawingthe 8th mage
the tile cursor did not follow the mouse cursor, and the tile grid was displayed wrong, because the forward_canvas_draw_over_viewport function used the wrong xform and thus its map_to_world is not the inverse of the mouse interactor world_to_map, making the tiles draw from 0,0 of the screen instead of 0,0 of the tile map (which is in a different place)
2018-10-04Fix GCC 8 warnings about potentially unitialized variablesRémi Verschelde
Fixes the following GCC 8 warnings: ``` core/image.cpp:730:44: warning: 'mip1_weight' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:293:20: warning: 'mip2' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:293:20: warning: 'mip1' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/audio_stream_preview.cpp:58:19: warning: 'vmax' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/audio_stream_preview.cpp:85:19: warning: 'vmin' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/editor_themes.cpp:306:53: warning: 'preset_contrast' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/animation_blend_space_2d_editor.cpp:459:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/animation_blend_space_2d_editor.cpp:443:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] main/tests/test_oa_hash_map.cpp:57:29: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] modules/csg/csg.cpp:764:40: warning: 'max_angle' may be used uninitialized in this function [-Wmaybe-uninitialized] modules/csg/csg_shape.cpp:1945:3: warning: 'face_count' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1593:8: warning: 'cone_aperture' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1592:6: warning: 'cone_dir_count' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/animation/animation_blend_space_2d.cpp:471:8: warning: 'mind' may be used uninitialized in this function [-Wmaybe-uninitialized] core/os/memory.cpp:94: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] core/os/memory.cpp:95: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] core/os/memory.cpp:98: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] ```
2018-10-04Fixing create spatial root buttonswarnimarun
2018-10-03#21661: fixed GraphNode title offsetGleb Mineev
2018-10-03Fix #22588: missing preset save after removing a export preset.Jean-François Michaud
2018-10-03Fix some warnings raised by MSVC 2017Rémi Verschelde
Disabled signed/unsigned warnings like for GCC/Clang (warning C4018: '>=': signed/unsigned mismatch). Fixes the following MSVC 2017 warnings: ``` core\image.cpp(999): warning C4804: '>': unsafe use of type 'bool' in operation core\io\compression.cpp(178): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) editor\doc\doc_dump.cpp(226): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) scene/resources/material.h(289): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) scene/resources/material.h(298): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) editor\editor_themes.cpp(379): warning C4805: '==': unsafe mix of type 'int' and type 'bool' in operation ```
2018-10-03Merge pull request #22668 from groud/add_open_docsRémi Verschelde
Add a shortcut to the documentation in the scene tree RMB menu
2018-10-03Merge pull request #22598 from DualMatrix/animation_frame_nextRémi Verschelde
Fixed animation editor not moving to next frame of sprites when editing.
2018-10-03Add a shortcut to the documentation in the scene tree RMB menugroud
2018-10-02Remove "Doc Path" settingMichael Alexsander Silva Dias
2018-10-02PluginConfigDialog: pass subfolder name instead of plugin name on creationmerumelu
Also add `_exit_tree` to the script template
2018-10-02Merge pull request #22329 from DualMatrix/no_selectRémi Verschelde
Made children of Containers not selectable.
2018-10-02Merge pull request #22618 from akien-mga/fix-warningsRémi Verschelde
Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-…
2018-10-02Merge pull request #22613 from lupoDharkael/del-managerRémi Verschelde
Project manager: remove projects with delete key
2018-10-02Merge pull request #22617 from Chaosus/fix_pathRémi Verschelde
Fix script path for warnings
2018-10-02Fix warnings on virtual methods [-Woverloaded-virtual] ↵Rémi Verschelde
[-Wdelete-non-virtual-dtor] Fixes the following Clang 7 warnings: ``` editor/editor_help.h:123:7: warning: 'EditorHelpIndex::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/editor_help.h:95:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/editor_help.h:96:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/plugins/curve_editor_plugin.h:141:15: warning: 'CurvePreviewGenerator::generate' hides overloaded virtual function [-Woverloaded-virtual] editor/plugins/script_editor_plugin.h:70:7: warning: 'ScriptEditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/quick_open.h:69:7: warning: 'EditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual] main/tests/test_io.cpp:53:15: warning: 'TestIO::TestMainLoop::input_event' hides overloaded virtual function [-Woverloaded-virtual] servers/audio/effects/audio_effect_record.h:69:15: warning: 'AudioEffectRecordInstance::process_silence' hides overloaded virtual function [-Woverloaded-virtual] core/os/memory.h:119:2: warning: destructor called on non-final 'ContextGL_X11' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'EditorScriptCodeCompletionCache' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'Engine' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'PhysicalBone::JointData' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerScene' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerViewport' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] ```
2018-10-02Fix script path for warningsChaosus
2018-10-02Project manager: remove projects with delete keylupoDharkael