Commit graph

5030 commits

Author SHA1 Message Date
Rémi Verschelde af5bfd138a
Merge pull request #31346 from sparkart/Add_scrollwheel_input_to_spinslider
Add scrollwheel input to spin slider
2019-09-03 13:07:44 +02:00
Rémi Verschelde 4dfea5fc9c
Merge pull request #31389 from Calinou/add-node-comments
Add an `editor_description` property to Node for documentation purposes
2019-09-03 12:55:22 +02:00
Rémi Verschelde dd7c4c62ab
Merge pull request #31782 from aole/persist-ColorPicker-color-mode
Persist ColorPicker color mode
2019-09-03 12:36:04 +02:00
Rémi Verschelde 2ee0ca3d43
Merge pull request #31916 from puthre/bezier_editor_zoom
Animation Bezier Editor - fixed vertical zoom around mouse
2019-09-03 12:31:53 +02:00
Rémi Verschelde 35ee5be1dd
Merge pull request #31795 from puthre/master
Animation Bezier Editor: Extended zoom in and zoom out limits and fixed guide lines to accomodate sub unit steps and steps other than powers of 5
2019-09-03 12:26:07 +02:00
Rémi Verschelde 2f727ee167
Merge pull request #31847 from aole/editor-expose-current-path
Expose current path function to EditorPlugin
2019-09-03 12:07:23 +02:00
Valentin Zagura e33f13840d Animation Bezier Editor - fixed vertical zoom around mouse
Fixed vertical zoom so it zooms around the mouse cursor not around the center of the window.
2019-09-03 00:51:55 +01:00
Hugo Locurcio 61d7427289
Improve the animation autokey editor icon
The icon was redrawn to snap to a 16x16 grid, with a lower number
of SVG nodes in the process.
2019-09-03 00:11:34 +02:00
Rémi Verschelde 037237f518
Merge pull request #31898 from Calinou/animation-editor-add-precise-snapping
Implement precise snapping in the animation editor
2019-09-02 22:12:41 +02:00
Rémi Verschelde e206050380
Merge pull request #31890 from Calinou/curve-editor-add-snapping
Implement snapping in the Curve editor
2019-09-02 22:12:25 +02:00
Rémi Verschelde 169c1dc9ef
Merge pull request #31906 from Calinou/assetlib-refresh-once
Refresh the asset library only once on startup
2019-09-02 22:05:29 +02:00
Hugo Locurcio 6f915d386a
Refresh the asset library only once on startup
This avoids unnecessary calls to the API when switching between tabs
in the editor or project manager.
2019-09-02 20:08:55 +02:00
Rémi Verschelde d03ce5c227
Merge pull request #31902 from YeldhamDev/ruler_icon
Add icon for the ruler tool
2019-09-02 19:58:50 +02:00
Michael Alexsander Silva Dias ab6daed467 Add icon for the ruler tool 2019-09-02 11:45:03 -03:00
Hugo Locurcio 55b9c6804c
Implement precise snapping in the animation editor
Holding Shift while snapping is enabled will now make snapping
4 times as precise.
2019-09-02 15:55:44 +02:00
amakarenko 544c39d1e7 Fix editor infinit loop in search_prev
Fixes godotengine#31328
2019-09-02 15:15:55 +03:00
Hugo Locurcio f07fc5b434
Implement snapping in the Curve editor
Holding Ctrl will snap the selected point/tangent by increments
of 10% of the curve's width/height. Holding Shift as well will snap
by increments of 2.5% instead.
2019-09-02 14:00:22 +02:00
Rémi Verschelde 220ff5baf2
Merge pull request #31829 from KoBeWi/one_tool_to_ruler_2d
Add 2D ruler tool
2019-09-02 10:34:09 +02:00
Tomasz Chabora 05e5faa876 Add 2D ruler tool 2019-09-01 18:36:41 +02:00
Cykyrios ed00313a0b Reorganize & rename text editor settings categories
Add Navigation category for scroll and minimap settings.
Rename Line Numbers category to Appearance.
Rename Open Scripts category to Script List.
Rename "Draw Minimap" setting to "Show Minimap" (this is more consistent with other settings).

Reorder settings by category in code_editor.cpp to match settings list
2019-09-01 13:33:37 +02:00
Rémi Verschelde 815055a29b
Merge pull request #31835 from Calinou/increase-editor-sectioned-inspector-min-width
Increase the minimum width of the editor sectioned inspector
2019-09-01 12:46:58 +02:00
Rémi Verschelde 4e8ce420f1
Merge pull request #31850 from aole/script-callback-enable-disable-EditorPlugin
Script callback for enabling/disabling EditorPlugin
2019-09-01 12:35:51 +02:00
Bhupendra Aole f6952cb944 Script callback for enabling/disabling EditorPlugin
Parameter p_config_changes should be passed as true to enable callback to user scripts
for enabling or disabling of the EditorPlugin.
Fixes #30654
2019-09-01 03:03:47 -04:00
Chaosus89 8fd8589547 Fix resizer icon visiblity on light theme in GraphNode 2019-09-01 09:12:26 +03:00
Bhupendra Aole 3518e7a6c7 Expose current path to EditorPlugin
get_selected_path returns only the resource directory.
get_current_path fulfils the need to get the full path.
This does not break backward compatibility and the function (get_current_path)
is already available in FileSystemDock just like get_selected_path.
Fixes 30652.
2019-09-01 01:51:33 -04:00
Rémi Verschelde 3fdf85cd9b
Merge pull request #31794 from Calinou/editor-increase-line-spacing
Increase line spacing in the editor help and asset library descriptions
2019-08-31 22:09:15 +02:00
Rémi Verschelde 61eeace972
Merge pull request #31810 from merumelu/plugin-config-warnings
Warn about all missing keys in plugin.cfg
2019-08-31 22:08:57 +02:00
Rémi Verschelde 7cf58a7f66
Merge pull request #31808 from qarmin/crash_audioogg
Fix crash when AudioStreamOGGVorbis is empty
2019-08-31 22:08:37 +02:00
Hugo Locurcio e19f7b3c38
Increase the minimum width of the editor sectioned inspector
This makes sure section names such as "Window Placement" or
"Vram Compression" aren't being cut off due to the panel width
being too low.
2019-08-31 20:39:52 +02:00
Bhupendra Aole 1de3ec911f Default ColorPicker color mode setting
There is a new setting for Default ColorPicker color mode in Editor Settings->Interface->Inspector. Initially this setting will be RGB. Editor ColorPicker will always start with mode defined in this settiing.
Fixes #30755 and #30754
2019-08-31 00:34:33 -04:00
merumelu dd2035d6e9 Warn about all missing keys in plugin.cfg 2019-08-30 21:41:00 +02:00
qarmin 2cd2197362 Fix crash when AudioStreamOGGVorbis is empty 2019-08-30 20:01:14 +02:00
merumelu e2459479de Editor: remove TOOLS_ENABLED guards
For code  inside editor/ `#ifdef TOOLS_ENABLED`
is always true so those checks are redundant.
2019-08-30 19:02:46 +02:00
Valentin Zagura a5ebed211f Animation Bezier Editor: Extended zoom in and zoom out limits and fixed guide lines to accomodate sub unit steps and steps other than powers of 5 2019-08-30 15:12:42 +01:00
Hugo Locurcio d6984f7311
Increase line spacing in the editor help and asset library descriptions
This makes for more readable text.
2019-08-30 15:08:24 +02:00
Rémi Verschelde 3db1d40045
Merge pull request #31790 from Chaosus/fix_graph_light_theme
Fix editor's GraphEdit lines color on light theme
2019-08-30 14:35:13 +02:00
Rémi Verschelde 2e6aa06270
Merge pull request #31791 from Keetz/DisableDefaultWavTrim
Disabled trim and normalize as default for wav import
2019-08-30 14:24:04 +02:00
Rémi Verschelde ca652bbc47
Merge pull request #25353 from azagaya/master
Use also invisible tabs to calculate minimum size of tab container
2019-08-30 13:58:37 +02:00
azagaya fa6f86b886 Make tab containers in editor, project settings, and export dialog, to use hidden tabs for min size computation. 2019-08-30 08:33:32 -03:00
Rémi Verschelde 57c60cdc35
Merge pull request #31706 from akien-mga/android-custom-build-improvements
Buildsystem and workflow improvements to the new Android custom builds
2019-08-30 11:55:34 +02:00
Rasmus Ketelsen c653a020d6 Disabled trim and normalize as default for wav import 2019-08-30 11:46:50 +02:00
Rémi Verschelde 04e4c3a8d3
Merge pull request #31767 from Calinou/tweak-editor-window-dim
Tweak the editor window dimming intensity, remove dim fade animation
2019-08-30 10:56:58 +02:00
Chaosus89 227b1c32bc Fix graph edit lines color on light theme 2019-08-30 11:56:45 +03:00
Chaosus89 19d449ec4c Fix few icons in SpatialEditor which don't update when theme changed 2019-08-30 11:26:01 +03:00
Rémi Verschelde 2ddcd824df
Merge pull request #31766 from Calinou/editor-improve-light-theme-colors-2
Improve more light theme colors in the editor for better readability
2019-08-30 08:50:58 +02:00
Rémi Verschelde 931f7d0ebf
Merge pull request #31754 from aole/node-selection-issue-on-node-create-dialog
Fix selecting recent node in CreateDialog
2019-08-30 08:50:24 +02:00
Rémi Verschelde 208dd5b4a6 i18n: Sync translation template with current source 2019-08-29 15:55:33 +02:00
Hugo Locurcio ef9f234d2b
Tweak the editor window dimming intensity, remove dim fade animation
The fade animation tended to give the editor a "sluggish" feel
when running at lower FPS (which is common in heavy 3D scenes),
so it's probably a good idea to remove it.

This also makes dimming less intense (50% instead of 60%).
2019-08-29 15:54:08 +02:00
Rémi Verschelde 00ec90474c i18n: Sync translations with Weblate
Adds templates for Basque, Irish and Odia.
2019-08-29 15:38:52 +02:00
Hugo Locurcio 2d6033c1a8
Improve more light theme colors in the editor for better readability
This also makes the "pressed icon" color easier to distinguish
on a light theme.

This closes #31763.
2019-08-29 15:11:23 +02:00