Commit graph

5235 commits

Author SHA1 Message Date
Hugo Locurcio
c2bcc3f700
Use the same axis colors consistently in the 2D and 3D editors 2019-09-13 14:08:41 +02:00
Hugo Locurcio
9e5f1d6641
Add an "hover" style to items in the project manager
This makes the project manager feel more responsive to user input.
2019-09-13 02:34:05 +02:00
Hugo Locurcio
fd1b5cc39f
Improve the node deletion confirmation message
- Add "the root node" in the beginning if the selected node
  is the current scene's root
- Add "and its children" at the end of the message if the node
  has at least one child and is not an instanced scene
2019-09-11 23:29:34 +02:00
lupoDharkael
d9b34d2a3d Fix right click crash in Locales Filter 2019-09-10 21:25:42 +02:00
Tomasz Chabora
7e89ec2cd8 Preserve folding when sub-scene is changed 2019-09-10 14:43:46 +02:00
Emmanuel Barroga
6efbabeb9e Fix Remote Tree Navigate to Inspected
Fixes the regression of remote-tree not navigating to what is being inspected in the inspector.
2019-09-08 19:52:37 -07:00
Guilherme Felipe
481dbceed0 Adds fuzzy search for help search dialog 2019-09-08 13:08:34 -03:00
Hugo Locurcio
bee38c6b0b
Find the previous match in the editor help when pressing Shift + Enter 2019-09-08 15:10:57 +02:00
Hugo Locurcio
11890aa27b
Improve the SoftBody node editor icon
The new icon uses 2-pixel-thick lines for consistency with other icons.
Its pixels are also aligned to the 16 pixel grid.
2019-09-08 00:38:17 +02:00
Michael Alexsander Silva Dias
56883686a3 Add some missing icons 2019-09-07 15:06:27 -03:00
PouleyKetchoupp
d53ddc5baa Fixed resource loading when editing built-in script from resource
Fixes #27380
2019-09-07 16:54:01 +02:00
Hugo Locurcio
8a8173231c
Implement snapping in the audio bus editor
Holding Ctrl will round the value to the nearest decibel.
2019-09-07 00:16:44 +02:00
Hugo Locurcio
ea622a16dd
Display audio buses' current volume in a tooltip when hovering slider
This also removes an unused editor icon.

This closes #30884.
2019-09-06 23:25:14 +02:00
Hugo Locurcio
84d0f324c4
Improve Ctrl snapping in EditorSpinSlider
- Remove FPS dependency by using a simpler implementation that just
  rounds the final number
- Make it possible to combine Ctrl and Shift together for slow,
  precise snapping
2019-09-06 19:38:11 +02:00
Hugo Locurcio
21222fb478
Make editor inspector easing lines use the accent color when dragged
This makes their visual feedback more consistent with other controls.

This also makes easing lines slightly more subtle by decreasing
their opacity by 10%.
2019-09-06 16:11:26 +02:00
Valentin Zagura
fbcb68c15a Animation Bezier Editor : fix double inserts on undo 2019-09-06 13:59:44 +01:00
Andrii Doroshenko (Xrayez)
407839daab Display editor icons for filesystem dock popup menu options 2019-09-06 14:57:51 +03:00
PouleyKetchoupp
a701d4e940 SpriteFramesEditor improvements around deleting animations
- Reorganized buttons layout to make it clearer between deleting animation & frame
- Added a confirmation popup for deleting an animation
- Fixed errors on selecting an animation after deleting one
2019-09-06 11:11:12 +02:00
Emmanuel Barroga
0048468658 Add ability to reorder animation frames via drag and drop
Allows you to reorder the frames of the animation by dragging the frames around.
2019-09-05 17:08:17 -07:00
Hugo Locurcio
9a94fe7d26
Improve the String::humanize_size() method
- Use "B" insted of "Bytes" to be more compact
- Use suffixes that denote a binary prefix
- Make suffixes localizable

This removes the need for the custom
`EditorNetworkProfiler:_format_bandwidth()` method.
2019-09-05 19:48:46 +02:00
Rémi Verschelde
4ee8ecd3ef
Merge pull request #31989 from sparkart/revert-30833-fix_inspector_clear_remote_node
Revert "Fix Clearing Inspector for Remote Node"
2019-09-05 17:38:57 +02:00
Fabio Alessandrelli
768d637a1b
Merge pull request #31870 from JFonS/add_network_profiler
Add network profiler
2019-09-05 16:34:36 +02:00
Emmanuel Barroga
2bac4e1784
Revert "Fix Clearing Inspector for Remote Node" 2019-09-05 06:58:36 -07:00
J-Camilleri
892adf733c Input actions can be reordered by drag and drop. 2019-09-05 13:59:17 +02:00
jfons
8244f535cd Add network profiler 2019-09-05 09:48:36 +02:00
fhuya
7fabfd402f Split the Android platform java logic into an Android library module (lib) and an application module (app).
The application module `app` serves double duties of providing the prebuilt Godot binaries ('android_debug.apk', 'android_release.apk') and the Godot custom build template ('android_source.zip').
2019-09-04 16:20:22 -07:00
Michael Alexsander Silva Dias
e5f96a344a Small improvements to the inspector dock 2019-09-04 19:42:44 -03:00
Emmanuel Barroga
f9821a5caf Fixes Subresource Showing While Unselected
The inspector would still display the subresource of the last selected node. This PR resolves that issue.
2019-09-04 14:30:03 -07:00
Michael Alexsander Silva Dias
fd0dace4b5 Small fixes for the Tile/GridMap editors 2019-09-04 16:54:05 -03:00
Rémi Verschelde
e205cbbd06
Merge pull request #31967 from nekomatata/fix-builtin-script-scene
Load scene if needed when editing recent built-in script
2019-09-04 21:23:12 +02:00
HaSa1002
bbcf26b7bf Fix out of range crash on remapping files 2019-09-04 19:48:32 +02:00
PouleyKetchoupp
ad499f234f Load scene if needed when editing recent built-in script
Fixes #31966
2019-09-04 19:14:47 +02:00
Yuri Roubinsky
aadbb66dc2
Merge pull request #31926 from Chaosus/vs_switch
Some improvements for Switch node in visual shaders
2019-09-04 19:21:54 +03:00
PouleyKetchoupp
b01d07e049 Fixed switching back to animation player editor with no animation to select
Fixes #31959
2019-09-04 18:18:25 +02:00
Michael Alexsander Silva Dias
5f3a55acb7 Add informational messages to various editors 2019-09-04 12:37:11 -03:00
Chaosus89
bf3024c172 Added missing OUTPUT_IS_SRGB and FRONT_FACING to visual shaders 2019-09-04 18:24:44 +03:00
Rémi Verschelde
1046a9d143
Merge pull request #31927 from willnationsdev/csv-import
Add CSV import without translation.
2019-09-04 16:02:39 +02:00
Rémi Verschelde
604dc426d5
Merge pull request #31957 from nekomatata/fix-editor-preview-cache
Fixed order of parameters when updating resource cache file
2019-09-04 14:55:40 +02:00
Rémi Verschelde
855a465c87
Merge pull request #31956 from IronicallySerious/add-vcs-copyright
Add copyright headers to VCS integration
2019-09-04 14:48:13 +02:00
Bojidar Marinov
6c4407bae4
Add overriden properties to the documentation
Fixes #31855
2019-09-04 15:21:40 +03:00
PouleyKetchoupp
c6ddaacf59 Fixed order of parameters when updating resource cache file (fixes #31930) 2019-09-04 13:35:06 +02:00
Twarit
444ba61aac Add copyright headers to vcs integration 2019-09-04 16:47:26 +05:30
Emmanuel Barroga
47065f0c3e Fixes Inspector Showing Unselected Info
When deselecting a node, the inspector would show the name of the last thing selected.
2019-09-03 23:41:49 -07:00
willnationsdev
7ac0239afa Add CSV import without translation. 2019-09-03 19:37:20 -05:00
Rémi Verschelde
75cbcb596a
Merge pull request #30982 from iwek7/feature/skip_breakpoints
Adds skip-breakpoints feature
2019-09-04 01:31:08 +02:00
Rémi Verschelde
5d162798cd
Merge pull request #31619 from Calinou/assetlib-improve-sort-fields
Improve sorting options in the asset library
2019-09-04 01:26:15 +02:00
Rémi Verschelde
fede9ba52e
Merge pull request #31942 from Calinou/improve-delete-node-confirmation
Improve the node deletion confirmation message
2019-09-04 01:13:34 +02:00
Rémi Verschelde
4967f303f5
Merge pull request #31461 from IronicallySerious/add-vcs-integration
VCS integration for Godot Editor
2019-09-04 01:09:24 +02:00
Hugo Locurcio
284548c4b7
Improve the node deletion confirmation message
The confirmation message now displays the number of nodes to delete,
or the node's name if only one node is selected.
2019-09-03 23:14:59 +02:00
iwek7
617797c47c Adds skip-breakpoints feature 2019-09-03 20:49:09 +02:00
Twarit
d98e944a19 Add VCS editor plugin UI elements to editor 2019-09-03 20:16:30 +05:30
Twarit
97959a53df Add an overridable VCS Interface for the editor
The VCS interface can be thought of like a proxy system, where any call
to the API is redirected to the actual implementation of the VCS API
which may be existing in the form of a GDNative plugin which is marked
as a singleton and is not marked reloadable. If the implementation
doesn't exist in the file system, it only returns the default responses which contain
mostly empty containers of the data type that every API call returns.

EditorVCSInterface is used like a Godot object with a script attached to it. The script
is the implementation of the API and the object is the interface to the
script, which returns default responses if the script doesn't exist or
if the script doesn't define a function that handles that particular API call.

The entire system has been implemented using Object::call() and its
ability to switch to the script instance to handle the API call if the
script exists. Look for VersionControlEditorPlugin::_initialize() for
the essential API setup.
2019-09-03 20:01:14 +05:30
Twarit
07e3be3deb Add version control editor plugin
Provides the editor with all the VCS GUI and extracts the data from the
upcoming VCS API to cater to the project with VCS interaction.
2019-09-03 19:58:32 +05:30
Hugo Locurcio
a4a0295154
Improve sorting options in the asset library
The reverse sorting options are now integrated in the list of
sorting options, making the "Reverse" button unnecessary.
This pattern tends to be easier to discover by users.

The "Downloads" sorting option was also removed as it's not
implemented in the backend.
2019-09-03 15:16:58 +02:00
Chaosus89
a79d8e3b8f Some improvements for Switch node in visual shaders 2019-09-03 15:11:02 +03:00
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
Bhupendra Aole
a8a293832e Fix selecting recent node in CreateDialog
If the node name matches exactly as the search, the node should be selected.
This also fixes when the user clicks on recent nodes.

Fixes #24044
2019-08-29 09:07:57 -04:00
Rémi Verschelde
52024c0e90 Android: Extract libs from pre-built APKs when installing build template
Otherwise we would need to include all of them in android_source.zip,
which means building the zip after all libs have been built by SCons
(so it would have to be done via gradle or a manual script).

By extracting it from the pre-built APKs, we save some disk space in
templates archives too.
2019-08-29 13:22:20 +02:00
Rémi Verschelde
b1f294b3ac Android: Improve dialogs about custom build template
The language didn't make it clear that it's installing a *source* template
to the project folder, for later use when compiling custom APKs.

Fixes #28736.
2019-08-29 13:22:20 +02:00
Rémi Verschelde
a6b094cdfc
Merge pull request #31748 from Calinou/add-project-description
Add a project description setting
2019-08-29 11:09:28 +02:00
Rémi Verschelde
65d5003bce
Merge pull request #31611 from Calinou/animation-editor-hsize-cursor
Change mouse cursor when hovering a resize area in the animation editor
2019-08-29 08:50:18 +02:00
Rémi Verschelde
94805cb0bc
Merge pull request #31755 from YeldhamDev/assetlib_minor_cleanup
Minor cleanup of the AssetLib's asset dialog
2019-08-29 08:42:45 +02:00
Michael Alexsander Silva Dias
edc3600560 Minor cleanup of the AssetLib's asset dialog 2019-08-29 02:37:44 -03:00
Michael Alexsander Silva Dias
dd511c411b Major enhancements for the group editor 2019-08-28 21:26:00 -03:00
Hugo Locurcio
5bd01bf637
Add a project description setting
The description is displayed as a tooltip when hovering the project
in the Project Manager. It can span multiple lines.

This partially addresses #8167.
2019-08-28 22:34:29 +02:00
Michael Alexsander Silva Dias
6ce2701abe AssetLib minor fixes and enhancements 2019-08-28 01:36:09 -03:00
Rémi Verschelde
c59da91aad
Merge pull request #31718 from sparkart/fix_projectmanager_keyup
Fixes Keyup Navigation in Project Manager
2019-08-27 20:24:35 +02:00
Rémi Verschelde
d8de8d5e34
Merge pull request #31722 from Calinou/assetlib-improve-image-loading-speed
Improve image loading performance in the asset library
2019-08-27 20:19:17 +02:00
Hugo Locurcio
89c13c3ae9
Display a "broken file" icon for missing images in the asset library
This partially addresses #31683.
2019-08-27 19:45:25 +02:00
Hugo Locurcio
2ed7bf58ba
Improve image loading performance in the asset library
This closes #31614.
2019-08-27 19:41:49 +02:00
Emmanuel Barroga
36e3996677 Fixes Keyup Navigation in Project Manager
This PR fixes the issue of navigation via keyup in the project manager not selecting the first item.
2019-08-27 10:15:37 -07:00
Rasmus Ketelsen
8dfe83406f Added the ability to import scene resources as .tres files 2019-08-27 15:21:20 +02:00
Rémi Verschelde
2f63811c9a
Merge pull request #25656 from bruvzg/macos_multi_instances
[macOS] Add ability to open multiple editor instances and global/dock menu access
2019-08-26 22:04:37 +02:00
Rémi Verschelde
2b202f3dd0
Merge pull request #31659 from Klesomik/master
Fix memory leak in Find in Files
2019-08-26 22:03:44 +02:00
Rémi Verschelde
5883f912b3
Merge pull request #31676 from KoBeWi/this_shader_is_a_history
Clear undo history on shader load
2019-08-26 22:02:53 +02:00
Klesomik
d3c879fe1b Memory leak fixed
In some functions in editor/find_in_files.cpp was detected a memory leak
DirAccess* and FileAccess* were replaced by DirAccessRef and FileAccessRef
DirAccessRef and FileAccessRef are just wrappers for DirAccess* and FileAccess*

Fixes for issue #31659
2019-08-26 20:48:10 +03:00
Rémi Verschelde
bf8322376c
Merge pull request #31674 from dankan1890/drag&drop_tileset
Added drag and drop to the tileset plugin.
2019-08-26 15:50:25 +02:00
bruvzg
db6d4352ea
[macOS] Add methods to modify global and dock menus. Add ability to open multiple editor/project manager instances, recent/favourite project list to project manager dock menu and opened scene list to editor dock menu. 2019-08-26 16:45:49 +03:00
Tomasz Chabora
766b27662a Clear undo history on shader load 2019-08-26 15:15:29 +02:00
Rémi Verschelde
816ddd7817
Merge pull request #31556 from Chaosus/gles2_inverse
Implemented inverse shader function to GLES2
2019-08-26 13:52:03 +02:00
Rémi Verschelde
1222df0ad0
Merge pull request #31585 from 2shady4u/removeguides
Added button/shortcut for removing all guides
2019-08-26 13:51:10 +02:00
Rémi Verschelde
f6984e8058
Merge pull request #31615 from Calinou/assetlib-improve-loading
Improve loading UX in the asset library
2019-08-26 12:05:11 +02:00
dankan1890
1f560c4679 Added drag and drop to the tileset plugin. 2019-08-26 11:15:19 +02:00
Yuri Roubinski
ac4e6f0041 Fix _get_description param name (visual shaders) 2019-08-25 13:06:16 +03:00
Rémi Verschelde
0d37f198f5
Merge pull request #31628 from merumelu/treeitem-icon-modulate
Tree: fix and expose icon modulation
2019-08-25 10:49:26 +02:00
Yuri Roubinski
1d2e5f281e Fixes for visual shader member filter 2019-08-25 11:01:42 +03:00
Yuri Roubinski
494ea78610 Small performance fix for preview in visual shader 2019-08-25 09:22:09 +03:00
Yuri Roubinski
7f350a2c71 Enhanced preview for a visual shader to show errors 2019-08-25 08:42:21 +03:00
shaderbeast
c6fb6a6a21 Added button/shortcut for removing all guides
Added undo/redo


Correctly added has_meta
2019-08-24 22:58:16 +02:00
merumelu
eac0af5892 Tree: fix and expose icon modulation 2019-08-24 17:37:22 +02:00
Hugo Locurcio
f524dc5da6
Improve loading UX in the asset library
The asset library will now fade when loading pages instead
of displaying a progress bar, which is a more common design pattern
when browsing an online resource's pages.

A "Loading..." text will be displayed before the first page loads.
2019-08-24 03:08:52 +02:00
Hugo Locurcio
bd05d0e71b
Change mouse cursor when hovering a resize area in the animation editor
This also scales the default width of the track name column
on hiDPI displays.
2019-08-23 23:00:38 +02:00
Hugo Locurcio
9eb10f1e4a
Add an editor_description property to Node for documentation purposes
It is implemented using editor-only metadata, in a way similar to
edit locking or Position2D gizmo extents.

This closes #2082.
2019-08-23 15:53:07 +02:00
Rémi Verschelde
2a855a068a
Merge pull request #31589 from Chaosus/minimap_enabled
Make code minimap to be visible by default
2019-08-23 09:38:49 +02:00
Rémi Verschelde
dd6388d3f6
Merge pull request #31588 from Calinou/editor-help-add-horizontal-margins
Add horizontal margins to the editor help based on width
2019-08-23 09:38:37 +02:00
Rémi Verschelde
0cff5d0b30
Merge pull request #30833 from sparkart/fix_inspector_clear_remote_node
Fix Clearing Inspector for Remote Node
2019-08-23 09:13:06 +02:00
Rémi Verschelde
73f1f9b44f
Merge pull request #31586 from SonerSound/issue_31533
Export path is the only path to be saved as a relative path
2019-08-23 08:34:03 +02:00
Rémi Verschelde
2477d414a1
Merge pull request #31111 from Xrayez/script-templates-project
Allow to define and load script templates per project
2019-08-23 08:24:00 +02:00
Rémi Verschelde
739cbf45c3
Merge pull request #31569 from SaracenOne/plugin_shutdown_fix
Fix an exception when trying to close down editor with plugins using autoload singletons
2019-08-23 08:19:29 +02:00
Rémi Verschelde
9262ad45d6
Merge pull request #31548 from Calinou/project-manager-improve-missing
Improve the display of missing projects in the Project Manager
2019-08-23 08:17:27 +02:00
Yuri Roubinski
db7bbbdbc7 Make code minimap to be visible by default 2019-08-23 08:42:15 +03:00
Hugo Locurcio
e564bffd90
Add horizontal margins to the editor help based on width
This decreases the number of characters per line, and therefore
helps make the editor help more readable.
2019-08-23 01:42:29 +02:00
SonerSound
326f856006 Export path is the only path to be saved as a relative path
Also reverts 90b2415343
2019-08-22 22:20:15 +01:00
Andrii Doroshenko (Xrayez)
f013596760 Allow to define and load script templates per project
Previously it was only possible to create custom script templates per
editor instance which could lead to certain name collisions, but now one
can create such templates per project tailored for specific use cases.

The default path to search for custom script templates is defined in
project settings via `editor/script_templates_search_path` setting as
`res://script_templates` path, yet this can be configured per project.

Templates have at most two origins now:

1. Project-specific, defined in `ProjectSettings`, for instance:
    - res://script_templates/
2. Editor script templates, for instance:
    - %APPDATA%/Godot/script_templates/

As script templates can have the same name over different paths,
the override mechanism was also added, enabling project-specific
templates over the editor ones.
2019-08-22 20:51:30 +03:00
Saracen
daf443bcbc Fix an exception when trying to close down editor with plugins enabled. 2019-08-22 16:30:55 +01:00
Hugo Locurcio
0271a5f1d8
Improve the display of missing projects in the Project Manager
- Use a "broken file" icon instead of a "folder" icon for missing
  projects
- Fade out the project icon for missing projects
- Use transparent modulate for grayed out projects as it results in
  better-looking text
- Disable the "Edit", "Run" and "Rename" buttons if at least
  one missing project is selected
- Make double-clicking or pressing Enter do nothing when a missing
  project is selected
- Change the "Open in FileSystem" tooltip accordingly for missing
  projects
- Don't connect the "Open in FileSystem" pressed signal to make the
  button ineffective for missing projects
- Name missing projects as "Missing Project" instead of
  "Unnamed Project"
2019-08-22 17:06:02 +02:00
Michael Alexsander Silva Dias
c5b45c9f09 Cleanup and minor changes in FileSystem Dock 2019-08-22 10:24:51 -03:00
Rémi Verschelde
7978e9071b
Merge pull request #31302 from Paulb23/issue_4881_code_minimap
Add minimap to text_edit
2019-08-22 13:15:43 +02:00
Rémi Verschelde
2e5ba32b4b
Merge pull request #31545 from groud/add_smart_snapping_display
Displays smart snapping guides when snapped
2019-08-22 13:12:09 +02:00
Rémi Verschelde
4ab4d4a59b
Merge pull request #31489 from iwek7/removeRenameRootOption
Showing only working options in filesystem dock menu
2019-08-22 11:56:48 +02:00
Rémi Verschelde
d2f5c43ad9
Merge pull request #31502 from thimenesup/patch-1
Expose SceneTreeDock::get_tree_editor() to GDScript
2019-08-22 11:55:49 +02:00
Yuri Roubinski
4dcee2035a Implemented inverse shader function to GLES2 2019-08-22 08:22:49 +03:00
Paulb23
0cea72273f Add minimap to text_edit 2019-08-21 23:48:46 +01:00
Gilles Roudière
692a78db19 Displays smart snapping guides when snapped 2019-08-21 22:15:51 +02:00
Rémi Verschelde
3bd49dabfa
Merge pull request #31535 from KoBeWi/TileMove
Edit TileMap only with TOOL_SELECT
2019-08-21 21:18:39 +02:00
Rémi Verschelde
e132c36261
Merge pull request #31539 from Calinou/improve-editor-strings
Tweak a few strings displayed in the editor for consistency
2019-08-21 21:09:36 +02:00
Tomasz Chabora
9520d9706a Edit TileMap only with TOOL_SELECT 2019-08-21 20:56:15 +02:00
Hugo Locurcio
3ae0306a1f
Tweak a few strings displayed in the editor for consistency 2019-08-21 19:33:29 +02:00
Hugo Locurcio
e1b9004b0f
Rename FileDialog's folder icon custom color to folder_icon_modulate
The custom color introduced in be8d569744
had the same name as the "folder" icon, which could cause conflicts
in the generated documentation.

The new name is also more self-explanatory.
2019-08-21 18:43:01 +02:00
Rémi Verschelde
99980d856b
Merge pull request #29871 from Faless/crypto/initial_pr
More Crypto, SSL server, crt/key as Resource, HashingContext
2019-08-21 18:03:03 +02:00
Fabio Alessandrelli
fc411115f5 Fix Network Editor Settings setup. 2019-08-21 17:12:33 +02:00
Fabio Alessandrelli
ce5a3f56a6 Rewrite StreamPeerSSL with SSLContext helper class
connect_to_stream now accepts optional parameter to specify which
certificates to trust.
Implement accept_stream (SSL server) with key/cert parameters to specify
the RSA key and X509 certificate resources.
2019-08-21 16:59:38 +02:00
Hugo Locurcio
a350fd4a57
Draw 3D collision shape/raycast gizmos in grayscale when disabled
This makes them easier to distinguish from their enabled counterparts,
as is already done in the 2D editor.
2019-08-21 15:32:51 +02:00
iwek7
2b8d65761c Improvements and fixes of filesystem dock 2019-08-21 11:13:50 +02:00
Rémi Verschelde
51def4dab9
Merge pull request #31523 from nekomatata/show-warning-loading
EditorNode::show_warning displays a console warning during project loading
2019-08-21 10:05:24 +02:00
PouleyKetchoupp
a735afac95 EditorNode::show_warning displays a console warning instead of failing during project load
Fixes #31522
2019-08-21 09:05:30 +02:00
Rémi Verschelde
7b37321ae3
Merge pull request #31499 from nekomatata/fix-new-project-metadata
Setting project metadata doesn't fail when project_metadata.cfg doesn't exist
2019-08-21 08:54:32 +02:00
PouleyKetchoupp
b49226e085 Support for file not found in ConfigFile::Load and handle a few specific cases
EditorSettings::set_project_metadata: creates project_metadata.cfg if it doesn't exist
EditorPlugin::get_config: removed (not used)

Fixes #31444
2019-08-21 08:32:55 +02:00
thimenesup
79a4930501
Expose SceneTreeDock::get_tree_editor()
This can be useful for plugins that rely on some signals emitted by it, Like my Networked Scene Editor plugin https://github.com/thimenesup/GodotNetworkedSceneEditor
2019-08-20 18:06:21 +02:00
Rémi Verschelde
bb5bf8ef49
Merge pull request #31498 from KoBeWi/setter_getter_radar
Include setters and getters in help search
2019-08-20 17:11:17 +02:00
Tomasz Chabora
e068fbbb20 Include setters and getters in help search 2019-08-20 15:37:22 +02:00
Rémi Verschelde
a4377ca465
Merge pull request #31356 from Calinou/improve-project-manager-ui
Improve the project manager UI
2019-08-20 12:55:15 +02:00
Rémi Verschelde
e84d83ce78
Merge pull request #31492 from Calinou/file-dialog-color-folders
Use a different color for folder icons in file dialogs
2019-08-20 12:51:31 +02:00
Rémi Verschelde
e6c4ef3455
Merge pull request #31486 from KoBeWi/typos_must_die
Fix various typos and style errors in text
2019-08-20 12:50:12 +02:00
Rémi Verschelde
5d8951764a
Merge pull request #31466 from Calinou/improve-2d-path-editors
Improve the appearance of 2D path editors
2019-08-20 12:45:47 +02:00
Rémi Verschelde
4e760096a9
Merge pull request #31443 from Calinou/editor-use-minimum-window-size
Define a minimum window size in the editor and project manager
2019-08-20 12:42:58 +02:00
Hugo Locurcio
be8d569744
Use a different color for folder icons in file dialogs
This makes them easier to distinguish from files for quick
visual grepping.

This can also be used in projects by setting the FileDialog "folder"
color. The default value (`Color(1, 1, 1)`) has no visual impact,
for compatibility with existing projects.
2019-08-20 00:10:27 +02:00
Tomasz Chabora
7e075029c8 Fix various typos and style errors in text 2019-08-19 20:43:42 +02:00
Fabio Alessandrelli
c19871af6d Move CryptoCore to it's own folder.
Crypto classes will be placed in core/crypto.
2019-08-19 16:31:05 +02:00
Hugo Locurcio
558e93f069
Improve the appearance of 2D path editors
- Add new handle icons for path/polygon editors
- Add smooth path point icons and curve tangent icons
- Use a gray color for tangent lines in the Path2D and Path editors
- Use antialiasing for Path2D lines
2019-08-18 22:27:01 +02:00
Michael Alexsander Silva Dias
c19a66d72f Simplify structure of preview text in visual shader editor 2019-08-18 13:27:08 -03:00
Rémi Verschelde
ef37f00525
Merge pull request #31453 from Chaosus/vs_code_preview
Added code preview to visual shader
2019-08-18 17:32:49 +02:00
Rémi Verschelde
9cd58b6916
Merge pull request #31449 from Chaosus/vs_global_expression
Added global expressions to visual shaders
2019-08-18 17:31:39 +02:00
Yuri Roubinski
808e44df6d Added code preview to visual shader 2019-08-18 17:28:19 +03:00
Rémi Verschelde
2920c8fbaa
Merge pull request #31447 from Calinou/spatial-editor-use-shortcut-tooltips
Use shortcut tooltips in the spatial editor
2019-08-18 16:07:05 +02:00
Rémi Verschelde
fb5e8b509b
Merge pull request #31448 from Calinou/improve-snap-object-to-floor
Improve "Snap Object to Floor" functionality
2019-08-18 11:07:12 +02:00
Rémi Verschelde
d154e55f45
Merge pull request #31442 from KoBeWi/grounded_grabber
Update Slider grabber position when using mouse wheel
2019-08-18 11:03:28 +02:00
Rémi Verschelde
7f7e0f9dfc
Merge pull request #31439 from YeldhamDev/node_dock_minor_improvements
Minor improvements to the Node dock
2019-08-18 11:02:50 +02:00
Rémi Verschelde
5c853a45e6
Merge pull request #31423 from Calinou/improve-node-signal-group-tooltip
Improve the scene tree signals/groups tooltip
2019-08-18 10:55:16 +02:00
Yuri Roubinski
e3b43771aa Added global expressions to visual shaders 2019-08-18 08:49:56 +03:00
Michael Alexsander Silva Dias
96a256557c Minor improvements to the Node dock 2019-08-17 23:05:58 -03:00