Commit graph

5782 commits

Author SHA1 Message Date
Rémi Verschelde
b395d6bd80 i18n: Sync translations with Weblate 2019-11-22 09:20:29 +01:00
Rémi Verschelde
ab3bccdb78 Fix typos with codespell
Using codespell 1.16.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF

$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-11-22 08:35:03 +01:00
Rémi Verschelde
28613ab8c9
Merge pull request #33794 from nekomatata/gltf-morph-shapes-crash2
Error instead of crash in gltf import with more than one morph target
2019-11-21 22:09:08 +01:00
Rémi Verschelde
1dc110fe7b
Merge pull request #33793 from fire/33756
33756 gltf2 importer should use zfar
2019-11-21 22:08:03 +01:00
PouleyKetchoupp
e949665489 Error instead of crash in gltf import with more than one morph target
Redone from PR #33782 to fix the crash without adding compatibility with Blender 2.8
Helps with #16124, while Blender 2.81 has the proper export fix.
2019-11-21 17:25:01 +01:00
K. S. Ernest (iFire) Lee
d0de373884 33756 gltf2 importer should use zfar 2019-11-21 07:52:18 -08:00
Tomasz Chabora
01d77842ee Unfold directories when showing in file system 2019-11-21 15:40:11 +01:00
Rémi Verschelde
083d088de3
Merge pull request #33583 from qarmin/fix_overflows_unitialized
Fix some overflows and unitialized variables
2019-11-20 21:31:12 +01:00
Rémi Verschelde
ccebd1f4fc
Merge pull request #33734 from merumelu/editor-vcs-init
Editor: fix typo in VCS plugin method names
2019-11-20 21:17:32 +01:00
K. S. Ernest (iFire) Lee
3b44866bf2 33714 If the gltf2 asset has no scene, it is corrupt. 2019-11-20 10:49:24 -08:00
Rafał Mikrut
99d8626f4a Fix some overflows and unitialized variables 2019-11-20 16:22:16 +01:00
Tomasz Chabora
7e5340261a Cancel drag when selection changes 2019-11-19 16:02:04 +01:00
merumelu
94fc676019 Editor: fix typo in VCS plugin method names 2019-11-19 15:11:03 +01:00
Rémi Verschelde
8450658fa2
Merge pull request #33673 from YeldhamDev/script_templates_lines_style
Make the script templates' blank lines conform with the official style guide
2019-11-19 10:41:36 +01:00
Rémi Verschelde
d8cf3aa5ab
Merge pull request #33700 from nekomatata/sprite-add-label-overlap
Fixed "Add Sprite..." label overlapping with zoom controls
2019-11-19 09:49:52 +01:00
Tomasz Chabora
43d762fce3 Consider locked moving objects when updating viewport 2019-11-18 21:08:14 +01:00
PouleyKetchoupp
6d14251b0d Fixed "Add Sprite..." label overlapping with zoom controls 2019-11-18 11:52:01 +01:00
PouleyKetchoupp
7e9a45842e Fixed ScriptEditorDebugger minimum size
Changed to MarginContainer to enforce debugger tabs minimum size on the parent, avoids overlapping controls with Profiler and Network Profiler tabs.

Fixes #20837
2019-11-18 09:42:28 +01:00
Tomasz Chabora
e9802d9b02 Fix animation key snapping at high zooms 2019-11-17 23:34:36 +01:00
Michael Alexsander
7ecaff578b Make the script templates' blank lines conform with the official style guide 2019-11-17 08:54:43 -03:00
Michael Alexsander
1c5cfb9bfd Make the replaced results appear in the matches counter 2019-11-15 09:48:58 -03:00
Rémi Verschelde
d1f8fd6384
Merge pull request #33607 from Calinou/orbit-modifier-always-alt
Always allow Alt as an orbit modifier in the 3D editor
2019-11-14 20:14:36 +01:00
Hugo Locurcio
1e28571d82
Always allow Alt as an orbit modifier in the 3D editor
This makes it easier to navigate in 3D when using a graphics tablet.
This fallback modifier will only be available if no other modifier
is using Alt.

This partially addresses
https://github.com/godotengine/godot-proposals/issues/196.
2019-11-14 17:40:15 +01:00
Hugo Locurcio
bc8236bd39
Add a tooltip to explain what marking a preset as "runnable" does 2019-11-14 15:11:31 +01:00
Rémi Verschelde
f244772028
Merge pull request #33617 from Chaosus/fix_theme_element2
Fix incorrect error/matches label color when switching from light to dark theme
2019-11-14 12:38:04 +01:00
Rémi Verschelde
41634199c8 EditorNode: Improve tooltip for pause button
Closes #14742.
2019-11-14 11:44:20 +01:00
Yuri Roubinsky
0ec76d40b4 Fix incorrect error label color when switching from light to dark theme 2019-11-14 13:34:56 +03:00
Rémi Verschelde
a1c396e55c
Merge pull request #33614 from Chaosus/fix_theme_element
Fix "matches" label color in light theme
2019-11-14 10:54:59 +01:00
Yuri Roubinsky
facfae3671 Fix "matches" label color in light theme 2019-11-14 09:44:53 +03:00
Gilles Roudière
0287baf078 Disable ok button if no key is selected when adding event to an action 2019-11-13 22:37:06 +01:00
Rémi Verschelde
0132555dfa
Merge pull request #33596 from KoBeWi/sell_tile
Make sure tile is selected when selecting TileMap
2019-11-13 15:26:56 +01:00
Tomasz Chabora
f7476359e0 Make sure tile is selected when selecting TileMap 2019-11-13 14:26:37 +01:00
Rémi Verschelde
a439c55eff
Merge pull request #33589 from JFonS/fix_scaled_gizmos
Fix broken gizmo interaction when Node is scaled
2019-11-13 13:43:57 +01:00
JFonS
1f623c5a2b Fix broken gizmo interaction when Node is scaled 2019-11-13 12:22:08 +01:00
Tomasz Chabora
1369e00973 Properly handle zoom when opening tileset editor 2019-11-12 16:23:53 +01:00
Tomasz Chabora
57b12c10ab Prevent crash when scene has path, but no file 2019-11-12 14:09:58 +01:00
Rémi Verschelde
957910c480
Merge pull request #33544 from YeldhamDev/camera_override_tooltip_adustment
Minor adjustment in the "Game Camera Override" button's tooltip.
2019-11-11 17:22:47 +01:00
Michael Alexsander
107c1969f5 Hide "Set As Main Scene" in FileSystem dock if the scene is already the main one 2019-11-11 12:41:46 -03:00
Michael Alexsander
c77ce40c3b Minor adjustment in the "Game Camera Override" button's tooltip. 2019-11-11 11:46:23 -03:00
Rémi Verschelde
6b1628f9fc
Merge pull request #33517 from madmiraal/fix-_MSG-macros
Send *_MSG macros' explanations directly to the _err_print_error().
2019-11-11 13:27:51 +01:00
Andrii Doroshenko (Xrayez)
1f62318f92 Display icon for "Set As Main Scene" in filesystem popup 2019-11-11 12:58:15 +02:00
Marcel Admiraal
d18b2e599d Remove all uses of ERR_EXPLAIN macros. 2019-11-11 10:24:04 +01:00
Rémi Verschelde
5f4ab5c77d
Merge pull request #33529 from code-xD/master
fixes #33439. The feature now changes according to the feature profile.
2019-11-11 08:24:23 +01:00
Rémi Verschelde
411af59752
Merge pull request #33499 from nekomatata/animation-filter-function
Fixed function/audio/anim tracks in blend tree animation filter
2019-11-11 08:13:06 +01:00
Shivansh Anand
9fee540e6e fixes #33439. The feature now changes according to the feature profile. 2019-11-11 01:13:56 +05:30
Rémi Verschelde
2143f46df2
Merge pull request #33516 from qarmin/small_fixes
Memory leaks and crash fixes
2019-11-10 10:17:19 +01:00
Rémi Verschelde
b2ff90fecf
Merge pull request #33513 from nekomatata/multi-selection-focus
Keep focus on the top-most node for multi-selection in scene tree
2019-11-10 10:06:16 +01:00
Rafał Mikrut
7dda9309f9 Memory leak and crash fixes 2019-11-10 09:49:13 +01:00
PouleyKetchoupp
824bc3fed8 Keep focus on the top-most node for multi-selection in scene tree
Makes behavior consistent with selecting/deselecting single nodes and fixes a regression about the focused node being lost when multi-selecting.

Fixes #33332
2019-11-10 09:37:51 +01:00
PouleyKetchoupp
b777d9b34a Multi-selection restored properly after switching scenes
Fixes #33511
2019-11-10 09:32:07 +01:00
PouleyKetchoupp
72453e566d Fixed function/audio/anim tracks in blend tree animation filter 2019-11-09 22:30:08 +01:00
PouleyKetchoupp
133014c3fb Fixed errors when saving scene with a shrunk viewport
Handle viewport size larger than preview size but very close, when the ratio was 1 the size ended up being 0.

Fixes #33497
2019-11-09 21:16:19 +01:00
PouleyKetchoupp
311ab52b6c Fixed Camera preview when creating new scenes
Fixes #33490
2019-11-09 17:24:40 +01:00
Tomasz Chabora
2bde99f790 Fix some small text mistakes 2019-11-08 23:31:29 +01:00
Danil Alexeev
c9d7301418 Fixed initial title in audio buses editor
Previously, 'default_bus_layout.tres' was always displayed at startup,
even if 'audio/default_bus_layout' was changed in Project Settings.
2019-11-08 13:17:39 +03:00
Rémi Verschelde
621dc7022f
Merge pull request #27742 from rxlecky/camera-replication
Game camera override
2019-11-08 10:02:18 +01:00
Rémi Verschelde
99cc4d246f
Merge pull request #33343 from KoBeWi/scene_tree_dusting
Another scene tree dock menu cleanup
2019-11-07 15:17:14 +01:00
Rémi Verschelde
b964e911b6
Merge pull request #33183 from silvanocerza/filesystem-tree-expand
Folders in FileSystem are not expanded on project save anymore
2019-11-07 13:20:26 +01:00
Rémi Verschelde
8e76c5701b
Merge pull request #32997 from Calinou/editor-color-picker-add-tooltip
Add a tooltip to Color properties in the editor inspector
2019-11-07 13:18:27 +01:00
Rémi Verschelde
bcb6a99154
Merge pull request #32527 from OsamaElHariri/fix_locale_filter
Fix locale filter in project settings editor
2019-11-07 13:06:17 +01:00
Rémi Verschelde
706552404c
Merge pull request #33362 from qarmin/regression_control
Fix dragging spinner without control key
2019-11-06 22:34:27 +01:00
Rémi Verschelde
74c4543c4b
Merge pull request #33387 from nekomatata/faster-create-dialog-filter
Node create dialog filtering optimization
2019-11-06 22:24:46 +01:00
Michael Alexsander
64da703c6f Make text in the "About" dialog reset its position when changed 2019-11-06 17:20:37 -03:00
PouleyKetchoupp
fb9ff92c29 Node create dialog filtering optimization
Avoid loading the same scripts again and parse them when updating the node type tree.
2019-11-06 17:21:14 +01:00
Rémi Verschelde
245c99175c
Merge pull request #33361 from codecustard/master
Fixes improper undo state for pivot setting
2019-11-05 15:54:53 +01:00
Rafał Mikrut
9fd416abce Fix dragging spinner without control 2019-11-05 15:53:19 +01:00
codecustard
f643786b96 Fixes improper undo state for pivot setting
After setting the pivot of a node, if you undo.... it will not revert the pivot to the previous state.
2019-11-05 05:59:03 -08:00
Silvano Cerza
84410f937e Improved search in settings dialogs
Settings search used to work only on properties, so if a searchbox text
was a substring of a category but not of a property the whole category
would be filtered out and no property would be shown.

Now the behaviour is changed so that when the searchbox text is a
substring of a category all its properties are shown too.

The previous behaviour is still present so that in case the searchbox
text is both a substring of a category and a property of another
category, all properties of the first category are shown and only the
property of the second category is shown.
2019-11-04 20:24:59 +01:00
Silvano Cerza
469acbfd0c Folders in FileSystem are not expanded on project save anymore
If an item was selected in the FileSystem dock and its parent
was collapsed the folder would be expanded when saving the project.
2019-11-04 20:23:46 +01:00
Rémi Verschelde
dc114fa2ef
Merge pull request #33335 from Calinou/input-map-editor-fix-key-names
Fix key names being wrongly capitalized in the input map editor
2019-11-04 17:24:16 +01:00
Rémi Verschelde
6dca64140c
Merge pull request #33330 from nekomatata/fix-label-autowrap-size
Fixed cases where labels with autowrap can overflow the editor ui
2019-11-04 16:57:53 +01:00
Tomasz Chabora
4ed2abb0bf Another scene tree dock menu cleanup 2019-11-04 16:45:16 +01:00
Hugo Locurcio
b14e391792
Fix key names being wrongly capitalized in the input map editor
This also fixes the prompt in the editor shortcuts dialog
while removing duplicated code.

This closes #33305.
2019-11-04 15:23:28 +01:00
Tomasz Chabora
e3cfb006a0 Allow zooming while panning 2019-11-04 12:33:24 +01:00
PouleyKetchoupp
13c88878c4 Fixed cases where labels with autowrap can overflow the editor ui
Fixes #33155
2019-11-04 10:12:36 +01:00
Yuri Roubinsky
8243afb0e9 Added sampler inputs for visual shaders 2019-11-03 17:59:15 +03:00
Rémi Verschelde
306c13a210
Merge pull request #33270 from norkn/fix-issue-27256
Copy transform when creating convex sibling
2019-11-02 19:28:59 +01:00
Paulb23
362d38ea67 Update connection info on script validation rather then saved copy 2019-11-02 14:41:59 +00:00
checkerWoho
ec274eeeff Copy transform when creating convex sibling 2019-11-02 15:08:50 +01:00
Rémi Verschelde
4569f5ec82
Merge pull request #33182 from MCrafterzz/scaleSnap
Added snapping for scaling in 2D editor
2019-11-02 11:12:54 +01:00
Yuri Roubinsky
d5aa611d53
Merge pull request #33256 from Chaosus/vs_fix_custom_nodes
Sort custom vshader nodes+prevents them from divide to different folders
2019-11-02 13:09:10 +03:00
Yuri Roubinsky
84a0ad36b6 Sort custom vshader nodes+prevents them from divide to different folders 2019-11-02 12:04:48 +03:00
MCrafterzz
3a8a7fc31c Added snapping for scaling in 2D editor 2019-11-02 09:43:15 +01:00
PouleyKetchoupp
f6f60e22f5 Fixed error when renaming a state in AnimationNodeStateMachine
Fixes #33245
2019-11-01 21:14:58 +01:00
Rémi Verschelde
b4737877f1
Merge pull request #33204 from akien-mga/prevent-crash-permission-issue
Prevent crash when we can't write to editor cache or config path
2019-11-01 14:09:42 +01:00
Rémi Verschelde
1e8758418e
Merge pull request #33216 from nekomatata/help-editor-codeblock
Code sections improvements in editor help
2019-11-01 14:03:26 +01:00
Rémi Verschelde
c12797fb31
Merge pull request #33232 from kraghot/Fix-Batch-Rename
Fix Batch Rename not opening
2019-11-01 14:00:40 +01:00
Edi Cikovic
d14d57120d Fix Batch Rename not opening 2019-11-01 13:03:57 +01:00
Michael Alexsander
36c4fd8935 Make the editor dimming smarter 2019-10-31 16:58:53 -03:00
PouleyKetchoupp
74271712a8 Code sections improvements in editor help
- Removed extra new lines around code blocks
- Different color for code and code blocks to make them more visible
2019-10-31 18:47:12 +01:00
Rémi Verschelde
565f7183aa Prevent crash when we can't write to editor cache or config path
This can happen if users somehow got wrong user permissions assigned to
their Godot cache, config or data paths (e.g. `~/.config/godot`).

The error messages should give them a hint as to what the issue may be.

Fixes #33199.

There may be other situations that still lead to a crash, we need to
review all uses of `FileAccess::open` with `FileAccess::WRITE` mode to
ensure that proper pointer validation is done.
2019-10-31 15:16:02 +01:00
Aaron Franke
8754e21f48
Fix "seperate" typos 2019-10-31 08:52:26 -04:00
Rémi Verschelde
aa96481c8f
Merge pull request #33196 from conankzhang/fix-theme-typo
Fix a constant name typo for GridContainer when creating an editor theme.
2019-10-31 09:51:16 +01:00
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