Commit Graph

5789 Commits

Author SHA1 Message Date
conankzhang 3854389156 Fix a constant name typo for GridContainer when creating an editor theme. 2019-10-31 01:01:54 -07:00
Hugo Locurcio 27ad8609e2
Improve the primary line setting display in the Configure Snap dialog
This merges the "steps" suffix into the SpinBox using its `suffix`
property.
2019-10-30 22:19:30 +01:00
Rémi Verschelde 9e1be8f8aa
Merge pull request #32934 from ajweeks/fix-scale-origin
Fix 2D scale gizmo placement
2019-10-30 12:04:10 +01:00
Rémi Verschelde af61fe8b77
Merge pull request #32928 from Calinou/2d-editor-add-primary-grid
Add primary grid lines to the 2D editor
2019-10-30 11:29:32 +01:00
volzhs bee6b94b77 Add "Set as main scene" on context menu in FileSystem panel 2019-10-30 03:31:33 +09:00
Hugo Locurcio c7e5dd9ef0
Add primary grid lines to the 2D editor
A "primary" line is drawn every 8 steps by default,
which makes it easier to measure distances for snapping.

This value can be configured in the Configure Snap dialog.
2019-10-29 15:47:38 +01:00
Rémi Verschelde b8daad9779 i18n: Sync translation template with current source 2019-10-29 13:57:45 +01:00
Rémi Verschelde 270bdafaeb i18n: Sync translations with Weblate 2019-10-29 13:50:36 +01:00
Rémi Verschelde 948a2a03d2
Merge pull request #33091 from MCrafterzz/fix10567
Improved project creation UX
2019-10-29 13:27:41 +01:00
Rémi Verschelde 18c46bb8e5
Merge pull request #33144 from nekomatata/inspect-remote-tool-script-2
Fixed remote inspector for tool scripts
2019-10-29 12:01:40 +01:00
MCrafterzz 336e61b36a Improved UX of selecting directories in (Editor)FileDialog by hiding unused gui elements and moving the drive selection 2019-10-29 11:36:09 +01:00
Mikolaj Kaczmarek a245bab78d Fixed disconnecting not connected signal 2019-10-29 00:53:48 +01:00
PouleyKetchoupp 3a26a0eaa7 Fixed remote inspector for tool scripts
Fixes #29506
2019-10-28 18:32:00 +01:00
Michael Alexsander d92123ed97 Add "panel" style to PopupDialog 2019-10-27 19:45:03 -03:00
Rémi Verschelde 816341af25
Merge pull request #33107 from volzhs/toggle-camera-preview-error
Fix error when opening or closing scene with camera preview on
2019-10-27 13:59:04 +01:00
volzhs 4b53a86ce3 Fix error when opening or closing scene with camera preview on 2019-10-27 21:04:29 +09:00
Paulb23 2e2a049d3c Improve performance of connection info in the script editor 2019-10-27 11:07:19 +00:00
Rémi Verschelde 9e572b5bac
Merge pull request #33032 from Calinou/filedialog-scroll-to-top
Scroll back to the top after opening a directory in FileDialog
2019-10-27 10:06:34 +01:00
MCrafterzz cdce135540 Fixed #21527 (Show hint to right click when curve editor is empty) 2019-10-26 14:15:45 +02:00
Rémi Verschelde a8e007f055
Merge pull request #33078 from Calinou/assetlib-no-results-message
Display a message if no results are found in the asset library
2019-10-26 09:12:29 +02:00
Rémi Verschelde 8cef880c39
Merge pull request #33076 from Calinou/project-settings-fix-type-dropdown
Fix off-by-one error in the Project Settings type dropdown
2019-10-26 08:58:20 +02:00
Hugo Locurcio 41c89880f8
Display a message if no results are found in the asset library
This closes https://github.com/godotengine/godot-proposals/issues/184.
2019-10-26 01:07:02 +02:00
Hugo Locurcio 929d8dd20c
Fix off-by-one error in the Project Settings type dropdown
This closes #33075.
2019-10-25 23:58:21 +02:00
Rémi Verschelde 14e2348a60
Merge pull request #32812 from Calinou/template-manager-fix-devel-condition
Fix the download availability check in the export templates manager
2019-10-25 23:23:52 +02:00
Rémi Verschelde 5c04228a9b
Merge pull request #32824 from lupoDharkael/replace-next
Code editor: select next occurrence after Replace
2019-10-25 23:23:21 +02:00
Rémi Verschelde 46441d585b
Merge pull request #32835 from RobKohr/default-convert_indent_on_save-to-true
set convert_indent_on_save to default to true
2019-10-25 23:20:39 +02:00
Rémi Verschelde 8b1d9a00dc
Merge pull request #32847 from Calinou/fix-editor-path-icon-theme-change
Fix the editor path icon when switching from dark to light theme
2019-10-25 23:19:38 +02:00
Rémi Verschelde c96ee7605c
Merge pull request #32946 from DavidSichma/fav-drag
Made favorites dragable
2019-10-25 22:03:22 +02:00
Rémi Verschelde f259beb4f1
Merge pull request #33048 from KoBeWi/smarts_vs_grids
Make Ruler Tool depend on grid snap only
2019-10-25 12:06:03 +02:00
Rémi Verschelde 1c4b2a80b6
Merge pull request #33043 from volzhs/ruler-zoom
Fix ruler origin is moving with zoom
2019-10-25 07:48:37 +02:00
Rémi Verschelde 325232fbc4
Merge pull request #33051 from volzhs/inspector-stylebox
Make stylebox preview not to expand Inspector panel
2019-10-25 07:39:14 +02:00
Rémi Verschelde 7a0a39cd52
Merge pull request #33041 from volzhs/help-font-size
Recalculate margin based on help source font size
2019-10-25 07:13:58 +02:00
volzhs f8e592f607 Make stylebox preview not to expand Inspector panel 2019-10-25 06:20:52 +09:00
Tomasz Chabora 50528b966d Make Ruler Tool depend on grid snap only 2019-10-24 22:31:19 +02:00
volzhs 4beeb0fc0f Fix ruler origin is moving with zoom 2019-10-25 05:19:13 +09:00
volzhs 69c5d637f2 Recalculate margin based on help source font size 2019-10-25 03:28:53 +09:00
Rémi Verschelde 40a25c1e86
Merge pull request #33029 from akien-mga/rm-rf-slash
Fix uninstallation of mono templates directory
2019-10-24 16:50:54 +02:00
Hugo Locurcio c3b9319d78
Scroll back to the top after opening a directory in FileDialog
This also changes the behavior in EditorFileDialog.

This closes #26041.
2019-10-24 15:40:47 +02:00
volzhs f8a81e21db Fix incorrect text rendering with smaller display scale 2019-10-24 22:29:41 +09:00
Rémi Verschelde 47746e10cb Fix uninstallation of mono templates directory
The previous code didn't take into account that templates directories
can have subdirectories like the mono templates have.
Also fix an unclosed dir handle.
2019-10-24 13:54:06 +02:00
bruvzg 2f3db42de8
Update dock menu on project list changes, add favourites separator. 2019-10-24 13:25:21 +03:00
Rémi Verschelde 35944aebde
Merge pull request #33019 from volzhs/class_icon
Resize custom class icon
2019-10-23 21:48:40 +02:00
volzhs 9131f70d8a Resize custom class icon 2019-10-24 03:55:56 +09:00
PouleyKetchoupp 94a50839fe Fixed variables with built-in resource in remote inspector
Now loading the base resource first in ScriptEditorDebugger, the same way it's done in ScriptEditorPlugin.

Fixes #33013
2019-10-23 17:53:29 +02:00
Rémi Verschelde 2d6cf9cc56
Merge pull request #33009 from ebert83/fix_editor_save_layout
Fix layout saving error
2019-10-23 15:31:48 +02:00
Thomas Ebert Hansen d62ab4ab10 Fix layout saving error
As a result of commit b49226e085 FileAccess::open no longer returns ERR_CANT_OPEN if the file cannot be found/opened.
Instead check against ERR_FILE_NOT_FOUND or ERR_FILE_CANT_OPEN.
2019-10-23 15:02:51 +02:00
Fabio Alessandrelli 53637e4b1c Improve EditorExportPlatform interface.
Convert all get_device* methods to get_option* and normalize their usage
as icon, label, tooltip.
2019-10-23 10:59:03 +02:00
Fabio Alessandrelli 2ae3631318 Fix EditorNode.get_editor_theme
EditorNode was not correctly setting the class memeber when creating the
theme, using a local variable instead.
Theme is now created before registering exporters (as they might need it).
2019-10-23 10:59:03 +02:00
Rémi Verschelde 19fa163d9a
Merge pull request #32992 from KoBeWi/AUTOVECTORZ
Auto-increment frame_coords when keying
2019-10-23 07:42:52 +02:00
Rémi Verschelde f022e4748c
Merge pull request #32954 from argentite/new-extend-script
Add separate menu entries for extending and replacing scripts
2019-10-23 07:33:50 +02:00
Erik 8b0546d93b Implement game camera override
Implemented uniform API in Viewport class to override 2D and/or
3D camera.

Added buttons in 2D and 3D editor viewport toolbars that override
the running game camera transform with the editor viewport camera
transform. Implemented via remote debugger protocol and camera
override API.

Removed LiveEditFuncs function pointers from ScriptDebugger class.
Since the debugger got access to the SceneTree instance (if one
exists), there is no need to store the function pointers. The live
edit functions in SceneTree are used directly instead. Also removed
the static version of live edit functions in SceneTree for the same
reason. This reduced the SceneTree -> Debugger coupling too since
the function pointers don't need to be set from SceneTree anymore.

Moved script_debugger_remote.h/cpp from 'core/' to 'scene/debugger/'.
This is because the remote debugger is now using SceneTree directly
and 'core/' classes should not depend on 'scene/' classes.
2019-10-23 02:51:32 +01:00
Hugo Locurcio 66bfa92e84
Add a tooltip to Color properties in the editor inspector
This makes it possible to view a color's raw R/G/B/A values
without clicking the ColorPickerButton.
2019-10-22 23:22:20 +02:00
Rémi Verschelde 72dfa67dd3
Merge pull request #32924 from ajweeks/add-ruler-arcs
Draw arcs to indicate angles being measured by ruler
2019-10-22 22:44:50 +02:00
Rémi Verschelde 7862e3c4de
Merge pull request #32976 from DavidSichma/type_eval
Fixed evaluation for types
2019-10-22 22:41:33 +02:00
Anubhab Ghosh 4972ef801a Add clear menu entries for extending and replacing scripts 2019-10-23 01:57:17 +05:30
Tomasz Chabora 6c0ef9f729 Auto-increment frame_coords when keying 2019-10-22 20:12:55 +02:00
Rémi Verschelde d5fd3b6554
Merge pull request #32973 from KoBeWi/sprite_gps
Show preview of frame_coords in AnimationPlayer
2019-10-22 19:44:41 +02:00
AJ Weeks fb7a4ce63e Fix canvas scale gizmo placement 2019-10-22 18:17:54 +01:00
Rémi Verschelde b6dea9469c
Merge pull request #32985 from Chaosus/fix_bug
Prevents segfault on _class_desc_resized at exit
2019-10-22 18:42:46 +02:00
Yuri Roubinsky d7d72aeeec Prevents segfault on _class_desc_resized at exit 2019-10-22 16:01:11 +03:00
Rémi Verschelde 549aea7284
Merge pull request #32944 from Klowner/gdscript-editorspinslider
expose EditorSpinSlider to GDScript
2019-10-22 14:31:24 +02:00
Rémi Verschelde d54f76c132
Merge pull request #32838 from Calinou/add-x509certificate-cryptokey-icons
Add editor icons for X509Certificate and CryptoKey
2019-10-22 12:39:40 +02:00
Rémi Verschelde 1e0fb0dc14
Merge pull request #32833 from nekomatata/label-autowrap-fix
Allow Label autowrap to cut words when they exceed line width
2019-10-22 12:29:49 +02:00
Rémi Verschelde a2871cc06b
Merge pull request #32846 from Chaosus/fix_doc_color
Fix incorrect coloring of in-editor documentation when theme changed
2019-10-22 12:00:00 +02:00
David Sichma 94fb3f666c Fixed evaluation for types 2019-10-22 09:42:46 +02:00
Tomasz Chabora 4b9860ea94 Show preview of frame_coords in AnimationPlayer 2019-10-22 02:46:50 +02:00
Rémi Verschelde affb7fa423
Merge pull request #32958 from YeldhamDev/inspector_resource_object_icon
Make the the resource menu button fallback to the Object icon instead of Node
2019-10-21 22:25:52 +02:00
Rémi Verschelde 53945fe75e
Merge pull request #32960 from YeldhamDev/anim_track_copy_enhancements
Enhancements and fixes for the animation editor's copy track dialog
2019-10-21 22:25:01 +02:00
Michael Alexsander 1594f22b4e Enhancements and fixes for the animation editor's copy track dialog 2019-10-21 12:40:23 -03:00
Rémi Verschelde 9e631a40c6
Merge pull request #32956 from volzhs/invalid-bold
Fix validating editor bold font
2019-10-21 17:15:40 +02:00
Michael Alexsander a0866716ed Make the the resource menu button fallback to the Object icon instead of Node 2019-10-21 11:26:58 -03:00
volzhs aa5e34d018 Fix validating editor bold font 2019-10-21 22:44:03 +09:00
Rémi Verschelde d33af87b61
Merge pull request #32849 from jahd2602/fix-26362
Add accept-dialog enter-key functionality to the Connect Dialog's Method textfield.
2019-10-21 15:36:26 +02:00
Rémi Verschelde ee3b28e9af
Merge pull request #32841 from Calinou/freelook-add-slow-modifier
Add a "slow" modifier to freelook
2019-10-21 15:25:58 +02:00
Rémi Verschelde 8fc423034b
Merge pull request #32836 from YeldhamDev/resource_editor_icon_fallback
Make resource editor fallback to Object icon if none is found
2019-10-21 15:24:04 +02:00
David Sichma f1265541ee Favorites dragable 2019-10-20 19:39:21 +02:00
Mark Riedesel 6a85614d86 expose EditorSpinSlider to GDScript 2019-10-20 11:54:35 -04:00
AJ Weeks 59d2c71227 Add arcs to indicate angle being measured by ruler 2019-10-19 19:45:56 +01:00
Hugo Locurcio fd244d0328
Add editor icons for X509Certificate and CryptoKey
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2019-10-16 22:16:14 +02:00
Tomasz Chabora 6f7ba78c53 Don't allow to export pck without preset 2019-10-16 11:58:49 +02:00
PouleyKetchoupp 8df330bacd Allow Label autowrap to cut words when they exceed line width
Fixes #30832
2019-10-16 09:57:44 +02:00
Jairo Honorio 7db29919f2 Add accept-dialog enter-key functionality to the Connect Dialog's Method textfield. 2019-10-15 05:49:42 -03:00
Hugo Locurcio 91825ec1d4
Fix the editor path icon when switching from dark to light theme 2019-10-15 09:07:44 +02:00
Yuri Roubinsky c1bd94c2a4 Fix incorrect coloring of in-editor documentation when theme changed 2019-10-15 09:54:28 +03:00
Hugo Locurcio af89a87075
Add a "slow" modifier to freelook
This makes precise adjustments easier, without having to
touch the mouse wheel. This modifier is also available in
Blender, so this makes the freelook behavior more consistent
with it :)

In the interest of simplifying the Editor Settings, this also
removes the freelook modifier speed factor setting
(the value is now hardcoded to its default).
2019-10-14 22:50:02 +02:00
Michael Alexsander 22b9510558 Make resource editor fallback to Object icon if none is found 2019-10-14 16:36:00 -03:00
RobKohr 1c08d98ec8
set convert_indent_on_save to true
https://github.com/godotengine/godot/issues/30324
2019-10-14 15:35:17 -04:00
lupoDharkael 6f32fc68e4 Code editor: select next occurrence after Replace 2019-10-14 13:59:26 +02:00
qarmin 616ab4fac2 Small fixes to redundand code, copy paste bugs 2019-10-14 11:40:55 +02:00
Hugo Locurcio d96388e6f6
Fix the download availability check in the export templates manager
This closes #17746.
2019-10-13 23:40:19 +02:00
David Sichma f7d9f070e1 Increased step precision
Results in nicer numbers for float properties like 20.0 instead of
20.000001
2019-10-13 00:29:53 +02:00
Hugo Locurcio 859478251f
Fix the dependency error dialog being too small on hiDPI displays
This closes #32770.
2019-10-12 15:54:16 +02:00
Rémi Verschelde 062650860a
Merge pull request #32731 from codecustard/fix_concaveshape_not_selecting
Fixes concaveshape not selecting in viewport
2019-10-11 14:55:47 +02:00
Emmanuel Barroga 29690f6aec Fixes concaveshape not selecting in viewport
This PR resolves the issue of ConcaveShapes not being selectable in the Viewport.
2019-10-11 03:42:36 -07:00
Rémi Verschelde 30c3c33029
Merge pull request #32721 from groud/independant_grid_snap
Move grid snapping to an independent button
2019-10-11 08:35:01 +02:00
Rémi Verschelde 16dc6032dc
Merge pull request #32737 from volzhs/unused-outputstrings
Remove unused editor/OutputStrings
2019-10-11 08:21:21 +02:00
Rémi Verschelde 4067028894
Merge pull request #32729 from Calinou/inspector-remove-string-conversion
Remove redundant `camelcase_to_underscore()` call in EditorInspector
2019-10-11 07:21:57 +02:00
volzhs 52b21435e2 Remove unused editor/OutputStrings 2019-10-11 14:13:20 +09:00
Hugo Locurcio 8c79b4f5e9
Remove redundant `camelcase_to_underscore()` call in EditorInspector
Calling `String::capitalize()` already calls
`String::camelcase_to_underscore()` under the hood.
2019-10-10 22:57:46 +02:00
PouleyKetchoupp 30f2100d59 Fixed ScriptEditor autosave timer causing errors on start
Fixes #32685
2019-10-10 22:20:15 +02:00
Gilles Roudière fff953ac8b Move grid snapping to an independent button 2019-10-10 21:10:08 +02:00
Yuri Roubinsky b76ae23392 Prevents folding of member tree on drag&drop in visual shader 2019-10-10 14:19:48 +03:00
Marqus c84e73bf92 Add shortcut Shift + F3 to search pervious in the built-in docs
When using the built-in docs, Godot would not support the shortcut "Shift + F3"
to search for the previous occurrence of the search entry text, thus causing an
inconsistent behaviour when using shortcuts in the "ScriptEditor" compared to
using them in the "ScriptTextEditor".

The previous parameter of the function "EditorHelp::_search()" in the class
"editor_help" seems to be unused, thus replaced with a bool representing to
search for previous search entry text or not. By adding the shortcut to
Godot's "ScriptEditor", this commit now improves Godot's consistensy when
using shortcuts.

Fixes #31147.

Co-Authored-By: Oscar Ferm <oscfer-6@student.ltu.se>
2019-10-10 11:01:04 +02:00
Marcel Admiraal a8836ba28d Remove dependency on the editor directory being in the build's include path.
- Add or remove the necessary subdirectorires to the includes to remove
dependency on the editor directory being in the build's include path.
- Ensure includes in modified files conform to style guideline.
- Remove editor from the build include path.
2019-10-10 08:57:00 +02:00
Rémi Verschelde 564a258831
Merge pull request #32672 from codecustard/fix_merge_scene_not_deselecting
Fixes deselection not working when merging scene
2019-10-09 08:42:16 +02:00
Emmanuel Barroga b5ff31a433 Fixes deselection not working when merging scene
Fixes the issue of multiselection retaining its selection when deselecting in the merge scene dialog
2019-10-08 22:42:47 -07:00
Pedro Ciambra afdfe651a1 Remove Show Ruler shortcut (fixes #32639)
Removed default shortcut because of the conflict mentioned in the issue.
Command + Shift + T would conflict with Soft Reload Script,
and this shortcut doesn't seem to be needed very often.
2019-10-08 18:26:21 -03:00
Rémi Verschelde e1243f75b2
Merge pull request #32444 from lupoDharkael/center-template
Project Manager: Update template dialog position after window resize
2019-10-08 17:04:46 +02:00
Rémi Verschelde abd81dcb73
Merge pull request #32556 from bruvzg/win_codesign
Code signing support for Windows exports
2019-10-08 16:17:24 +02:00
Rémi Verschelde e2f1b30565
Merge pull request #32618 from nekomatata/sprite-to-polygon
Sprite to polygon conversion improvements
2019-10-08 16:13:38 +02:00
Rémi Verschelde ed1cefd352
Merge pull request #32624 from Calinou/project-settings-allow-all-types
Allow all Variant types to be added as project settings
2019-10-08 16:05:29 +02:00
Gilles Roudière 0e834b3924 Increase grid size limit 2019-10-07 22:59:51 +02:00
Hugo Locurcio 753eff2f68
Allow all Variant types to be added as project settings 2019-10-07 17:17:13 +02:00
PouleyKetchoupp 1e301479da Sprite to polygon conversion improvements
- No reduced Rect in march square algorithm, it was causing inconsistent cases near the borders and made the outline less accurate
- Ignore invalid generated polygons (under 3 points) to avoid unnecessary errors and crashes
- Error popup only when no polygon could be generated at all
- Added option to shrink pixels (to get rid of small separate islands)
- Fixed polygon preview (lines were sometimes not showing along the borders)

Fixes #32564, #29267
2019-10-07 13:19:30 +02:00
Rémi Verschelde dcf46d311a
Merge pull request #32523 from hbina/hbina_fix_method_ordering
Applied the same kind of ordering to methods description
2019-10-07 08:34:10 +02:00
Rémi Verschelde c825f76dec
Merge pull request #32567 from Calinou/increase-about-dialog-size
Increase the size of the About dialog
2019-10-07 08:26:57 +02:00
Rémi Verschelde 74c7866bba
Merge pull request #32594 from Calinou/project-editor-settings-search-shortcut
Focus the search box when pressing Ctrl+F in Project/Editor Settings
2019-10-07 08:26:27 +02:00
Rémi Verschelde 0d26a425da
Merge pull request #32589 from OsamaElHariri/add_angle_to_ruler
Add angle to ruler tool
2019-10-07 07:22:30 +02:00
Joe Morton c017f3405e Set tooltip to an empty string when clearing
Format


Remove string conversion
2019-10-06 17:29:11 +01:00
Hugo Locurcio 724b9bc0ce
Focus the search box when pressing Ctrl+F in Project/Editor Settings 2019-10-06 17:56:34 +02:00
Osama El Hariri 90ea3787ec Add angle to ruler tool 2019-10-06 18:04:49 +03:00
Hugo Locurcio 0550c41ab6
Increase the size of the About dialog
This makes third-party license texts display without any soft
wrapping.

The About dialog still fits in the editor when using the smallest
window size permitted (1024x600).
2019-10-05 17:18:25 +02:00
Hugo Locurcio 1739ef5fd7
Document the ability to include/exclude non-resource export folders
This closes #3646.
2019-10-05 16:54:13 +02:00
bruvzg 1c592e5f1f
Add code signing support for Windows exports (using "signtool" on Windows and "osslsigncode" on the other platforms) 2019-10-04 22:33:03 +03:00
jfons c1de7cb22e Fix calculate_spatial_bounds for selection display
Fixes `SpatialEditorPlugin::_calculate_spatial_bounds` so the displayed
selection doesn't break with transformed scenes.
2019-10-04 15:47:15 +02:00
Rémi Verschelde b177051521
Merge pull request #32528 from hbina/hbina_fix_font_override
Fixed warnings text using custom font and color setting.
2019-10-04 13:47:04 +02:00
Hanif Bin Ariffin 79e83b7c92 Fixed warnings text using custom font and color setting.
Fixes #31917
Added missing font and color override.
2019-10-04 07:20:18 -04:00
Yuri Roubinsky b6f8726c66
Merge pull request #32543 from Chaosus/vs_fix_input
Fix VisualShaderInput (if compiled with MinGW) (correct, tested version)
2019-10-04 13:57:01 +03:00
Rémi Verschelde 3b2033b941
Merge pull request #32540 from codecustard/fix_show_bounds_for_scenes
Fixes scene instances not displaying bounds when selected
2019-10-04 12:19:33 +02:00
Yuri Roubinsky bc67a18fe0 Fix VisualShaderInput if compiled with MinGW 2019-10-04 10:52:07 +03:00
Yuri Roubinsky 0a34fa701f Fix VisualShaderInput (if compiled with MinGW) (correct, tested version) 2019-10-04 10:43:59 +03:00
Emmanuel Barroga 10d0bc920b Fixes scene instances not displaying bounds when selected
When selecting instances of a scene file, it doesn't display the bounding box which makes it difficult to visually see that it is selected.
2019-10-03 22:46:29 -07:00
Relintai c39490cf79 Fix potential crash in AnimationPlayer. 2019-10-03 21:07:49 +02:00
Osama El Hariri b2d8b213f7 Fix locale filter in project settings editor 2019-10-03 21:17:35 +03:00
Hanif Bin Ariffin ccfc88ffba Applied the same kind of ordering to methods description
Previously, the ordering did not match.
This could be improved by doing the filtering behorehand, then we simply access them.
This will make sure that future changes to one is reflected to the other (because we are only doing it once)
2019-10-03 12:31:41 -04:00
Yuri Roubinsky b11d15d5c3 Makes Texture and TextureUniform in visual shaders to use UV by default 2019-10-03 16:59:49 +03:00
Rémi Verschelde 5db77dceb8
Merge pull request #32491 from lupoDharkael/inspector-frame
Inspector: select self object after selecting a stack frame
2019-10-03 08:38:29 +02:00
Rémi Verschelde 059a53ee1d
Merge pull request #32504 from Relintai/fix_empty_animatin_player_crash
Fix crash in #32473. (Automatically seek timeline in selected animation)
2019-10-03 07:57:10 +02:00
Relintai c6e577fed9 Fix crash in #32473. (Automatically seek timeline in selected animation) 2019-10-03 00:00:01 +02:00
Yuri Roubinsky 1bafadb629 Drag&drop custom nodes from filesystem to visual shader
+ better loading of custom nodes
2019-10-02 23:42:14 +03:00
Rémi Verschelde 893ebd3080
Merge pull request #32498 from godotengine/revert-32434-script-class-no-plugins
Revert "Fix plugin script classes defined even if inactive."
2019-10-02 21:04:30 +02:00
Rémi Verschelde 96b46a5c00
Merge pull request #32484 from Chaosus/shader_fix
Removed unnecessary shader error log messages
2019-10-02 21:03:50 +02:00
Rémi Verschelde c287f220ce
Revert "Fix plugin script classes defined even if inactive." 2019-10-02 19:17:59 +02:00
lupoDharkael cc85be3aae Inspector: select self object after selecting a stack frame 2019-10-02 12:38:31 +02:00
Rémi Verschelde a737bceb4e
Merge pull request #32473 from KoBeWi/seaking_ani
Automatically seek timeline in selected animation
2019-10-02 11:54:19 +02:00
Yuri Roubinsky 1472fca951 Removed unnecessary shader error log messages 2019-10-02 12:37:22 +03:00
Alexander Holland 35452e1ab4 Update ScriptEditor and ShaderEditor Tooltip
fix #32417
2019-10-02 11:21:59 +02:00
Rémi Verschelde 969e5ee612
Merge pull request #32468 from YeldhamDev/code_replace_hide_fix
Fix text search bar not correctly switching from replacing to just searching
2019-10-01 19:57:51 +02:00
Tomasz Chabora d482bd1ef0 Automatically seek timeline in selected animation 2019-10-01 18:38:03 +02:00
Michael Alexsander be865871f4 Fix text search bar not correctly switching from replacing to just searching 2019-10-01 10:06:03 -03:00
Chaosus f14bcd8cc5 Added sampler port type for visual shaders 2019-10-01 13:20:08 +03:00
lupoDharkael 4753c51de6 Project Manager: Update template dialog position after window resize 2019-10-01 12:10:58 +02:00
Rémi Verschelde a6eeb1a38e
Merge pull request #32442 from Chaosus/vs_textures_drop
Drag&drop textures from filesystem to visual shader
2019-10-01 08:29:08 +02:00
Chaosus 71d6990e1e Added drag&drop possibility for textures from filesystem to visual shader 2019-10-01 09:00:55 +03:00
Michael Alexsander Silva Dias 4689ece741 Minor visual adjustment in drag preview of the scene and file tree editors 2019-09-30 13:36:49 -03:00
Rémi Verschelde 680bcb1ef4
Merge pull request #32434 from willnationsdev/script-class-no-plugins
Fix plugin script classes defined even if inactive.
2019-09-30 11:03:29 +02:00
Rémi Verschelde ddc42be1db
Merge pull request #32431 from lupoDharkael/checks
Add checks after ResourceLoader::load()
2019-09-30 07:55:47 +02:00
willnationsdev 168f6cd975 Fix plugin script classes defined even if inactive. 2019-09-30 00:40:27 -05:00
Rémi Verschelde ae6c390eb2
Merge pull request #32412 from bojidar-bg/27222-make-scene-root-destructive
Fix "Make Scene Root" deleting previous root whenever focusing another scene
2019-09-29 21:37:28 +02:00
Rémi Verschelde cd63cc7df1
Merge pull request #32402 from YeldhamDev/fix_vs_add_function
Fix VS editor's "Create Function" dialog
2019-09-29 21:36:57 +02:00
lupoDharkael 0a0f596dfb Add checks after ResourceLoader::load() 2019-09-29 14:17:42 +02:00
Rémi Verschelde 3b532aa7eb
Merge pull request #32410 from bojidar-bg/5739-highlight-singletons
Highlight singletons and class_names in GDScript
2019-09-29 12:04:45 +02:00
Michael Alexsander Silva Dias 13e752190f Fix VS editor's "Create Function" dialog 2019-09-28 11:57:13 -03:00
Bojidar Marinov cfc779ccf0
Fix "Make Scene Root" deleting previous root whenever focusing another scene
Hopefully fixes #24484 and fixes #27222.
2019-09-28 15:29:09 +03:00
Bojidar Marinov db89fef8fa
Highlight singletons and class_names in GDScript
Also, implement a small QoL change for auto-typed variables.
Closes #5739
2019-09-28 13:13:18 +03:00
Bojidar Marinov faf0a49cbf
Fix crash in ~EditorSpatialGizmoPlugin when generating documentation data 2019-09-28 12:04:50 +03:00
Rémi Verschelde 3481c47e71
Merge pull request #32407 from homer666/animation-import-storage-fix
Restore import animation "storage" checkbox behaviour
2019-09-28 07:50:31 +02:00
homer666 9d98ed1d86 Restore import animation storage checkbox behavior 2019-09-28 12:33:00 +10:00
Michael Alexsander Silva Dias 4e9df13a40 Fix crash when moving an action into itself in the Input Map editor 2019-09-27 22:12:35 -03:00
Rémi Verschelde 5966c6b646
Merge pull request #32379 from Calinou/colorpicker-add-overbright-indicator
Draw an indicator to denote overbright colors in ColorPicker
2019-09-27 22:03:22 +02:00
Rémi Verschelde 8868fd2d28
Merge pull request #31971 from aole/placeholder-confirmation-dialog-for-editable-children
Placeholder confirmation dialog for editable children
2019-09-27 22:02:15 +02:00
Bhupendra Aole cb528e31d9 Placeholder dialog for editable children
Fire placeholder confirmation dialog box when editable children option is already checked.
Fixes #28863
2019-09-27 13:49:55 -04:00
Hugo Locurcio 70c4e96623
Draw an indicator to denote overbright colors in ColorPicker
This makes it faster to distinguish overbright colors from
"standard" colors.
2019-09-27 15:28:42 +02:00
Rémi Verschelde daf4a9f9be
Merge pull request #32381 from YeldhamDev/script_dialog_cleanup
Cleanup the "Attach Node Script" dialog
2019-09-27 08:17:07 +02:00
Michael Alexsander Silva Dias 3333d447c0 Cleanup the "Attach Node Script" dialog 2019-09-27 00:49:20 -03:00
dankan1890 6a7f300662 Create new folder from save dialog now update filesystem dock.
Fix #32167.
2019-09-26 20:54:34 +02:00
Rémi Verschelde 02ca4c49fa i18n: Sync translation template with current source 2019-09-26 14:05:21 +02:00
Rémi Verschelde 89094fc76a i18n: Sync translations with Weblate 2019-09-26 13:59:57 +02:00
Rémi Verschelde 944154272f
Merge pull request #32360 from dankan1890/tilemap_icons
Changed the appearance of the rotation icons in the Tilemap.
2019-09-26 12:34:33 +02:00
dankan1890 2bdde74d45 Changed the appearance of the rotation icons in the Tilemap.
Make them more intuitive.
2019-09-26 10:59:48 +02:00
Rémi Verschelde 452741f333
Merge pull request #31969 from NNesh/fix/open-proj-data-folder
Fixed unable to open project data folder
2019-09-26 10:11:19 +02:00
Rémi Verschelde c2a550565d
Merge pull request #32050 from codecustard/fix_remotetree_not_showing_type
Fix remote-tree not displaying the node type
2019-09-26 09:28:02 +02:00
Rémi Verschelde 7b433107f5
Merge pull request #32009 from Xrayez/fs-editor-icons
Display editor icons for filesystem dock popup menu options
2019-09-26 08:43:17 +02:00
Rémi Verschelde 37cf49ae0e
Merge pull request #32017 from Calinou/editor-spin-slider-improve-ctrl-snapping
Improve Ctrl snapping in EditorSpinSlider
2019-09-26 08:42:53 +02:00
Ruslan Mullayanov 4d5298ed7d Fixed unable to open project data folder
Removed `default` case to prevent hiding such errors in the future.

Fixes #31939.
2019-09-26 08:17:07 +02:00
Emmanuel Barroga ecba42e287 Fix remote-tree not displaying the node type
Fixes the remote-tree not displaying the node's type like the local-tree does.
2019-09-26 08:10:18 +02:00
Rémi Verschelde 7ce5233d24
Merge pull request #32337 from CorattiS86/fixing_#32262
Fixed Show in file system should clear current search
2019-09-26 07:56:01 +02:00
Rémi Verschelde e4d56001e6
Merge pull request #32343 from jeffres/master
Fix import hints being ignored by glTF importer
2019-09-26 07:55:18 +02:00
Michael Alexsander Silva Dias 18d8921af3 Format arguments in connections dialog in GDScript style 2019-09-25 22:08:58 -03:00
Rémi Verschelde edf9055b7f
Merge pull request #32325 from SaracenOne/add_mesh_bindings_fix
SpatialEditorGizmo add_mesh bindings fix
2019-09-25 20:46:58 +02:00
Rémi Verschelde a9e15a5c88
Merge pull request #32350 from nekomatata/fix-bezier-curve-deselection-error
Fixed missing argument for clear_selection signal in Bezier Curve editor
2019-09-25 20:46:18 +02:00
Rémi Verschelde b88291311b
Merge pull request #32345 from nekomatata/fix-curve-delete-point-error
Reset hovered point in Curve when deleted to avoid errors on draw
2019-09-25 20:46:04 +02:00
PouleyKetchoupp bdb9149d7e Fixed missing argument for clear_selection signal in Bezier Curve editor
Also removed unused clear_selection signal in Animation Track editor (never emitted)

Fixes #32348
2019-09-25 19:35:21 +02:00
PouleyKetchoupp fb9ff00640 Reset hovered point in Curve when deleted to avoid errors on draw
Fixes #32344
2019-09-25 18:58:09 +02:00
Rémi Verschelde e426169e4c
Merge pull request #32341 from KoBeWi/be_gone
Clean snapping lines after resize
2019-09-25 18:45:13 +02:00
Rémi Verschelde c5b2ce8b06
Merge pull request #32340 from YeldhamDev/minitab_icon_substitution
Replace "GuiMiniTabMenu" with "GuiTabMenu" and tweak it
2019-09-25 18:43:33 +02:00
Michael Alexsander Silva Dias 5ed5465023 Replace "GuiMiniTabMenu" with "GuiTabMenu" and tweak it 2019-09-25 12:53:42 -03:00
gladmin 7f3e37fead Fix import hints being ignored by glTF importer
This fixes a regression introduced in commit 72d2468
due to hyphens being removed from nodes names.
2019-09-25 16:58:05 +02:00
Tomasz Chabora 37bf283195 Clean snapping lines after resize 2019-09-25 16:56:44 +02:00
Stefano Coratti d7b2ecacff Fixed Show in file system should clear current search 2019-09-25 16:07:46 +02:00
Rémi Verschelde c52287208d
Merge pull request #32333 from akien-mga/debugger-error-cond
Show C++ error condition in script editor debugger
2019-09-25 14:13:11 +02:00
Rémi Verschelde 076dc9803a
Merge pull request #32119 from Calinou/unify-axis-colors
Use the same axis colors consistently in the 2D and 3D editors
2019-09-25 13:03:47 +02:00
Rémi Verschelde dec10dd776
Merge pull request #32051 from qarmin/some_error_explanation
Added some obvious errors explanations
2019-09-25 11:51:54 +02:00
Rémi Verschelde 4112d6c1b4 Show C++ error condition in script editor debugger
This was removed by @RyanStein in #21884 in the case where an error
message is provided, but this is actually useful information to have
even when there is a custom error message.

This PR makes it so that the "C++ Error" is shown whenever there is
a custom error message provided.

Also adds method name to the error item title, and re-adds the most
relevant info in the tooltip for quick error checks without expanding.

Renames C Error/Source to C++ Error/Source, since that's what it is.
And fix untranslatable entry due to misuse of TTR().

And some more cleanup for readability.

Cf. https://github.com/godotengine/godot/issues/32276#issuecomment-534119914
2019-09-25 10:49:44 +02:00
Saracen fcef45006e SpatialEditorGizmo add_mesh bindings fix 2019-09-25 09:30:25 +01:00
qarmin 17732fe698 Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
Rémi Verschelde de03ee94cc
Merge pull request #32296 from BenjaminRiley/save-original-scene-after-save-as-branch
'Save Branch as Scene' also saves original scene
2019-09-25 10:07:39 +02:00
Benjamin Riley 2115bced93 'Save Branch as Scene' adds to undo history
When saving a branch as a scene, can now undo replacing the original branch with the new branch scene. 'Save Branch as Scene' previously would not mark the original scene as changed, and therefore no prompt would appear if the scene was closed immediately after saving the branch.

The new branch scene is not deleted when undo-ing.
2019-09-25 17:08:08 +10:00
Rémi Verschelde 8c0595b722
Merge pull request #32306 from hbina/unused_variable
Fixed incorrect usage of variables in querying values.
2019-09-25 08:49:31 +02:00
Rémi Verschelde 5a4e1045a6
Merge pull request #32319 from Calinou/optimize-svgs
Optimize editor icon SVGs using svgcleaner
2019-09-25 08:46:04 +02:00
Rémi Verschelde 0437044b9c
Merge pull request #32318 from Calinou/improve-audiostreamplayer3d-gizmo
Improve the AudioStreamPlayer3D gizmo
2019-09-25 08:43:56 +02:00
Marios Staikopoulos 4631b0ca62 glTF: Fixed mistake with root node calculation in skin_verify
Was not actually grabbing the computed roots for comparison, but instead
was grabbing the disjoint_set representatives.
2019-09-24 21:49:25 -07:00
Hugo Locurcio 790391bc93
Optimize editor icon SVGs using svgcleaner
This makes editor binaries about 230 KB smaller.

The command used was:

    parallel svgcleaner --multipass {} {} ::: editor/icons/*.svg
2019-09-24 22:49:30 +02:00
Hanif Bin Ariffin d1e069ea23 Fixed incorrect use of variables
The previous committer mistakenly used the wrong variable to query some values.
This commit simply changes it so that it queries the right Dict.
2019-09-24 16:45:34 -04:00
Hugo Locurcio 0feff49375
Improve the AudioStreamPlayer3D gizmo
This adds more lines to the emission angle cone to give a better
feel of depth in the 3D world.
2019-09-24 22:41:02 +02:00
Rémi Verschelde e95e847c01
Merge pull request #32307 from neikeq/mesege
Fix wrong defval in EditorSpatialGizmo.add_mesh method bind
2019-09-24 15:44:37 +02:00
Ignacio Etcheverry 97143e60c1 Fix wrong defval in EditorSpatialGizmo.add_mesh method bind
The type of the parameter 'skeleton' was changed from 'RID' to 'SkinReference', yet the default value remained 'RID()'.
2019-09-24 15:12:27 +02:00
Rémi Verschelde a7ac8ec876 doc: Fix parsing of self-closing XML tags
Follow-up to #31925, `<member />` tags just before `</members>` would cause
a parsing issue, and we'd never notice that we're no longer parsing members.

Also added space before closing `/>`.
2019-09-24 13:34:05 +02:00
Rémi Verschelde 2f52d73c21
Merge pull request #31925 from bojidar-bg/31855-overriden-properties-docs
Add overriden properties to the documentation
2019-09-24 11:53:43 +02:00
Rémi Verschelde 4f294b958f doc: Sync classref with current source
Fix a few missing bindings or unspecified argument names and default values.
2019-09-24 11:52:06 +02:00
Rémi Verschelde cf540f853d
Merge pull request #31974 from YeldhamDev/tilegrid_map_fixes
Small fixes for the Tile/GridMap editors
2019-09-24 11:06:34 +02:00
Rémi Verschelde 4a7889578c
Merge pull request #31978 from YeldhamDev/inspector_dock_small_improvements
Small improvements to the inspector dock
2019-09-24 11:05:20 +02:00
Rémi Verschelde a7b95d1934
Merge pull request #32267 from YeldhamDev/fix_tab_icons
Fix various problems with tab-related icons
2019-09-24 10:45:40 +02:00
Rémi Verschelde 73c7b9a69e
Merge pull request #32283 from Calinou/project-manager-no-open-ctrl-double-click
Don't open a project in the list if Ctrl is held while double-clicking
2019-09-24 10:38:58 +02:00
Rémi Verschelde 5d4e9bdd9e
Merge pull request #32288 from CorattiS86/fixing_#32263
Fix Hide Console Window stores opposite value
2019-09-24 10:28:17 +02:00
Rémi Verschelde fd3c825034
Merge pull request #31970 from HaSa1002/i18n
Fixed out of range crash on remapping files for translation
2019-09-24 10:07:20 +02:00
Rémi Verschelde db47221b8c
Merge pull request #32225 from Calinou/improve-editor-help-display
Improve the editor help display
2019-09-24 09:52:21 +02:00
Rémi Verschelde 78a7db7b6b
Merge pull request #32224 from KoBeWi/not_so_smart_lines
Initialize snap_target and make sure it disappears
2019-09-24 09:51:25 +02:00
Rémi Verschelde 08961912db
Merge pull request #32029 from nekomatata/bezier-track-fixes
Fixes in AnimationTrackEditor around bezier curves
2019-09-23 22:09:40 +02:00
Stefano Coratti c46d172533 Fix #32263 - Hide Console Window stores opposite value 2019-09-23 22:06:34 +02:00
Rémi Verschelde b8e56c5c15
Merge pull request #32021 from Calinou/editor-audio-bus-snapping
Implement snapping in the audio bus editor
2019-09-23 18:51:26 +02:00
Rémi Verschelde 75ed4b159a
Merge pull request #32277 from Calinou/override-for-add-feature-tags
Add some missing feature tags to the "Override For..." menu
2019-09-23 17:55:43 +02:00
Hugo Locurcio 76dd021a30
Don't open a project in the list if Ctrl is held while double-clicking 2019-09-23 17:25:37 +02:00
Rémi Verschelde a226d63f68
Merge pull request #31975 from codecustard/fixes_subresource_showing_deselection
Fixes Subresource Showing While Unselected
2019-09-23 16:00:45 +02:00
Hugo Locurcio 364dfa8d28
Add some missing feature tags to the "Override For..." menu
This closes https://github.com/godotengine/godot-docs/issues/2782.
2019-09-23 15:13:50 +02:00
Rémi Verschelde 159470df08
Merge pull request #32275 from godotengine/skin_support
Added skin support and simplified APIs to override bone position + glTF 2.0 import fixes
2019-09-23 15:02:15 +02:00
Rémi Verschelde 06b07eebb5
Merge pull request #32238 from Paulb23/reset_array_dict_crash
Fix crash when reverting an exported array / dict to NULL
2019-09-23 15:01:08 +02:00
Rémi Verschelde 915b27b0ab
Merge pull request #32266 from Calinou/project-manager-autofocus-search
Focus the project manager's search box automatically on startup
2019-09-23 14:59:57 +02:00
Rémi Verschelde 965e059146
Merge pull request #32258 from Calinou/improve-debugger-shortcut-ux
Improve the debugger shortcut UX
2019-09-23 14:59:44 +02:00
PouleyKetchoupp 87bb1515af Fixes in AnimationTrackEditor around bezier curves
- Undo add bezier track (#31695)
- Undo insert keys for several properties
- Insert keys for several properties using bezier curves (#31698)
- Insert keys for 2d rotation using bezier curve (#28429)
- Insert keys for existing bezier track (#31697)
- Auto-insert keys for bezier track (#31696)
- Number of tracks in insert keys confirmation message
2019-09-23 10:36:02 +02:00
Rémi Verschelde fb12f54721
Merge pull request #32074 from KoBeWi/ninja_reload
Preserve folding when sub-scene is changed
2019-09-23 10:32:02 +02:00
Rémi Verschelde 393a0152ea
Merge pull request #32055 from qarmin/some_code_fixes
Changed some code found by Clang Tidy and Coverity
2019-09-23 10:00:31 +02:00
Rémi Verschelde a0ef113d05
Merge pull request #32036 from Calinou/improve-soft-body-editor-icon
Improve the SoftBody node editor icon
2019-09-23 09:48:55 +02:00
Rémi Verschelde 80a3a78ee9
Merge pull request #32043 from guilhermefelipecgs/fuzzy_help_search
Adds fuzzy search for help search dialog
2019-09-23 09:46:15 +02:00
Rémi Verschelde 16bedc7ede
Merge pull request #32040 from Calinou/editor-help-shift-find-previous
Find the previous match in the editor help when pressing Shift + Enter
2019-09-23 09:44:06 +02:00
Rémi Verschelde b671b6ad2b
Merge pull request #32035 from YeldhamDev/new_icons
Add some missing icons
2019-09-23 09:37:57 +02:00
Rémi Verschelde 5ffae0d299
Merge pull request #32020 from Calinou/editor-audio-bus-display-tooltip
Display audio buses' current volume in a tooltip when hovering slider
2019-09-23 09:02:45 +02:00
Rémi Verschelde 2de90bff9c
Merge pull request #32011 from Calinou/editor-easing-property-drag
Make editor inspector easing lines use the accent color when dragged
2019-09-23 08:50:07 +02:00
Rémi Verschelde c593fbed3d
Merge pull request #32010 from puthre/fix_undo_animation_bezier
Animation Bezier Editor : fix double inserts on undo
2019-09-23 08:48:10 +02:00
Rémi Verschelde 242e6cb904
Merge pull request #32000 from codecustard/Add_Reorder_frames_via_dragndrop
Add ability to reorder animation frames via drag and drop
2019-09-23 08:44:22 +02:00
Rémi Verschelde 2a2f40c45b
Merge pull request #32007 from nekomatata/sprite-frames-editor-delete
SpriteFramesEditor improvements around deleting animations
2019-09-23 08:43:56 +02:00
Rémi Verschelde a089057596
Merge pull request #32049 from codecustard/fix_remoteview_navto_inspected
Fix Remote Tree Navigate to Inspected
2019-09-23 08:13:34 +02:00
Rémi Verschelde 0490fc9ce3
Merge pull request #31061 from Abstract-Everything/input-actions-reorder-ui
Input actions can be reordered by drag and drop.
2019-09-23 08:10:17 +02:00
Michael Alexsander Silva Dias 94ad89a5fb Fix various problems with tab-related icons 2019-09-22 23:08:14 -03:00
Hugo Locurcio 61299dc451
Focus the project manager's search box automatically on startup
This allows the user to search projects as soon as the project manager
opens, without having to click on the search field first.
2019-09-23 02:50:50 +02:00
Marios Staikopoulos 77e223ff94 GLTF: Fixed some issues with skin groups joining incorrectly and removed unused code
- Skin groups now merge more cleanly together
- Skins whose highest nodes are siblings of another skin now get merged also
- Skin nodes who have children of another skin now also fuse together
- Removed the re-rooting of IBM code, as it is no longer needed with the Skin system
2019-09-22 17:45:36 -07:00
Rémi Verschelde 0928e82027
Merge pull request #29895 from ptrojahn/menukey
Support menu key in TextEdit and LineEdit controls
2019-09-22 21:21:13 +02:00
Rémi Verschelde f65c61434b
Merge pull request #32247 from KoBeWi/the_new_order
Perform reparent if position changes
2019-09-22 21:19:58 +02:00
Hugo Locurcio 471a3ceb77
Improve the debugger shortcut UX
- Display the shortcut in the button tooltips by defining the shortcut
  on the buttons as well.
- Swap "Step Over" and "Step Into" in the Debug menu to match the button
  order in the Debugger bottom panel.
2019-09-22 19:19:53 +02:00
qarmin 50be65bf43 Changed some code found by Clang Tidy and Coverity 2019-09-22 18:45:08 +02:00
Tomasz Chabora 48ca6ec657 Perform reparent if position changes 2019-09-22 12:44:59 +02:00
Paul Trojahn ba24bc1e04 Support menu key in TextEdit and LineEdit controls
Related to #15542
2019-09-22 12:06:24 +02:00
Marios Staikopoulos 72d2468d68 More GLTF Fixes
1: Depth draw mode set for transparent materials (iFire)
2: Skeletons
  - Bone names now unique and seperate from scene names
  - Due to mixture of fake joints and joints, new bone sanitizing for names added
  - Fixed an issue where some disjoint skins were not being joined due to a logic error
  - Deterministic and Depth-first bone creation order
3: Skins
  - Removed duplicate skins when possible
4: Animations
  - Fixed invalid morph target names
2019-09-21 21:45:38 -07:00
Marios Staikopoulos 6fc5647bc3 GLTF Importer - Add more Index types and const-ed up the code 2019-09-21 15:21:02 -07:00
Paulb23 c3d712f414 Fix crash when reverting an exported array / dict to NULL 2019-09-21 16:36:30 +01:00
Hugo Locurcio ba8601f557
Improve the network profiler UI
- Add icons to the up/down bandwidth LineEdits for better
  visual grepping.
- Make bandwidth LineEdit texts more prominent when data is being
  received/emitted.
- Add more spacing between the up and down bandwidth LineEdits.
- Initialize the bandwidth texts using `set_bandwidth()` to ensure
  consistency with the actual bandwidth texts once the profiler
  is started.
- Fix icon colors when switching from a dark theme to a light theme
  and vice versa.
- Add missing `EDSCALE` constants for hiDPI scaling.
2019-09-21 15:29:03 +02:00
Marios Staikopoulos 11e09e59d1 GLTF2 Import Fixes - Skin(s) to Skeleton - Skin Support 2019-09-20 23:08:58 -07:00
Rémi Verschelde b6bcc143ad
Merge pull request #32079 from lupoDharkael/locale-crash
Fix right click crash in Locales Filter
2019-09-20 23:17:47 +02:00
Rémi Verschelde 769a9c521a
Merge pull request #32094 from Calinou/improve-delete-node-confirmation-2
Improve the node deletion confirmation message
2019-09-20 23:17:29 +02:00
Rémi Verschelde d249bb37e5
Merge pull request #32112 from Calinou/project-manager-add-hover-style
Add an "hover" style to items in the project manager
2019-09-20 23:15:40 +02:00
Rémi Verschelde f7cd50e900
Merge pull request #32206 from Calinou/remove-unused-tree-constants
Remove an unused icon and constant in Tree
2019-09-20 23:14:50 +02:00
Hugo Locurcio 5b3805b8e5
Improve the editor help display
- Write the type after the parameter name for consistency with
  the GDScript static typing syntax.
- Remove ":" after headers since they're already distinguished
  by their size.
- Remove spaces before/aftere parentheses in method/signal
  argument lists.
2019-09-20 22:41:31 +02:00
Tomasz Chabora 5476250356 Initialize snap_target and make sure it disappears 2019-09-20 22:26:26 +02:00
Rémi Verschelde 25a1bfed5c
Merge pull request #32210 from Calinou/editor-log-distinguish-messages
Distinguish editor-originating messages in the editor log
2019-09-20 20:22:43 +02:00
Rémi Verschelde ae3c685042
Merge pull request #32137 from Calinou/vcs-error-if-none-available
Display an error message if no version control systems are available
2019-09-20 20:20:34 +02:00
Hugo Locurcio 40a5de97e6
Remove an unused icon and constant in Tree 2019-09-20 17:50:13 +02:00
Rémi Verschelde 54eb4bce5f
Merge pull request #32123 from qarmin/fix_int_overflow
Fix int overflow in EditorResourcePreview::_preview_ready
2019-09-20 17:36:07 +02:00
Rémi Verschelde 9137a045ac
Merge pull request #32146 from YeldhamDev/key_bezier_int_real
Fix keying integer and float values from inspector not being able to use bezier curves
2019-09-20 17:35:03 +02:00
Rémi Verschelde 65286c6b46
Merge pull request #32143 from YeldhamDev/scenedock_reparent_fixes
Fix some errors while reparenting nodes in the Scene dock
2019-09-20 17:33:57 +02:00
Rémi Verschelde 712a82a6f6
Merge pull request #32134 from IronicallySerious/fix-global-class-list
Add correct class selection in Select VCS menu
2019-09-20 17:28:39 +02:00
Rémi Verschelde 77ec3ec0a3
Merge pull request #32129 from YeldhamDev/fix_track_removal_errors
Fix errors in the animation editor when removing tracks via undo/redo
2019-09-20 17:28:15 +02:00
Rémi Verschelde d21b73779f
Merge pull request #32180 from KoBeWi/nein_patsch_rekt
Fix region editor for NinePatchRect
2019-09-20 17:26:52 +02:00
Rémi Verschelde d364e88c2a
Merge pull request #32209 from YeldhamDev/fix_connection_type_hints
Fix incorrect typing when creating methods via the connection dialog
2019-09-20 17:10:33 +02:00
Rémi Verschelde a80407fe31
Merge pull request #32173 from Calinou/improve-3d-light-gizmos
Improve the 3D light gizmos
2019-09-20 17:09:50 +02:00
Rémi Verschelde fdc2463a1b
Merge pull request #32150 from luzpaz/typos
Fix misc. source comment typos
2019-09-20 17:09:05 +02:00
Hugo Locurcio ba566dff2e
Distinguish editor-originating messages in the editor log
This fades out messages originating from the editor to make messages
printed by the project stand out more.

This also tweaks wording in some editor messages for consistency.
2019-09-20 01:59:02 +02:00
Hugo Locurcio 04f43116d6
Improve folding appearance in the editor inspector
The arrow is now displayed at the left to be consistent with
other places where folding is used. The arrow icons used are now
consistent with the rest of the editor. The `arrow_up` icon is
no longer used anywhere, so it was removed.

Additional spacing was also added for a better visual appearance.
2019-09-19 22:29:25 +02:00
luz.paz 91ecd7b6a6 Fix misc. source comment typos
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
2019-09-19 14:36:52 -04:00
Rémi Verschelde 2add51d082
Merge pull request #31964 from nekomatata/fix-animation-player-error
Fixed switching back to AnimationPlayerEditor with empty animation list
2019-09-19 20:32:05 +02:00
Rémi Verschelde f9db6ad8c5
Merge pull request #31919 from m4gr3d/use_aar_for_custom_build
Leverage Android archive (AAR) file for Godot custom build
2019-09-19 20:22:09 +02:00
Rémi Verschelde af51fbd994
Merge pull request #32174 from Calinou/2d-editor-display-zoom
Display the current zoom percentage in the 2D editor
2019-09-19 20:14:26 +02:00
Rémi Verschelde 093c1c1a69
Merge pull request #31985 from nekomatata/fix-builtin-script-resource
Fixed resource loading when editing built-in script from resource
2019-09-19 20:07:41 +02:00
Rémi Verschelde fc9985b770
Merge pull request #31961 from YeldhamDev/info_messages
Add informational messages to various editors
2019-09-19 20:06:44 +02:00
Michael Alexsander Silva Dias 8c3bb69e72 Fix incorrect typing when creating methods via the connection dialog 2019-09-19 13:22:05 -03:00
Juan Linietsky d81ddaf33e Added skin support and simplified APIs to override bone position. 2019-09-18 19:46:32 -03:00
Hugo Locurcio 95f6f81dc2
Display the current zoom percentage in the 2D editor
This makes it possible for the user to know precisely the current
zoom level. The zoom percentage can be clicked to reset it to 100%
(similar to Firefox).
2019-09-17 20:36:10 +02:00
Tomasz Chabora cf2ae78956 Fix region editor for NinePatchRect 2019-09-17 19:26:20 +02:00
Hugo Locurcio bfa246cda8
Improve the 3D light gizmos
OmniLight and SpotLight gizmos were tweaked to better represent
their depth in the 3D world.

The default light gizmo color was changed to match the gizmo
icon color closely.
2019-09-17 06:01:21 +02:00
Michael Alexsander Silva Dias c0acaab1aa Fix keying integer and float values from inspector not being able to use bezier curves 2019-09-15 08:59:43 -03:00
Michael Alexsander Silva Dias e5d9c7dcb0 Fix some errors while reparenting nodes in the Scene dock 2019-09-14 21:07:55 -03:00
Hugo Locurcio 6df03fe61f
Display an error message if no version control systems are available
This removes the need for a dedicated placeholder entry.

This closes #32135.
2019-09-14 22:14:00 +02:00
Twarit 50da1b7d15 Add correct class selection in Select VCS menu 2019-09-14 21:06:52 +05:30
Michael Alexsander Silva Dias 5c2582ad34 Fix errors in the animation editor when removing tracks via undo/redo 2019-09-13 22:16:53 -03:00
qarmin ac2f68760d Fix int overflow in EditorResourcePreview::_preview_ready 2019-09-13 15:34:16 +02:00
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