Commit graph

3748 commits

Author SHA1 Message Date
Rémi Verschelde 0c7c800880
Merge pull request #26133 from YeldhamDev/ttr_undoredo_actions
Make translatable some undo/redo operations in the editor
2019-02-22 09:58:51 +01:00
Juan Linietsky 8b231b96e3 Implement a cleaner (and better) way to save imagedata from ImageTexture, fixes #18801 2019-02-21 20:49:42 -03:00
Juan Linietsky 30a4723d9c Fix audio previews, closes #25979 2019-02-21 17:50:02 -03:00
Michael Alexsander Silva Dias 3ef8238c1c Make translatable some undo/redo operations in the editor 2019-02-21 16:41:01 -03:00
Rémi Verschelde 5585420e79 Fix EditorPropertyInteger and EditorPropertyEnum support for 64-bit int
Fixes #26116 and fixes #22004, thanks @kiidmale.
2019-02-21 13:30:29 +01:00
marxin 8d51618949 Add -Wshadow=local to warnings and fix reported issues.
Fixes #25316.
2019-02-20 19:44:12 +01:00
Rémi Verschelde 74ef11d404
Merge pull request #26061 from qarmin/fix_res_error
Fix res:// error when dragging file from outside of editor
2019-02-20 17:28:05 +01:00
Rémi Verschelde 6b0ecb7266
Merge pull request #26092 from YeldhamDev/top_bar_spacing
Add small spacing between top bars in main editor and project manager
2019-02-20 17:27:47 +01:00
Michael Alexsander Silva Dias 0de15955ad Add small spacing between top bars in main editor and project manager 2019-02-20 12:08:52 -03:00
Michael Alexsander Silva Dias 44c37aabf1 Fix navigation editor color materials not having unique names 2019-02-20 11:34:46 -03:00
Rémi Verschelde 1f257d3f8c
Merge pull request #26085 from mrcdk/tileset_shape_rectangle
Added a create rectangle button to the tileset editor.
2019-02-20 13:26:51 +01:00
MrCdK 7827c2fd57 Added a create rectangle button to the tileset editor.
It makes easier to create collision shapes covering the full tile.
2019-02-20 12:27:53 +01:00
Rémi Verschelde d1f68e2eaf Add tooltip for in-editor FPS display in 3D viewport
Also enhance Control/Label documentation about tooltips and mouse filter,
as it took me a while to understand why Labels didn't show tooltips.

Closes #26082.
2019-02-20 12:16:22 +01:00
qarmin f6c59cf48d Fix error when deleting default environment 2019-02-20 10:40:41 +01:00
qarmin 2f0c4de1f0 Fix res:// error when dragging file to other file 2019-02-19 17:21:05 +01:00
Rémi Verschelde e9b854b78a
Merge pull request #26033 from karliss/project-import
Fix project opening while filter is applied.
2019-02-19 09:11:20 +01:00
Kārlis Seņko bb3429c1c5 Fix project opening while filter is applied.
Fixes #25268
2019-02-19 00:06:20 +02:00
Rémi Verschelde f5f2b5d4af
Merge pull request #25962 from willnationsdev/fix-missing-addon
Auto-cleanup missing addons
2019-02-18 10:09:58 +01:00
Rémi Verschelde 03c4e4bba8 i18n: Sync translation template with current source 2019-02-18 09:57:02 +01:00
Rémi Verschelde b65d22ed90 i18n: Sync translations with Weblate 2019-02-18 09:55:52 +01:00
Will Nations 2d0fcd5c4a Auto-cleanup missing addons 2019-02-17 22:57:45 -06:00
Michael Alexsander Silva Dias fe893bd6ef Fix description size in "New Node" dialog 2019-02-17 19:06:42 -03:00
Rémi Verschelde 9402d2f9fe
Merge pull request #25954 from AlexHolly/fix-android-jarsigner-duplicate-file
Fix Android jarsigner error duplicate file
2019-02-16 23:17:54 +01:00
Rémi Verschelde 6201159a47
Merge pull request #25958 from YeldhamDev/poly2d_edit_disable_fix
Fix Polygon2D Editor interacting with its buttons too soon
2019-02-16 23:16:53 +01:00
Michael Alexsander Silva Dias 637f41e833 Fix Polygon2D Editor interacting with its buttons too soon 2019-02-16 20:13:02 -02:00
Rémi Verschelde 4f6dd779a3
Merge pull request #25913 from Chaosus/fix_gizmo_icons
Fix icon color for gizmos menu when theme changed
2019-02-16 23:06:46 +01:00
Alexander Holland c28da89879 Fix Android jarsigner error duplicate file
Exports same file only once.
2019-02-16 21:58:52 +01:00
Michael Alexsander Silva Dias 8bef68fe6f Better and non-buggy Polygon2D editing disabling 2019-02-16 16:46:09 -02:00
Michael Alexsander Silva Dias aca756fce8 Revert "Disallow polygon2D editing if internal vertices exists, as suggested in #24853"
This reverts commit 419fb45a3e.
2019-02-16 16:43:51 -02:00
Rémi Verschelde 1aadb9f454
Merge pull request #24574 from SeleckyErik/issue-21814
Made clone (CTRL+B) in code editor clone only the selection.
2019-02-16 19:24:28 +01:00
Rémi Verschelde ca5ec803fc
Merge pull request #25944 from Faless/net/http_editor_fixes
Fix keep-alive without header in HTTP client
2019-02-16 17:58:48 +01:00
Fabio Alessandrelli 1aa1f42963 Fix uninitialized value 2019-02-16 16:01:20 +01:00
Rémi Verschelde a57960cf06
Merge pull request #25910 from Chaosus/fix_solarized_dark_theme
Increased contrast of solarized dark theme
2019-02-16 14:20:12 +01:00
Rémi Verschelde 8c27673dc0
Merge pull request #25932 from qarmin/fix_text_edit_issue
Fix big text window in TextEdit
2019-02-16 14:19:47 +01:00
qarmin fa629cdd2c Fix big text window in TextEdit 2019-02-16 10:48:23 +01:00
Chaosus a51088a7f9 Fix icon color for gizmos menu when theme changed 2019-02-15 20:32:38 +03:00
Chaosus 9d73cdd05d Increased contrast of solarized dark theme 2019-02-15 19:00:19 +03:00
marxin 7ae160f661 Fix 2 more UBSAN issues (#25217). 2019-02-14 20:47:35 +01:00
Rémi Verschelde c6c788581e Drop unused AnimationTrackKeyEdit::track_editor
Added by mistake in 4a24ba6e77.
2019-02-14 16:16:45 +01:00
Juan Linietsky 4a24ba6e77 -Fixes to undo redo to avoid crash, closes #24251
-Changed Animation to have a special signal when tracks are changed, to avoid unnecesary track cache rebuilds in AnimationPlayer
-Added missing emit_changed whe modifying keys to Animation
-Changed AnimationPlayer to use the new refcounted connections instead of the previous hacky way to keep references
-Changed AnimationEditor to update the current track when keys are edited
-Fixed bug where undo/redo did not work with AnimationKeyEdit (was not being updated)
-Made sure UndoRedo does not mind deleted objects in undo/redo history, this would corrupt the history or clear it without need.
2019-02-14 10:22:34 -03:00
Juan Linietsky f981e9fe91 Avoid case where editors are deleted while moved, fixes #25508, fixes #24829 2019-02-14 08:03:32 -03:00
Juan Linietsky 419fb45a3e Disallow polygon2D editing if internal vertices exists, as suggested in #24853 2019-02-13 13:11:39 -03:00
Juan Linietsky 7f69da488e Change some editing display options to make it clearer, as requested in #24853 2019-02-13 11:42:05 -03:00
Rémi Verschelde d2765cd04a
Merge pull request #25814 from allkhor/hide_warning_panel
Hide the warning panel when no warnings presents.
2019-02-13 12:56:59 +01:00
allkhor 0137ec3468 Hide the warnings panel when no warnings presents. 2019-02-13 17:01:21 +06:00
Rémi Verschelde 5fc86026ca Fix typos with codespell
Using codespell 1.14.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-02-13 09:23:29 +01:00
Rémi Verschelde 55ca2a7c88
Merge pull request #25821 from akien-mga/sync-class-and-filenames
Ensure classes match their header filename
2019-02-13 08:49:39 +01:00
samHFIT 5e28fa53c4 Fixes issue #25822 2019-02-12 12:30:56 -05:00
Rémi Verschelde 8b77dac56e
Merge pull request #25827 from merumelu/audio-bus-tooltip
EditorAudioBuses: Fix wrong tooltip for "Add Bus"
2019-02-12 17:25:20 +01:00
Rémi Verschelde c5dcbeb160 Scene: Ensure classes match their header filename
Also drop some unused files.

Renamed:
- `scene/2d/navigation2d.h` -> `navigation_2d.h`
- `scene/2d/screen_button.h` -> `touch_screen_button.h`
- `scene/3d/scenario_fx.h` -> `world_environment.h`
- `scene/audio/audio_player.h` -> `audio_stream_player.h`
- `scene/resources/bit_mask.h` -> `bit_map.h`
- `scene/resources/color_ramp.h` -> `gradient.h`
- `scene/resources/shape_line_2d.h` -> `line_shape_2d.h`
- `scene/resources/scene_format_text.h` -> `resource_format_text.h`
- `scene/resources/sky_box.h` -> `sky.h`

Dropped:
- `scene/resources/bounds.h`
2019-02-12 17:21:48 +01:00
merumelu 5634f627da EditorAudioBuses: Fix wrong tooltip for "Add Bus" 2019-02-12 17:13:02 +01:00
merumelu 32b9aedd88 PluginConfigDialog: Slight usability changes
- Set focus to the first LineEdit instead of the confirm button.
- Default to GDScript rather than whatever language was first
registered with the ScriptServer.
2019-02-12 16:18:31 +01:00
Rémi Verschelde b7cc2bb1e2 Core: Ensure classes match their header filename
Also drop some unused files.

Renamed:
- `core/dvector.h` -> `pool_vector.h`
- `core/io/resource_import.h` -> `resource_importer.h`
- `core/sort.h` -> `sort_array.h`
- `core/string_db.h` -> `string_name.h`

Dropped:
- `core/allocators.h`
- `core/os/shell.h`
- `core/variant_construct_string.cpp`
2019-02-12 13:34:25 +01:00
Rémi Verschelde c95308e70f
Merge pull request #25819 from YeldhamDev/project_manager_cleanup
Minor cleanup in the Project Manager
2019-02-12 12:21:26 +01:00
Michael Alexsander Silva Dias da45f1bf85 Minor cleanup in the Project Manager 2019-02-12 08:25:09 -02:00
Rémi Verschelde c5a526840e
Merge pull request #25778 from YeldhamDev/add_disabled_tab_style
Add disabled tab style
2019-02-12 11:25:01 +01:00
Michael Alexsander Silva Dias 3a70020c98 Cleanup editor's top bar of old nodes 2019-02-11 02:18:54 -02:00
Michael Alexsander Silva Dias e322fd140e Add disabled tab style 2019-02-10 18:12:17 -02:00
Michael Alexsander Silva Dias 4fd7115e13 General cleanup of script and doc search bars 2019-02-10 14:18:08 -02:00
Rémi Verschelde f614f15506 doc: Misc formatting fixes 2019-02-10 13:30:48 +01:00
Rémi Verschelde ba0a4a942e i18n: Sync translation template with current source 2019-02-10 13:19:03 +01:00
Rémi Verschelde dc239b47b3 i18n: Sync translations with Weblate 2019-02-10 13:03:59 +01:00
Rémi Verschelde 33b64ec3fd
Merge pull request #25739 from qarmin/fix_scan_folders_after_deleting
Fix rescan files and folders after deleting them
2019-02-09 20:37:59 +01:00
Rémi Verschelde 5fa5678eb7
Merge pull request #25736 from qarmin/fix_sprie_frames_editor
Fix latest regression error in SpriteFramesEditor
2019-02-09 18:27:40 +01:00
Rémi Verschelde ae1ac55409
Merge pull request #25712 from QbieShay/issue_25609
Root node of a scene is now selected when the scene is opened.
2019-02-09 18:22:28 +01:00
Rémi Verschelde 7d5c6f4c7a
Merge pull request #25710 from Calinou/add-hint-output-font-size
Add a setting hint for the Output panel font size
2019-02-09 17:46:39 +01:00
qarmin 5b9662a2c5 Rescan files and folders deleting them 2019-02-09 14:36:16 +01:00
qarmin c8f084b0d5 Fix latest regression error in SpriteFramesEditor 2019-02-09 12:50:19 +01:00
QbieShay fe046de216 Root node of a scene is now selected when the scene is opened. 2019-02-08 22:50:39 +01:00
Rémi Verschelde 8253cdbda3
Merge pull request #25692 from YeldhamDev/spriteframes_editor_changes
Small changes to the SpriteFrames editor
2019-02-08 19:52:20 +01:00
Rémi Verschelde 865d7983e0
Merge pull request #25701 from Chaosus/fix_particles_gizmo
Fix undo for Particles 3D gizmo
2019-02-08 19:51:40 +01:00
Hugo Locurcio 07e87f6ec0
Add a setting hint for the Output panel font size
This closes #21237.
2019-02-08 19:34:43 +01:00
Rémi Verschelde 5e837b3f13
Merge pull request #25552 from groud/better_error_message
Displays errors and warnings in a better way in the script editor
2019-02-08 17:03:55 +01:00
Chaosus 43a3db4c00 Fix undo for Particles 3D gizmo 2019-02-08 14:26:52 +03:00
Rémi Verschelde da18307a53
Merge pull request #25562 from IronicallySerious/fix-empty-project
Fix prompt for empty project files when loaded
2019-02-08 12:16:01 +01:00
Rémi Verschelde 39bc758bb5
Merge pull request #25549 from Zylann/fix_game_font_size_forced_to_13
Don't modify font which could potentially not be the editor one yet
2019-02-08 12:13:05 +01:00
Rémi Verschelde 15a5c97591
Merge pull request #25546 from Zylann/fix_garbage_log_pointer
Fixed uninitialized pointer access due to THEME_CHANGED notification
2019-02-08 12:11:16 +01:00
Rémi Verschelde 6958953ffa
Merge pull request #25515 from Zylann/search_bar_bottom
Moved script editor search bar to the bottom
2019-02-08 11:36:16 +01:00
Rémi Verschelde 4ddefe9142
Merge pull request #25467 from fire/folding_spam
Add check in folding to see if the nodepath exists to avoid message spam and expose get_node_or_null
2019-02-08 10:13:36 +01:00
Michael Alexsander Silva Dias d3082c99b5 Small changes to the SpriteFrames editor 2019-02-07 22:54:59 -02:00
Twarit 56f4d59962 Fix prompt for empty project files when loaded
Fixes #25541
2019-02-06 17:21:19 +05:30
Gilles Roudière 5f981d7fef Displays errors and warnings in a better way in the script editor 2019-02-01 17:20:59 +01:00
Marc Gilleron 81a5eb4d18 Don't modify font which could potentially not be the editor one yet 2019-02-01 16:59:55 +01:00
Marc Gilleron fb2eb66e40 Fixed uninitialized log member due to THEME_CHANGED notification 2019-02-01 15:30:44 +01:00
Rémi Verschelde 58de384978
Merge pull request #25540 from JFonS/remove_gizmo_errors
Fix gizmo errors on "Align with view"
2019-02-01 14:12:37 +01:00
JFonS 2232d3336e Fix gizmo errors on "Align with view" 2019-02-01 12:16:05 +01:00
Marc Gilleron ae9a23e36c Moved script editor search bar to the bottom, so it doesn't shift everything down 2019-01-31 16:44:40 +01:00
K. S. Ernest (iFire) Lee b83c3827f3 Add check in folding to see if the nodepath exists to avoid message spam. 2019-01-30 20:19:44 -08:00
Rémi Verschelde c21ca98e4c
Merge pull request #25469 from ankitpriyarup/master
Fixes error when new name contains only unallowed characters
2019-01-30 12:05:35 +01:00
Ankit Priyarup ee560dd987 Invalid node name should check if new_name is empty then cancel rename, fixes 25226 2019-01-29 22:21:50 +05:30
volzhs 1c14da3273 Remove unnecessary call VS::get_singleton() twice 2019-01-29 02:55:13 +09:00
Rémi Verschelde 70689ebffd Remove unused iostream includes 2019-01-28 12:16:22 +01:00
Juan Linietsky 98ffb6b37e Instantiate global classes properly, fixes #20857 2019-01-27 18:18:54 -03:00
Rémi Verschelde 2ad6212a3f
Merge pull request #25372 from JFonS/add_gizmo_docs
Minor fixes and documentation for Spatial Gizmos
2019-01-27 19:06:42 +01:00
JFonS e90fb5b0ab Minor fixes and documentation for Spatial Gizmos 2019-01-27 18:40:01 +01:00
Rémi Verschelde 4cfce99955
Merge pull request #25355 from YeldhamDev/color_picker_changes
Make some small enhancements to the ColorPicker
2019-01-27 18:37:48 +01:00
Rémi Verschelde 1bed784c9a
Merge pull request #25380 from godotengine/fix_pivot
Fixes the pivot setting with control nodes
2019-01-27 18:20:06 +01:00
Rémi Verschelde 86e1de71df
Merge pull request #25383 from akien-mga/editorinspector-property_changed_update_all
Fix EditorInspector property_changed argument mismatch
2019-01-27 17:58:12 +01:00
Juan Linietsky a089061120 Fix pixelized previews, but also instances of breaking ImageTexture cache. Closes #25378. 2019-01-27 13:41:47 -03:00
Rémi Verschelde 563139e5f3 Fix EditorInspector property_changed argument mismatch
Bug introduced in #21701, missed in 541422a4a2.
2019-01-27 17:37:24 +01:00