Commit Graph

5495 Commits

Author SHA1 Message Date
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 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