Ricardo Buring
d9ce8b8996
Node3D editor: cast rays in NOTIFICATION_PHYSICS_PROCESS
...
Fixes crashes in the editor with threaded physics (when dragging a scene
into the viewport or when snapping a node to the floor).
2022-10-14 23:37:20 +02:00
kobewi
af0ee8b0a0
Reorganize script editor menu
2022-10-14 18:41:01 +02:00
Guilherme Sousa
5d06843fcf
Added custom node export
2022-10-14 17:31:00 +02:00
kobewi
c75338fce6
Preserve caret when updating EditorPropertyText
2022-10-14 15:37:28 +02:00
kobewi
072f6feaba
Make some Image methods static
2022-10-14 14:34:15 +02:00
Eric M
8678e4d34f
Focus EventListener when InputEventConfigurationDialog is opened.
2022-10-14 18:26:07 +10:00
Rémi Verschelde
bd4fddd89f
Merge pull request #67370 from KoBeWi/queueueuedraw
...
Redraw 2D viewport when scene changes
2022-10-14 10:20:01 +02:00
Rémi Verschelde
7502c808fa
Merge pull request #66665 from Mickeon/editor-do-not-edit-inherited-signals
...
Do not allow editing Scene-inherited signal connections
2022-10-14 10:19:47 +02:00
kobewi
bee0b7e583
Redraw 2D viewport when scene changes
2022-10-14 00:22:46 +02:00
Micky
6a77563b25
Do not allow editing Scene-inherited signal connections
...
Inherited connections are also highlighted with the warning color in the Node dock.
2022-10-13 20:13:05 +02:00
Juan Linietsky
71d2e38cb5
Optimize Convex Collision
...
Implements the Gauss Mapping optimization to SAT convex collision test.
* Described [here](https://ubm-twvideo01.s3.amazonaws.com/o1/vault/gdc2013/slides/822403Gregorius_Dirk_TheSeparatingAxisTest.pdf ) by Dirk Gregorius.
* Requires adding of face information to edges in MeshData
* Took the chance to convert MeshData to LocalVector for performance.
2022-10-13 19:07:53 +02:00
Rémi Verschelde
58822717ff
Merge pull request #67344 from KoBeWi/hollow_property
...
Add empty state to enum properties
2022-10-13 15:24:46 +02:00
Rémi Verschelde
2ffb609658
Merge pull request #66337 from EricEzaM/sprite-frames
...
Ensure control built-in shortcuts are matched exactly & add shortcuts for SpriteFrames editor
2022-10-13 15:24:39 +02:00
Eric M
b322b3d649
Add shortcuts for SpriteFrames editor. Small renaming changes for clarity & consistency.
2022-10-13 21:14:59 +10:00
kobewi
fd84f68217
Add empty state to enum properties
2022-10-13 13:05:54 +02:00
Rémi Verschelde
86a836f9e3
Merge pull request #59468 from EricEzaM/fix-zoom-shortcuts
...
Fix zoom in/out keyboard shortcuts not working
2022-10-13 09:03:58 +02:00
Rémi Verschelde
f2248969db
Merge pull request #66952 from bruvzg/macos_net_export
...
Fix macOS .NET export.
2022-10-12 22:52:59 +02:00
Rémi Verschelde
143dbb3544
Merge pull request #67277 from KoBeWi/ 🤦♂️
...
Fix source sort not saving in TileMap editor
2022-10-12 08:56:08 +02:00
Rémi Verschelde
6fc1715cdf
Merge pull request #65779 from Mickeon/rename-camera-follow
...
Rename Camera2D's `smoothing` to `position_smoothing`
2022-10-12 08:53:04 +02:00
Rémi Verschelde
3229194dfc
Merge pull request #67215 from Nidjo123/project-dialog-resize
...
Resize project dialog only when necessary
2022-10-11 23:26:37 +02:00
kobewi
386382d796
Fix source sort not saving in TileMap editor
2022-10-11 22:40:39 +02:00
Rémi Verschelde
736a2df437
Merge pull request #67244 from RandomShaper/split_render_further_2
...
Polish rendering driver refactor further (take 2)
2022-10-11 21:08:42 +02:00
Pedro J. Estébanez
f82deaa5b3
Polish rendering driver refactor further (take 2)
2022-10-11 19:06:55 +02:00
Nikola Bunjevac
fb673953ca
Resize project dialog only when necessary
2022-10-11 17:16:20 +02:00
Micky
43b9cc96da
Rename Camera2D's smoothing
to position_smoothing
...
For Camera2D:
`smoothing_enabled` -> `position_smoothing_enabled`
`set_enable_follow_smoothing` -> `set_position_smoothing_enabled`
`is_follow_smoothing_enabled` -> `is_position_smoothing_enabled`
`smoothing_speed` -> `position_smoothing_speed`
`set_follow_smoothing` -> `set_position_smoothing_speed`
`get_follow_smoothing` -> `get_position_smoothing_speed`
2022-10-11 16:51:26 +02:00
Rémi Verschelde
042e81f663
Merge pull request #40274 from Juankz/clips_importing_improvement
...
Add animation slices for individual animations
2022-10-11 16:18:22 +02:00
Rémi Verschelde
6d534f6e89
Merge pull request #66221 from Mickeon/painstakingly-appending-ds-en-you-tea-es
...
Rename remaining "*_enable" to "*_enabled"
2022-10-11 16:17:02 +02:00
Rémi Verschelde
bc7981dfd1
Merge pull request #62659 from Chaosus/editor_group_rename_option
...
Add ability to rename groups in the GroupsEditor
2022-10-11 16:16:51 +02:00
Rémi Verschelde
b24bdc9a4c
Merge pull request #67018 from Mickeon/try-connections-dialog-self-connection
...
Add Editor Setting for default name when connecting signal to self
2022-10-11 16:16:37 +02:00
Rémi Verschelde
56ccf4f2f6
Merge pull request #66310 from TokageItLab/Change-bonemapper-background-silhouette
...
Change bone mapper background model silhouette
2022-10-11 16:16:23 +02:00
Rémi Verschelde
d2a8f4d33d
Merge pull request #61776 from Rindbee/fix-code-editor-search
...
Fix some bugs about search in code editor
2022-10-11 13:59:40 +02:00
Rémi Verschelde
3a2e749a10
Merge pull request #59382 from akien-mga/editor-acceptdialog-swap-cancel-ok
...
Add editor setting for AcceptDialog OK/Cancel buttons positioning
2022-10-11 12:34:04 +02:00
Rindbee
ff0de4e220
Fix some bugs about search in code editor
...
1. Fix #61713 ;
2. Fix the bug when there are consecutive matches, forward searching will skip the adjacent item;
3. Fix the bug that enable the selection-only option will affect the operations in search mode.
2022-10-11 18:15:32 +08:00
Rémi Verschelde
e413d1c9c3
Merge pull request #67104 from Calinou/add-viewport-transparent-project-setting
...
Add a project setting to make the root viewport transparent
2022-10-11 09:28:43 +02:00
Rémi Verschelde
6d9d220d64
Merge pull request #67224 from Mickeon/jason
...
Use `JSON::stringify` where possible
2022-10-11 09:27:53 +02:00
Juan Velandia
8ad3f8f051
Add animation slices for individual animations
...
This improves the workflow for animations in a single timeline.
The users are no longer forced to slice one animation named "default".
Instead users can choose which animation(s) to break and how.
Changes:
- Remove slicing options from the animation player import menu
- Add such options to the animation import menu
- Rename clips to slices wherever was left
2022-10-10 18:39:49 -05:00
Micky
fe56c1ff75
Use JSON::stringify
where possible
2022-10-11 00:27:23 +02:00
kobewi
b754df2b99
Fix node name casing issues
...
Co-authored-by: ryburnj <jordanryburn@gmail.com>
2022-10-10 22:31:26 +02:00
Rémi Verschelde
28f642097a
Merge pull request #67183 from akien-mga/gcc-warnings-cleanup
...
SCons: Cleanup GCC warnings configuration
2022-10-10 17:42:36 +02:00
Rémi Verschelde
db7047705b
Merge pull request #67124 from KoBeWi/load_before_save
...
Fallback to ResourceLoader if can't find UID
2022-10-10 17:42:24 +02:00
Rémi Verschelde
8017827144
SCons: Re-enable treating #warning
as error with werror
...
Replace all TODO uses of `#warning` by proper TODO comments, and will open
matching bug reports to keep track of them.
We don't have a great track record fixing TODOs, but I'd wager we're even
worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10 16:12:26 +02:00
kobewi
983a5227fb
Remove default shortcut for Preview Canvas Scale
2022-10-10 14:22:26 +02:00
Rémi Verschelde
8c24b35b76
Merge pull request #65942 from SaracenOne/animation_change_callback_fix
...
Fix animation change callbacks
2022-10-10 13:53:53 +02:00
Rémi Verschelde
b9d063170c
Merge pull request #67178 from TokageItLab/add-signal-animation_selected-APEditer
...
Add `animation_selected` signal to AnimationPlayerEditor to subscribe changed animation
2022-10-10 13:52:48 +02:00
Rémi Verschelde
5616898184
Merge pull request #67128 from KoBeWi/call_deferred_always_works
...
Defer clearing of ResourceUID cache
2022-10-10 13:52:32 +02:00
Rémi Verschelde
543128d84d
Merge pull request #67175 from bruvzg/macos_title_edscale
...
[macOS] Fix window button position and title bar size when editor scale do not match OS UI scale.
2022-10-10 13:52:23 +02:00
kobewi
14b82c36a2
Defer clearing of ResourceUID cache and silence warnings
2022-10-10 11:20:23 +02:00
Silc Renew
847c783319
Add animation_selected signal to AnimationPlayerEditor
2022-10-10 16:52:49 +09:00
bruvzg
73430f292b
[macOS] Fix window button position and title bar size when editor scale do not match OS UI scale.
2022-10-10 10:32:41 +03:00
Kongfa Waroros
e81e81a56e
Fix crashing when editing the TileSet
field
2022-10-10 00:37:47 +07:00
Rémi Verschelde
629fa413ab
Merge pull request #67109 from TokageItLab/remove-clear-editors-in-bone-mapper
...
Remove unused func definition in BoneMapEditor
2022-10-09 18:29:18 +02:00
kobewi
a38891dfb3
Fallback to ResourceLoader if can't find UID
2022-10-09 13:06:15 +02:00
Micky
176187b11d
Add Editor Setting for default name when connecting signal to self
2022-10-09 11:20:13 +02:00
Silc Renew
a2a3f8cd0a
Remove unused func definition in BoneMapEditor
2022-10-09 12:13:22 +09:00
Hugo Locurcio
bab8497fa2
Add a project setting to make the root viewport transparent
...
This allows recording videos with a transparent background without
having to create a script.
2022-10-09 00:16:07 +02:00
HolonProduction
e87c9fc48c
Show svg import options in default settings.
...
Fixes : #63840
Importers can export options conditional based on the resource path.
If an empty path is passed (as by the editor settings) filtering should not be done.
2022-10-08 16:01:00 +02:00
Rémi Verschelde
bbac8198f8
Merge pull request #67070 from timothyqiu/bind-redraw
...
Bind `AnimationTrackEditor::_redraw_tracks` for UndoRedo
2022-10-08 13:56:35 +02:00
Rémi Verschelde
f7c374272f
Merge pull request #67060 from timothyqiu/named-layers
...
Only show named layers in layer menu
2022-10-08 13:56:30 +02:00
Rémi Verschelde
2b376437a2
Merge pull request #65983 from Mickeon/rename-audio-player-volume-db
...
Rename AudioStreamPlayer3D's `unit_db` to `volume_db`
2022-10-08 13:56:10 +02:00
Haoyu Qiu
51c5278d83
Bind AnimationTrackEditor::_redraw_tracks
for UndoRedo
2022-10-08 17:34:16 +08:00
Haoyu Qiu
ad04922ef9
Only show named layers in layer menu
2022-10-08 11:24:04 +08:00
Rémi Verschelde
18177828ad
Merge pull request #67047 from KoBeWi/_aacdeelmmnoptt
...
Sort unused palette commands alphabetically
2022-10-07 22:22:25 +02:00
Rémi Verschelde
7ca49be7ed
Merge pull request #67035 from mateuseap/mateuseap/master
...
Fix signature for `folder_moved` signal of `FileSystemDock`
2022-10-07 22:21:37 +02:00
kobewi
d8663b1a70
Sort unused palette commands alphabetically
2022-10-07 21:52:25 +02:00
HolonProduction
301a8fd559
Fix a bug with moving dock left and right.
...
Fixes #67039
`get_index` counts internal children by default but `move_child` ignores them therefore `move_child` had no effect.
The call to `set_current_tab` is not needed anymore in Godot 4 since the current tab will change when calling `move_child`.
2022-10-07 19:15:20 +02:00
meap
09b9d864a7
Fix signature for 'folder_moved' signal of FileSystemDock
2022-10-07 13:38:29 -03:00
bruvzg
6daf4c6593
[.NET Export] Improve .NET export process.
...
[macOS export] Fix incorrect file placement, search paths and architecture detection.
[macOS export] Automatically detect executable files and set +x flag.
[macOS export] Automatically apply "Disable Library Validation" entitlements when required.
[macOS export] Remove old Mono export code.
Fix folder tree creation for shared objects export.
Add arch suffix to the exported .NET "data" folder name.
Remove old Mono code from .NET "data" folder lookup.
2022-10-07 13:33:06 +03:00
bruvzg
0103af1ddd
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.
2022-10-07 11:32:33 +03:00
Rémi Verschelde
5b7f62af55
Merge pull request #62910 from Vitika9/gsoc-colorpicker-ux
...
ColorPicker UX
2022-10-07 09:49:29 +02:00
Rémi Verschelde
e3d140e21a
Merge pull request #65939 from Mickeon/editor-scene-tree-filter-type-inherited
...
Include inherited classes in Filter Nodes' "type:" filter & fix "group:"
2022-10-07 09:13:59 +02:00
Rémi Verschelde
0c23a2cfe3
Merge pull request #66977 from akien-mga/editor-fix-opening-source-code
...
Debugger: Fix fetching source to link C++ error on GitHub
2022-10-06 16:35:41 +02:00
Rémi Verschelde
75c4b955f6
Merge pull request #65932 from Mickeon/editor-scene-tree-filter-selection
...
Expose and warn about Node Filters in Scene Tree Dock
2022-10-06 16:35:23 +02:00
Rémi Verschelde
afb63944d0
Merge pull request #66930 from EricEzaM/66770-addendum-split-action-map-file
...
Split `action_map_editor` file into one file per class it contained.
2022-10-06 16:34:51 +02:00
Micky
44738e1e15
Include inherited classes in Filter Nodes' "type:" filter & fix "group:"
...
Also fixes not all private, internal groups being skipped in the "group:" filter.
2022-10-06 16:13:11 +02:00
Micky
33092b6f45
Expose and warn about Node Filters in Scene Tree Dock
...
Adds "Filter by Type" and "Filter by Group" in the Scene Tree Dock's MenuButton.
Hovering on them displays an useful tooltip.
When selecting these items, the matching parameter is appended to the terms, and the caret is automatically brought to the end.
When typing a filter that cannot be identified, a warning icon is displayed. The reason is explained as a tooltip.
The same options are also quickly available by right-clicking or middle-clicking in the text field.
2022-10-06 13:36:40 +02:00
Rémi Verschelde
4d29346a74
Debugger: Fix fetching source to link C++ error on GitHub
...
Fixes #66974 .
2022-10-06 11:45:27 +02:00
Eric M
598ee4266c
Split action_map_editor
file into one file per class it contained.
...
* ActionMapEditor
* EventListenerLineEdit
* InputEventConfigurationDialog
2022-10-06 18:29:20 +10:00
Rémi Verschelde
f5903215d0
Merge pull request #61902 from Paulb23/multi-caret
...
Add Multi-caret support to TextEdit
2022-10-06 08:56:34 +02:00
Paulb23
0cbe176ce6
Add multi caret support to Editor
2022-10-05 17:19:26 +01:00
Rémi Verschelde
9bb05de89f
Add editor setting for AcceptDialog OK/Cancel buttons positioning
...
The position (left/right) of the Cancel and OK buttons in AcceptDialog
are DisplayServer specific, as Windows uses OK/Cancel and macOS uses Cancel/OK.
Linux/X11 currently uses the macOS convention which is also the GTK+/GNOME one,
though it's not consistent with Qt/KDE applications which follow the Windows
convention.
Since that can't satisfy everyone, it's best if it's configurable also for the
editor (it's already configurable for the project).
Fixes #59379 .
2022-10-05 17:51:04 +02:00
Rémi Verschelde
b4157cd6ac
Merge pull request #65857 from MinusKube/inherited-open-crash
...
Prevent unsaved inherited scenes from being detected as the 'placeholder' scene
2022-10-05 13:38:12 +02:00
Rémi Verschelde
9cd62741bb
Merge pull request #66839 from aaronfranke/editor-prop-hide-slider
...
Fix `hide_slider` vs `no_slider` inconsistency in editor property code
2022-10-05 08:47:06 +02:00
Rémi Verschelde
3a2b0ab73d
Merge pull request #66898 from aaronfranke/proj-mat-columns
...
Rename Projection `matrix` to `columns`
2022-10-05 08:35:26 +02:00
Rémi Verschelde
132a0e3242
Merge pull request #66770 from EricEzaM/search-by-event
...
Add searching by event in Editor Settings shortcuts and Project Settings input map.
2022-10-05 08:34:45 +02:00
Rémi Verschelde
b904789242
Merge pull request #66894 from KoBeWi/TileSetAtlasSourceEditor_on_vacation
...
Disconnect TileSet from source editor if no sources
2022-10-05 08:32:57 +02:00
Rémi Verschelde
121e1df55b
Merge pull request #66300 from KoBeWi/ 📝 🧭
...
Split script navigation state and edit state
2022-10-05 08:30:49 +02:00
kobewi
52435e6f90
Disconnect TileSet from source editor if no sources
2022-10-04 20:13:01 +02:00
Aaron Franke
2cea42cc7f
Rename Projection matrix
to columns
2022-10-04 12:34:19 -05:00
Rémi Verschelde
8f7cb50c9a
Merge pull request #65528 from Mickeon/rename-more-spatial-to-node-3d
...
Rename remaining "Spatial" in Plugins to "Node3D"
2022-10-04 16:47:08 +02:00
Rémi Verschelde
a140efbbeb
Merge pull request #65315 from Mickeon/editor-help-search-multi-term
...
Allow multiple words in Docs Help Search filter
2022-10-04 16:46:59 +02:00
Rémi Verschelde
4e66b0c8a7
Merge pull request #66384 from schme/66165-fix-shader-list-not-marking-shaders-as-saved
...
Fix Shader Editor not marking files saved
2022-10-04 16:43:43 +02:00
Micky
ae5771e1b1
Rename remaining "Spatial" in Plugins to "Node3D"
...
For EditorNode3DGizmo:
- `get_spatial_node` -> `get_node_3d`
- `set_spatial_node` -> `set_node_3d`
For EditorPlugin:
- `add_spatial_gizmo_plugin` -> `add_node_3d_gizmo_plugin`
- `remove_spatial_gizmo_plugin` -> `remove_node_3d_gizmo_plugin`
Also renames some internal methods for consistency (`forward_3d_draw_over_viewport` & `forward_3d_force_draw_over_viewport` ...). Basically, Spatial has been completely eradicated.
2022-10-04 16:27:29 +02:00
Micky
4465dd6e37
Allow multiple words in Docs Help Search filter
...
This is how most search filters behave.
Refactors the search's match_classes phase to reduce code duplication.
2022-10-04 16:14:01 +02:00
Yuri Rubinsky
8075adc650
Add ability to rename groups in the GroupsEditor
2022-10-04 15:27:45 +03:00
Rémi Verschelde
b909b0ebc9
Merge pull request #58744 from Sauermann/fix-new-node-recent-list
...
Fix creating Nodes by DoubleClick from Recent list
2022-10-04 11:20:03 +02:00
Kasper Sauramo
bedbb2e893
add explicit editor save tagging when saving
2022-10-04 11:49:32 +03:00
Rémi Verschelde
f36dda3185
Merge pull request #66867 from Rindbee/implement-willSaveWaitUntil
...
Implement `GDScriptTextDocument::willSaveWaitUntil` to clean up outdated documents before saving
2022-10-04 10:33:03 +02:00
Rémi Verschelde
b58f34372c
Merge pull request #66827 from Mickeon/now-you-see-me-now-you-dont
...
Fix selection applying to hidden Nodes when filtering Scene Tree Editor
2022-10-04 10:31:47 +02:00
Rémi Verschelde
3a5eac7ca3
Merge pull request #62860 from Calinou/editor-log-bold-italic-mono-fonts
...
Define bold, italics and mono fonts in editor log for `print_rich()`
2022-10-04 10:30:22 +02:00
Rémi Verschelde
163582de58
Merge pull request #62188 from MaeIsBad/MaeIsBad/master
...
Move "Create Debug Tangents" on MeshInstance3D into an editor plugin
2022-10-04 10:29:11 +02:00
Rémi Verschelde
cd7f172cf8
Merge pull request #66804 from akien-mga/core-remove-NO_SAFE_CAST
...
Remove unsupported `NO_SAFE_CAST`/`-fno-rtti` from Android build
2022-10-04 10:22:24 +02:00
Rindbee
ab0314938e
Implement GDScriptTextDocument::willSaveWaitUntil
to clean up outdated documents before saving
...
Implement `GDScriptTextDocument::willSaveWaitUntil` to clean up outdated documents before saving,
then update the document in `GDScriptTextDocument::didSave`.
2022-10-04 15:38:57 +08:00
kobewi
1a9516f6a8
Prevent infinite confirmation in shader editor
2022-10-04 00:28:06 +02:00
bad
a052ebaa99
Move "Create Debug Tangents" into an editor plugin
...
Instead of exporting the "create_debug_tangents" function via
METHOD_FLAG_EDITOR it gets executed by an editor plugin.
This moves it from the "Manage object properties" menu into a mesh menu. It also adds undo/redo functionality to the create debug tangents option.
2022-10-03 23:34:01 +02:00
Aaron Franke
094e8db97c
Fix hide_slider vs no_slider inconsistency in editor property code
2022-10-03 13:40:31 -05:00
Micky
c03377653e
Fix selection applying to hidden Nodes when filtering Scene Tree Editor
2022-10-03 18:28:43 +02:00
Rémi Verschelde
380fba6272
Merge pull request #66713 from KoBeWi/remembuh_me
...
Remember tile source sort between sessions
2022-10-03 14:52:56 +02:00
Rémi Verschelde
5b735d000e
Merge pull request #66815 from Rindbee/fix-blinking-line-gutter-icon
...
Fix the flickering of the line gutter icon when saving
2022-10-03 14:52:21 +02:00
Rémi Verschelde
7dea80d082
Merge pull request #66812 from Rindbee/fix-infinite-popups
...
Fix the file newer dialog that keeps popping up
2022-10-03 14:51:53 +02:00
Rémi Verschelde
5b47bb8446
Merge pull request #66662 from akien-mga/editorspinslider-fix-grabber-action-area
...
EditorSpinSlider: Make sure grabber doesn't get hidden during grabbing
2022-10-03 14:50:53 +02:00
Rindbee
72a7d874b4
Fix the flickering of the line gutter icon when saving
2022-10-03 19:19:28 +08:00
Rindbee
67e126bad4
Fix the file newer dialog that keeps popping up
...
The focus is switching back and forth between the popup dialog and
the editor window, causing an infinite loop.
Fix #65824 .
2022-10-03 18:48:58 +08:00
EricEzaM
cb6d7fd059
Add searching by event for Editor Settings shortcuts and Project Settings input map.
...
* Focus into the LineEdit, then perform input to search the list of events by the events assigned.
* New specialised editor-only control for this: EventListenerLineEdit. Line edit is a good candidate for such a control because you can focus it, override it's input handling, and show the event all in one control.
Update InputEventConfigurationDialog to use event listener line edit rather than the separate tabs.
* Cleaner look - no need for tabs.
* Simpler code.
2022-10-03 19:56:34 +10:00
Rémi Verschelde
82b87d7a17
Remove unsupported NO_SAFE_CAST
/-fno-rtti
from Android build
...
Android was the last platform to still attempt to disable RTTI (for binary
size), but both the Android editor and now the ICU library used by templates
need RTTI.
There could still be the possibility to support this for non-ICU template
builds (i.e. without the TextServerAdvanced module), but since this isn't one
of the build configurations we test regularly it's pretty risky to keep this
option only for that specific use case. And our code is already littered with
`dynamic_cast`s which weren't guarded with `!defined(NO_SAFE_CAST)`.
2022-10-03 11:18:31 +02:00
Rémi Verschelde
4e237ed9ef
Merge pull request #66795 from manueldun/loadSavedMaterial
...
fix error dialog from appearing after loading material res
2022-10-03 09:30:11 +02:00
Rémi Verschelde
498844f687
Merge pull request #65276 from aaronfranke/shader
...
Separate TextShaderEditor and ShaderEditorPlugin into different files
2022-10-03 09:24:51 +02:00
Rémi Verschelde
adee79d7b5
Merge pull request #66715 from YeldhamDev/script_hide_port
...
Remember scripts panel's visibility state
2022-10-03 09:22:58 +02:00
Rémi Verschelde
56918f25c8
Merge pull request #66689 from MewPurPur/property-editor-renames
...
Rename Copy/Paste Property –> Copy/Paste Value
2022-10-03 09:22:47 +02:00
Rémi Verschelde
f3e7f275c2
Merge pull request #66668 from Anutrix/allow-open-files
...
Fixed shader editor not allowing open files when there is no files already open
2022-10-03 09:20:38 +02:00
Rémi Verschelde
88f70dfacd
Merge pull request #66656 from magian1127/4.0DelAutotile
...
TileMap mouse right can delete autotile
2022-10-03 09:19:58 +02:00
Manuel Dun
e9d8847e29
fix error dialog from appearing after loading material res
2022-10-02 21:09:54 -04:00
kobewi
7247606f64
Remember tile source sort between sessions
2022-10-02 22:41:12 +02:00
Aaron Franke
252963166d
Separate TextShaderEditor and ShaderEditorPlugin into different files
2022-10-02 02:19:38 -05:00
Aaron Franke
38cb2f8afc
Rename ShaderEditor that edits text shaders to TextShaderEditor
2022-10-02 02:18:46 -05:00
Michael Alexsander
3f5086990a
Remember scripts panel's visibility state
2022-10-01 14:23:13 -03:00
Markus Sauermann
c8106ca317
Fix creating Nodes from Recent list
...
- give shorter search matches more weight
- allow matching against "Node"
2022-09-30 22:40:10 +02:00
Anutrix
119e1a2937
Fixed shader editor when no files are currently in shader list
2022-10-01 00:33:13 +05:30
Rémi Verschelde
e69b7083d4
Merge pull request #65903 from groud/improve_terrain_painting
...
Right-click to erase TileSet terrains and bugfixes
2022-09-30 17:44:48 +02:00
Rémi Verschelde
ef8834a642
Merge pull request #64784 from yedpodtrzitko/yed/ci-add-mypy
...
ci: add Python static analysis check via mypy
2022-09-30 17:44:39 +02:00
VolTer
cb310a229b
Rename Copy Property –> Copy Value
2022-09-30 16:44:27 +02:00
Magian
7e30343a5c
TileMap mouse right can delete autotile
2022-09-30 21:15:15 +08:00
DNKpp
1dd75ef660
EditorSpinSlider: Make sure grabber doesn't get hidden during grabbing
...
Fixes #63544 .
2022-09-30 14:34:10 +02:00
Rémi Verschelde
166df0896c
Fix typos with codespell
...
Using codespell 2.3-dev from current git.
And fix typo in `methods.py` for `vsproj=yes` option (still won't work
though).
2022-09-30 14:23:36 +02:00
Jiri Suchan
c5bd2f9dce
ci: add Python static analysis check via mypy
2022-09-30 19:03:17 +07:00
Rémi Verschelde
f47979f087
Merge pull request #66242 from akien-mga/scons-unify-tools-target
2022-09-30 12:28:50 +02:00
Rémi Verschelde
fe9f056623
Merge pull request #66640 from gotnospirit/master-project_converter-json-print
...
Project converter: JSON.print -> JSON.stringify
2022-09-30 09:59:04 +02:00
Rémi Verschelde
d0cc7cf192
Merge pull request #66636 from gotnospirit/master-project_converter-os-get_datetime
...
Project converter: OS.get_datetime -> Time.get_datetime_dict_from_system
2022-09-30 09:58:40 +02:00
Rémi Verschelde
4c73e8ba1a
Merge pull request #66632 from RedMser/script-override-gutter-docs-fix
...
Fix wrong docs opening in script override gutter
2022-09-30 09:58:30 +02:00
Rémi Verschelde
7a0500d9a3
Merge pull request #66626 from danboo/fix-typo-run-debug-collisons
...
Fix typos - "collison" -> "collision"
2022-09-30 09:58:25 +02:00
James
c8132ee279
Project converter: JSON.print -> JSON.stringify
2022-09-30 10:30:42 +08:00
James
6ec19b3681
Project converter: OS.get_datetime -> Time.get_datetime_dict_from_system
2022-09-30 10:10:16 +08:00
RedMser
dc3990fea4
Fix wrong docs opening in script override gutter
2022-09-30 02:11:52 +02:00
danboo
eba8be6e45
Fix typo - "collison" -> "collision"
2022-09-29 13:56:26 -08:00
Rémi Verschelde
176da47ffd
Merge pull request #66590 from akien-mga/animation-workaround-disable-onion-skinning
...
Animation editor: Disable onion skinning temporarily due to rendering bug
2022-09-29 15:34:02 +02:00
Rémi Verschelde
a593c45f1c
Merge pull request #66575 from MewPurPur/indent-dedent-in-scriptedit
...
Rename Indent Left/Right options in the Script Editor to Indent/Unindent
2022-09-29 15:33:55 +02:00
VolTer
ded10214bf
Rename Indent Left/Right to Indent/Dedent
2022-09-29 14:42:46 +02:00
Rémi Verschelde
6bbc3cbf04
Animation editor: Disable onion skinning temporarily due to rendering bug
...
Works around #53870 .
2022-09-29 12:23:13 +02:00
Rémi Verschelde
315a71103e
Merge pull request #66565 from clayjohn/canvas-lights
...
Clean up canvas light shader API.
2022-09-29 10:43:42 +02:00
MisterMX
b6c1a03d6c
fix(tileset): Recreate custom data editor if type has changed
...
Signed-off-by: MisterMX <mbxd12@web.de>
2022-09-28 21:16:41 +02:00
clayjohn
1a0890122f
Clean up canvas light shader API.
...
Expose LIGHT_ENERGY and LIGHT_IS_DIRECTIONAL.
Add LIGHT_DIRECTION
2022-09-28 11:46:58 -07:00
Rémi Verschelde
0e53dd642c
Fix MSVC warning C4706: assignment within conditional expression
...
Part of #66537 .
2022-09-28 16:05:07 +02:00
Rémi Verschelde
73f5683c34
Merge pull request #58049 from jmb462/fix-distraction-mode-docks-tab
...
Prevent docks to be reset to first tab when switching dock visibility
2022-09-28 00:16:08 +02:00
Rémi Verschelde
fdb2456ccb
i18n: Sync editor translations with Weblate (3.5 branch)
...
(cherry picked from commit 7ee90a080f
)
2022-09-27 23:51:05 +02:00
Rémi Verschelde
c2f66648f1
Merge pull request #66244 from GuilhermeGSousa/tilemap-dock-release-fix
...
Fix mouse release leaving dock area
2022-09-27 15:52:11 +02:00
Guilherme Sousa
1ae1a02098
Fix mouse release leaving dock area
2022-09-27 13:35:01 +02:00
kobewi
1bf741c277
Fix wrong DirAccess function in project converter
2022-09-27 13:12:31 +02:00
Rémi Verschelde
43eac58e31
Merge pull request #66441 from Calinou/editor-fix-play-buttons-disappearing
...
Fix project run/stop buttons disappearing in the editor
2022-09-27 09:53:44 +02:00
Yuri Rubinsky
84f2c68c84
Merge pull request #66440 from Chaosus/shader_completion_defines
2022-09-26 18:18:24 +03:00
Rémi Verschelde
39facb35a0
SCons: Unify tools/target build type configuration
...
Implements https://github.com/godotengine/godot-proposals/issues/3371 .
New `target` presets
====================
The `tools` option is removed and `target` changes to use three new presets,
which match the builds users are familiar with. These targets control the
default optimization level and enable editor-specific and debugging code:
- `editor`: Replaces `tools=yes target=release_debug`.
* Defines: `TOOLS_ENABLED`, `DEBUG_ENABLED`, `-O2`/`/O2`
- `template_debug`: Replaces `tools=no target=release_debug`.
* Defines: `DEBUG_ENABLED`, `-O2`/`/O2`
- `template_release`: Replaces `tools=no target=release`.
* Defines: `-O3`/`/O2`
New `dev_build` option
======================
The previous `target=debug` is now replaced by a separate `dev_build=yes`
option, which can be used in combination with either of the three targets,
and changes the following:
- `dev_build`: Defines `DEV_ENABLED`, disables optimization (`-O0`/`/0d`),
enables generating debug symbols, does not define `NDEBUG` so `assert()`
works in thirdparty libraries, adds a `.dev` suffix to the binary name.
Note: Unlike previously, `dev_build` defaults to off so that users who
compile Godot from source get an optimized and small build by default.
Engine contributors should now set `dev_build=yes` in their build scripts or
IDE configuration manually.
Changed binary names
====================
The name of generated binaries and object files are changed too, to follow
this format:
`godot.<platform>.<target>[.dev][.double].<arch>[.<extra_suffix>][.<ext>]`
For example:
- `godot.linuxbsd.editor.dev.arm64`
- `godot.windows.template_release.double.x86_64.mono.exe`
Be sure to update your links/scripts/IDE config accordingly.
More flexible `optimize` and `debug_symbols` options
====================================================
The optimization level and whether to generate debug symbols can be further
specified with the `optimize` and `debug_symbols` options. So the default
values listed above for the various `target` and `dev_build` combinations
are indicative and can be replaced when compiling, e.g.:
`scons p=linuxbsd target=template_debug dev_build=yes optimize=debug`
will make a "debug" export template with dev-only code enabled, `-Og`
optimization level for GCC/Clang, and debug symbols. Perfect for debugging
complex crashes at runtime in an exported project.
2022-09-26 16:31:46 +02:00
Rémi Verschelde
59f6233075
Merge pull request #66416 from MewPurPur/dependency-editor-improvements
...
Add ability to open multiple scenes in the Dependency Editor
2022-09-26 15:51:07 +02:00
Rémi Verschelde
1e14795f75
Merge pull request #66382 from MewPurPur/replace-in-files-forever
...
Make Replace in Files always visible in Search
2022-09-26 15:51:01 +02:00
Rémi Verschelde
46635342a1
Merge pull request #66309 from RedMser/focus-search-bar-scene-tree-dialog
...
focus search bar by default
2022-09-26 15:50:52 +02:00
Yuri Rubinsky
344aa610e3
Add defines to completion list in shaders
2022-09-26 16:04:19 +03:00
Hugo Locurcio
a98e2eb36f
Fix project run/stop buttons disappearing in the editor
2022-09-26 14:53:26 +02:00
Rémi Verschelde
49fcf4ffad
Style: Cleanup header guards for consistency
...
Fix file names for {Static,Lightmap}RaycasterEmbree.
2022-09-26 13:51:17 +02:00
Rémi Verschelde
94d511f43b
Merge pull request #64756 from Calinou/editor-rename-run-project-shortcuts
...
Rename editor run/pause/stop shortcuts and tooltips for consistency
2022-09-26 08:20:26 +02:00
Rémi Verschelde
c380c30c7f
Merge pull request #66404 from KoBeWi/advancement
...
Remember advanced state of connection dialog
2022-09-26 08:20:12 +02:00
Rémi Verschelde
e406badafd
Merge pull request #66405 from Rindbee/fix-gd-not-sync-via-lsp
...
Fix out of sync when the script is edited externally via lsp
2022-09-26 08:20:04 +02:00
kobewi
14435ebcee
Split script navigation state and edit state
2022-09-25 23:06:39 +02:00
VolTer
8b6ce982db
Add ability to open multiple scenes in the Dependency Editor
2022-09-25 22:20:16 +02:00
kobewi
bb458d82ea
Remember advanced state of connection dialog
2022-09-25 20:22:44 +02:00
Hugo Locurcio
74b324c434
Rename editor run/pause/stop shortcuts and tooltips for consistency
...
The new naming better suits non-game applications and is more explicit.
2022-09-25 20:17:58 +02:00
Rindbee
412e87349a
Fix out of sync when the script is edited externally via lsp
...
Previously, external editing via lsp would modify the modified time of the script,
which caused the internal display of the script to not be refreshed when refocusing
the engine.
Now saving the script externally via lsp will automatically refresh the internal
display.
2022-09-25 23:30:35 +08:00
Rémi Verschelde
d456dce8af
Merge pull request #65535 from RedMser/script-editor-inheritance-icon
...
Show override icon in script editor gutter
2022-09-25 17:08:45 +02:00
Rémi Verschelde
eae7d27578
Merge pull request #66233 from DorianSzlachcic/3-to-4-converter-issue
...
Prevent 3-to-4 project converter from adding extra line for move_and_slide
2022-09-25 17:05:47 +02:00
DorianSzlachcic
bf6d84b8bb
Prevent 3-to-4 project converter from adding extra line for move_and_slide
...
Fixes #66054
2022-09-25 11:54:33 +02:00
Rémi Verschelde
919d8b3711
Merge pull request #65290 from requizm/fix/65081/cannot_set_escape
...
Disabled "Escape" button when closing the shortcut window
2022-09-25 11:06:18 +02:00
Rémi Verschelde
a5b538bdb2
Merge pull request #66289 from Rindbee/fix-scene-export
...
Fix sub-scene root nodes not getting the correct inheritance chain when exporting
2022-09-25 11:04:45 +02:00
VolTer
882a226d12
Make Replace in Files always visible in Search
2022-09-25 02:49:53 +02:00
Rémi Verschelde
632dbab226
Merge pull request #66338 from asmaloney/some-include-cleanups
...
Remove unused includes & move some includes to top of file
2022-09-25 00:22:17 +02:00
Rémi Verschelde
c9e75a7c3c
Merge pull request #65531 from Mickeon/project-converter-missing-entries
...
Add a few missing entries in Project Converter
2022-09-25 00:22:00 +02:00
Eric M
16a3cec71e
Fix zoom in/out keyboard shortcuts not working since the introduction of EditorZoomWidget. Add KP shortcuts to zoom in/out.
2022-09-24 18:24:59 +10:00
Eric M
2eda77c682
Ensure all checks of is_action
in the editor which are for 'shortcut' use, check the action exactly.
2022-09-24 18:01:02 +10:00
Andy Maloney
49ff3d5489
Remove unused includes & move some includes to top of file
2022-09-23 19:06:31 -04:00
Silc Renew
86e52667a9
Change bone mapper background model silhouette
2022-09-24 01:05:30 +09:00
RedMser
3183b7371d
SceneTreeDialog: focus search bar by default
2022-09-23 18:04:48 +02:00
Rindbee
6973abd458
Fix sub-scene root nodes not getting the correct inheritance chain when exporting
2022-09-23 18:34:07 +08:00
Rémi Verschelde
3a8e711e33
Merge pull request #66254 from bruvzg/macos_title
...
[macOS extend-to-title] Add scene/project name to the editor title, and fix window button placement.
2022-09-23 09:44:37 +02:00
Rémi Verschelde
ca88b23a3b
Merge pull request #66248 from akien-mga/warnings-gcc-Wmaybe-uninitialized
...
Fix various -Wmaybe-uninitialized warnings from GCC 12.2.1
2022-09-23 09:42:53 +02:00
bruvzg
0dab11afa4
[macOS extend-to-title] Add scene/project name to the editor title, fix incorrect window button position/order when system primary language is RTL.
2022-09-22 23:09:56 +03:00
Nong Van Tinh
59f933b0e1
Fixed root name invalid at scene creation.
2022-09-22 17:02:07 +07:00
Rémi Verschelde
d1a155e3cd
Fix various -Wmaybe-uninitialized warnings from GCC 12.2.1
...
Not sure why I didn't get those before, it may be due to upstream
changes (12.2.1 is a moving target, it's basically 12.3-dev), or simply
rebuilding Godot from scratch with different options.
2022-09-22 11:29:48 +02:00
Rémi Verschelde
6d6f7f3de8
Merge pull request #66240 from bruvzg/ftr_hide
...
[Font Inspector Plugin] Hide "Add Feature" button if supported feature list is empty.
2022-09-22 08:27:18 +02:00
bruvzg
4351af30c8
[Font Inspector Plugin] Hide "Add Feature" button if supported feature list is empty.
2022-09-22 08:20:40 +03:00
kobewi
3a2abf7486
Automatically use class name for empty renames
2022-09-22 00:43:38 +02:00
Micky
c1b5b68eee
Rename remaining "*_enable" to "*_enabled"
...
Material.`proximity_fade_enable` -> `proximity_fade_enabled`
Material.`set_proximity_fade` -> `set_proximity_fade_enabled`
(Material.`is_proximity_fade_enabled` is unchanged)
Area3D.`reverb_bus_enable` -> `reverb_bus_enabled`
(`set_use_reverb_bus` & `is_using_reverb_bus` are unchanged)
RDPipelineRasterizationState:
`depth_bias_enable` -> `depth_bias_enabled`
`set_depth_bias_enable` -> `set_depth_bias_enabled`
`get_depth_bias_enable` -> `get_depth_bias_enabled`
Bonus:
Area3D.`set_reverb_bus` -> `set_reverb_bus_name`
Area3D.`get_reverb_bus` -> `set_get_reverb_bus_name`
2022-09-21 22:47:46 +02:00
Rémi Verschelde
0b06f8b0bd
Merge pull request #65816 from bruvzg/proj_settings_missing_flags
...
Add missing initial window flags and window mode to the project settings.
2022-09-21 18:56:31 +02:00
Rémi Verschelde
f37143b20a
Merge pull request #65933 from Mickeon/remove-scene-tree-dock-unused
...
Remove unused `import_subscene()` in Scene Tree Dock
2022-09-21 18:55:39 +02:00
Rémi Verschelde
e82a237f99
Merge pull request #65934 from YuriSizov/editor-theme-big-thumb
...
Improve icon generation in the editor theme
2022-09-21 18:55:33 +02:00
Rémi Verschelde
f3373e8311
Merge pull request #66212 from kleonc/script-text-editor-fix-check-if-script-used-within-scene
...
`ScriptTextEditor` Fix checking if script is attached to any node belonging to scene
2022-09-21 18:55:18 +02:00
Rémi Verschelde
7817a472f3
QuickOpen: Disable loading resources for now, too slow
...
As expected while reviewing #62417 this is indeed not practical
without a better system to retrieve this information.
Fixes #66179 .
2022-09-21 17:02:43 +02:00
kleonc
7f7966e10a
Fix checking if script is attached to any node belonging to scene
2022-09-21 15:46:30 +02:00
Rémi Verschelde
53d2a9acdd
Merge pull request #63576 from KoBeWi/list_clicker
...
Simplify script list click logic
2022-09-21 15:38:41 +02:00
Rémi Verschelde
a1d7404efc
Merge pull request #66056 from Rindbee/fix-EditorInspectorCategory-minimum-size-calculation
...
Fix `EditorInspectorCategory` minimum size calculation
2022-09-21 15:36:55 +02:00
Rémi Verschelde
057dd292e4
Merge pull request #62666 from AThousandShips/tree_folding
...
Tree recursive folding (like Scene Tree Dock)
2022-09-21 15:36:43 +02:00
Rindbee
e9465825cd
Fix EditorInspectorCategory minimum size calculation
...
Calculated using the same theme property values as in `NOTIFICATION_DRAW`, keeping the width at `0` and calculating only the height.
2022-09-21 19:56:19 +08:00
Ninni Pipping
df9eaf5f47
Tree recursive folding
2022-09-21 13:28:29 +02:00
Rémi Verschelde
74765691cb
Merge pull request #66191 from MewPurPur/fix-dragndrop-crash-when-scene-closed
...
Fix possible crash when drag and dropping nodes
2022-09-21 13:26:16 +02:00
Rémi Verschelde
7bf61e3912
Merge pull request #64359 from Mickeon/rename-camera-rotating
...
Reverse Camera2D.`rotating` to `ignore_rotation`
2022-09-21 11:06:41 +02:00
Rémi Verschelde
aa6d2b58af
Merge pull request #60478 from KoBeWi/compect_dialog
...
Reorganize connection dialog
2022-09-21 11:05:04 +02:00
VolTer
bdff928f6d
Fix crash with drag and dropping nodes
2022-09-21 03:08:54 +02:00
Micky
ee16de583f
Reverse Camera2D.rotating
to ignore_rotation
...
`rotating` is misleading, as Camera2D is affected by `rotation` and `global_rotation` like any other Node2D
Updates description in the docs, as well.
2022-09-21 01:52:12 +02:00
RedMser
a9b394d5bc
Show method override icon in script editor gutter
...
Combines with the connection slot icon when both apply.
Can be clicked to jump to the method declaration (or documentation for
built-in classes).
2022-09-21 01:49:54 +02:00
Rémi Verschelde
1a0943e0f8
Merge pull request #65957 from EricEzaM/GH-65956-fix-ed-shortcut-section-order
...
Update Editor Shortcuts tree creation to always have sections in same order
2022-09-21 00:00:45 +02:00
Rémi Verschelde
658bfb0395
Merge pull request #66159 from MewPurPur/fix-animated-tiles-offset-unit
...
Remove px unit from animation_separation in TileSet atlas editor
2022-09-20 15:45:41 +02:00
VolTer
6a1d1f1f75
Remove px unit from animation_separation in TileSet atlas editor (as it's tile-based, not pixel-based)
2022-09-20 15:04:26 +02:00
RedMser
0a5cbca803
Run svgcleaner on MemberAnnotation.svg
2022-09-20 15:00:21 +02:00
Hugo Locurcio
375ea5558a
Fix error string referring to invalid metadata name in Movie Maker dialog
2022-09-20 14:53:19 +02:00
bruvzg
0ed4cc6287
[macOS] Add an option to align window buttons in "extend to title" mode.
2022-09-20 12:55:59 +03:00
Rémi Verschelde
7da532275b
Merge pull request #65541 from clayjohn/renderer-setting
...
Split rendering driver project setting into renderer_name and rendering_driver
2022-09-20 09:43:59 +02:00
Rémi Verschelde
7a4faba136
Merge pull request #66127 from RedMser/vs-cleanup
...
Further cleanup of VisualScript references
2022-09-20 08:41:47 +02:00
Rémi Verschelde
a293f2204c
Merge pull request #65134 from Mickeon/editor-unique-name-toggle
...
Make "Access as Unique Name" a shortcut
2022-09-19 22:03:00 +02:00
Rémi Verschelde
82961dda3d
Merge pull request #66108 from Zylann/editor_inspector_get_selected_path
...
Expose `EditorInspector.get_selected_path`
2022-09-19 22:01:32 +02:00
RedMser
5c5c3ab90e
Further cleanup of VisualScript references
2022-09-19 21:37:26 +02:00
clayjohn
4a1c7de57c
Split rendering driver project setting into renderer_name and rendering_driver. To differentiate between a driver (e.g. Vulkan or D3D12) and a renderer (e.g. clustered or mobile renderer).
2022-09-19 10:26:10 -07:00
kobewi
36fd92ff58
Reorganize connection dialog
2022-09-19 18:39:10 +02:00
Micky
f7231b67e1
Make "Access as Unique Name" a shortcut
...
The shortcut's name is "scene_tree/toggle_unique_name", not mapped to anything by default.
It also dynamically changes the text based on whether or not the unique name is going to be enabled or disabled.
Finally, it spaces the shortcut in the menu close to "Copy Node Path" if possible.
2022-09-19 17:16:50 +02:00
Marc Gilleron
cee8bd9e76
Expose EditorInspector.get_selected_path
2022-09-19 15:20:34 +01:00
Rémi Verschelde
6f5704d86f
Merge pull request #65630 from aaronfranke/no-defer-ste-warn-ch
...
_warning_changed` signal connection
2022-09-19 15:43:23 +02:00
Rémi Verschelde
ec60c4ee9e
Merge pull request #65271 from KoBeWi/FirAccess 🌲
...
Replace File/Directory with FileAccess/DirAccess
2022-09-19 15:33:24 +02:00
Rémi Verschelde
166ab6e80e
Merge pull request #66101 from KoBeWi/help,_it_crashed
...
Fix possible crash in editor help
2022-09-19 15:32:34 +02:00
Rémi Verschelde
d4f8418582
Merge pull request #66080 from Zylann/editor_property_set_read_only
...
Expose `EditorProperty._set_read_only` virtual method
2022-09-19 15:32:16 +02:00
Rémi Verschelde
aa42b4f0cb
Merge pull request #65995 from MinusKube/tileset-size-bug
...
Fix atlas view drawing roots having zoom applied twice
2022-09-19 15:32:01 +02:00
kobewi
1eda8c2432
Fix possible crash in editor help
2022-09-19 13:26:50 +02:00
Marc Gilleron
056a418862
Expose EditorProperty._set_read_only
virtual method
2022-09-19 11:56:49 +01:00
bruvzg
d104a4cdbd
Add missing initial window flags and window mode to the project settings.
2022-09-19 12:30:10 +03:00
kobewi
9f2dc68279
Replace File/Directory with FileAccess/DirAccess
2022-09-19 11:03:31 +02:00
kobewi
b3997191d8
Change UndoRedo to use Callables
2022-09-18 23:52:50 +02:00
Yuri Rubinsky
908795301b
Merge pull request #66040 from jeffres/fix-closing-shader-file-with-middle-mouse-click
2022-09-18 22:26:15 +03:00
Rémi Verschelde
e5594c26b1
Merge pull request #44143 from KoBeWi/callable_multiplayer
2022-09-18 13:47:04 +02:00
jeffres
b9d9528c45
Close shader under cursor when middle mouse clicking in editor list
...
Previously middle mouse clicking resulted in the currently selected
file to be closed, which is not the behavior commonly expected.
2022-09-18 13:25:13 +02:00
Tomasz Chabora
882a4f8906
Port remaining connections to callable_mp
2022-09-18 13:08:54 +02:00
Rémi Verschelde
7a0a3fea94
Merge pull request #62417 from willnationsdev/gdres-quickopen
...
Enable QuickOpen to see scripted resources
2022-09-18 10:53:53 +02:00
Rémi Verschelde
469eb3dfd7
Merge pull request #62413 from willnationsdev/gdres-inspector
...
Script-class-aware Inspector & related controls.
2022-09-18 10:53:47 +02:00
Rémi Verschelde
58e5863f9a
Merge pull request #66031 from qarmin/compile_regex_editor
...
Add missing constructor, to compile editor without regex module
2022-09-18 10:52:45 +02:00
Rémi Verschelde
c6e5c76536
Merge pull request #65561 from ryburnj/inconsistent-cap-scene-file-name
...
Fix inconsistent scene file name casing
2022-09-18 10:49:00 +02:00
Rafał Mikrut
4e7cf3d919
Add missing constructor, to compile editor without regex module
2022-09-18 08:16:36 +02:00
willnationsdev
cc5a736c0b
Enable QuickOpen to see scripted resources.
2022-09-17 20:35:58 -05:00
ryburnj
9d6af9323a
Fix inconsistent scene file name casing by moving existing Name_Casing code to separate function in editor_node, and adding a call from both editor_node and scene_tree_dock.
2022-09-18 11:17:22 +10:00
willnationsdev
d32f2700ff
Script-class-aware Inspector & related controls.
2022-09-17 18:34:57 -05:00
Rémi Verschelde
24115beb3c
Merge pull request #66000 from KoBeWi/clear_'_clear_undo_history'
...
Remove unused `_clear_undo_history` method
2022-09-18 00:43:54 +02:00
Rémi Verschelde
09d1ebb7ae
Merge pull request #66004 from bruvzg/hb52
...
Update to version 5.2.0, add new Unicode 15 blocks and scripts.
2022-09-18 00:43:49 +02:00
Rémi Verschelde
519191d2f1
Merge pull request #65900 from YuriSizov/editor-animation-loopity-loops-loop
...
Fix loop mode button update in the Animation editor
2022-09-18 00:40:35 +02:00
Rémi Verschelde
f9e4785e48
Merge pull request #65911 from EliasVincent/light-theme-palette-text-fix
...
color of Command Palette shortcut text not visible in Light theme
2022-09-18 00:40:06 +02:00
bruvzg
ec8084d87f
HarfBuzz: Update to version 5.2.0, add new Unicode 15 blocks and scripts.
2022-09-17 23:19:11 +03:00
kobewi
6cec00b099
Remove unused _clear_undo_history method
2022-09-17 21:03:04 +02:00
MinusKube
0ff2020bd4
Fix atlas view drawing roots having zoom applied twice
2022-09-17 19:07:56 +02:00
jeffres
1c98f03784
Fix selected shader file not being highlighted in shader editor list
2022-09-17 17:49:51 +02:00
Micky
eb0cc08a23
Rename AudioStreamPlayer3D's unit_db
to volume_db
...
AudioStreamPlayer3D.`unit_db` -> `volume_db`
Now matches the same name AudioStreamPlayer and AudioStreamPlayer2D use.
2022-09-17 16:06:30 +02:00
Eric M
722378479d
Update Editor Shortcuts tree creation to always have sections in same order.
2022-09-17 11:41:15 +10:00
SaracenOne
6a8fbf3d25
Fix animation change callbacks
2022-09-16 14:04:24 -07:00
Yuri Sizov
02572f2c62
Improve icon generation in the editor theme
2022-09-16 23:34:01 +03:00
Micky
976ec5f94a
Remove unused import_subscene()
in Scene Tree Dock
2022-09-16 22:30:39 +02:00
EliasVincent
52a4327c47
Command Palette shortcut_text: font color
2022-09-16 17:35:57 +02:00
Gilles Roudière
68ffa9a2a1
Right-click to erase TileSet terrains and bugfixes
2022-09-16 15:22:55 +02:00
Yuri Sizov
5676341864
Fix loop mode button update in the Animation editor
2022-09-16 16:19:53 +03:00
Rémi Verschelde
3546add9b3
Merge pull request #60786 from Rindbee/update-editor-property-status
...
Update checked based on the variant type of the value
2022-09-16 09:24:10 +02:00
Rémi Verschelde
37146763b1
Merge pull request #65868 from timothyqiu/metadata-crash
...
Fix crash open opening Add Metadata dialog
2022-09-16 09:24:02 +02:00
Rémi Verschelde
18ad00b44c
Merge pull request #65846 from clayjohn/mem-leak
...
Free preview sun and environement on editor close
2022-09-16 09:23:54 +02:00
Rémi Verschelde
14c602f032
Merge pull request #65854 from YeldhamDev/add_element_fix
...
Fix empty text in the add button when editing nodes with items
2022-09-16 09:22:36 +02:00
Rémi Verschelde
a981a8061f
Merge pull request #65325 from TokageItLab/refactor-variant-for-anim
...
Move some static methods to `Animation` from `Variant` for refactoring `Animation` and `Tween`
2022-09-16 09:20:50 +02:00
clayjohn
969f20656a
Free preview sun and environement on editor close.
...
Previously, they would only be freed if they were in the editor node tree.
2022-09-15 20:45:19 -07:00
Haoyu Qiu
372e4cfd49
Fix crash open opening Add Metadata dialog
2022-09-16 11:28:09 +08:00
Michael Alexsander
2f016c521f
Fix empty text in the add button when editing nodes with items
2022-09-15 22:01:52 -03:00
MinusKube
5f8293db54
Prevent unsaved inherited scenes from being detected as the 'placeholder' scene
2022-09-16 02:09:54 +02:00
Rindbee
9066d55763
Update checked based on the variant type of the value
...
In `EditorProperty::update_revert_and_pin_status`, if `checkable` is `true`, update `checked` based on the variant type of the value, and rename the function as `EditorProperty::update_editor_property_status`.
**Known problems:**
1. Unable to check Checkbox for properties of type `Object` when it is unchecked. This is probably because during value store/fetch, the `nullptr` (variant type is `Variant::OBJECT`) eventually becomes `Variant()` (variant type is `Variant::NIL`).
2. For theme overrides, click the revert icon will uncheck the Checkbox. This is probably because `EditorPropertyRevert::get_property_revert_value` returns `Variant()`.
2022-09-16 07:22:50 +08:00
Aaron Franke
2be9ef507a
Remove unused abort_scan
variable
2022-09-15 14:23:38 -05:00
Rémi Verschelde
76b41bde3c
Merge pull request #65830 from EricEzaM/fix-shortcut-crash
...
Check TreeItem for nullptr before accessing.
2022-09-15 20:12:18 +02:00
Rémi Verschelde
78a9a3de69
Merge pull request #62903 from Rindbee/fix-property-link-not-work-in-MultiNodeEdit
...
Set the changed field to empty (meaning all) if the link button is pressed
2022-09-15 20:12:12 +02:00
Rémi Verschelde
80802d2718
Merge pull request #65196 from TokageItLab/fix-redraw-anim-tree
...
Fix redraw timing in `AnimationBlendTreeEditor`
2022-09-15 20:11:36 +02:00
kobewi
6f80ffeddd
Fix extending scripts by path
2022-09-15 17:44:27 +02:00
Eric M
badea350ac
Check TreeItem for nullptr before accessing.
2022-09-15 23:50:52 +10:00
Rémi Verschelde
51082d6e47
Merge pull request #65806 from akien-mga/pm-improve-conversion-dialog
...
Clarify text in project conversion dialogs
2022-09-15 01:43:09 +02:00
Rémi Verschelde
e7ce3f539e
Project Manager: Clarify text in project conversion dialogs
...
Let the cancel button grab focus to prevent any accident.
Make the full project conversion respect OS specific ok/cancel
positions.
Improve popup sizing and wrapping a bit.
2022-09-15 01:38:26 +02:00
Lyuma
033abdc59f
2D and 3D Skeleton modification docs, and small fixes.
...
Mark SkeletonModificationStack3D and related as deprecated.
Mark local bone override and axis functions deprecated in Skeleton3D api.
Fix array property glitch in SkeletonModificationStack2D
Mark SkeletonModificationStack2D and related APIs as experimental. Mark SkeletonIK3D as deprecated.
2022-09-14 15:07:45 -07:00
Silc Renew
9d47e079b7
Move some methods to Animation from Variant for refactoring
2022-09-15 04:52:43 +09:00
Rémi Verschelde
89840b75c9
Merge pull request #65430 from SaracenOne/read_only_array
...
Add read-only mode to inspector array and dictionary viewer.
2022-09-14 17:43:49 +02:00
Rémi Verschelde
bbed0b43f7
Merge pull request #65774 from bruvzg/no_mono_hinting
...
Do not use horizontal hinting for the editor monospace font.
2022-09-14 17:42:58 +02:00
Rémi Verschelde
85cd6960c6
Merge pull request #65494 from V-Sekai/fix_inspect_command_context
2022-09-14 14:44:03 +02:00
Rémi Verschelde
50a6905f2d
Merge pull request #65421 from V-Sekai/spriteframes_read_only
2022-09-14 14:42:18 +02:00
Silc Renew
cff95e54e0
Fix redraw timing in AnimationBlendTreeEditor
2022-09-14 21:05:21 +09:00
bruvzg
e94ac75d3d
Do not use horizontal hinting for the editor monospace font.
2022-09-14 11:05:09 +03:00
Rémi Verschelde
d9e974cdb0
Merge pull request #65493 from V-Sekai/lod_scaling
...
Fixes LOD scaling issues on skinned meshes.
2022-09-14 09:57:02 +02:00
Fredia Huya-Kouadio
9d5e48f873
Disable menus and functionality that are not relevant on the Android Editor port
2022-09-13 20:48:33 -07:00
SaracenOne
13f5c62124
Fix LOD-generation on skinned meshes.
2022-09-14 02:46:10 +01:00
Rémi Verschelde
2d9583fa3b
Merge pull request #65490 from halgriffiths/profiler-fix
...
Fix broken profiler in 4.0
2022-09-14 00:04:56 +02:00
kobewi
ae2d07d4ca
Don't print error on empty actions
2022-09-13 19:36:22 +02:00
halgriffiths
026e0811b9
Fix profiler being disabled at wrong times
...
Co-authored by: Will Whitty <tavurth@gmail.com>
2022-09-13 10:21:11 +01:00
Rémi Verschelde
abdaa6da3d
Merge pull request #65621 from KoBeWi/eternal_pattern
...
Fix broken patterns on TileMap layer change
2022-09-13 10:58:29 +02:00
Rémi Verschelde
ecefae22cb
Merge pull request #65624 from KoBeWi/help_I'm_stuck
...
Prevent infinite loops in editor help search
2022-09-13 10:58:25 +02:00
Rémi Verschelde
2ac8bcdd1a
Merge pull request #65632 from YeldhamDev/thin_editors
...
Shrink shader editor's oversized borders
2022-09-13 10:58:09 +02:00
Rémi Verschelde
ed381078a4
Merge pull request #65651 from dzil123/animation_tree_node_rename
2022-09-13 10:42:49 +02:00
Rémi Verschelde
78042ce235
Merge pull request #64927 from KoBeWi/three2four
2022-09-13 10:39:15 +02:00
Rémi Verschelde
f9b4af4ba5
Merge pull request #65708 from akien-mga/vcs-plugin-ssh-key-HOME
2022-09-13 10:35:27 +02:00
Rémi Verschelde
2092858087
Merge pull request #65679 from Calinou/3d-editor-improve-preview-sun-sky-usability
2022-09-13 10:32:47 +02:00
Yuri Rubinsky
d2ba60b4b5
Fix category of view_index inputs in the visual shader editor
2022-09-13 10:06:34 +03:00
Rémi Verschelde
f8ec046b14
Merge pull request #65704 from akien-mga/web-editor-fix-some-errors
...
Fix some errors affecting the Web editor
2022-09-13 08:31:59 +02:00
Nathan Franke
020b8e6c68
project manager language OptionButton fit to longest item
2022-09-12 19:59:16 -05:00
kobewi
305d407dad
Add option to convert project from Project Manager
2022-09-12 18:31:03 +02:00
Rémi Verschelde
fc227ea919
VCS plugin: SSH key dialog defaults to HOME
...
Fixes #65691 .
2022-09-12 17:03:20 +02:00
Rémi Verschelde
1513d76cb9
Fix some errors affecting the Web editor
...
- Don't warn about minimized/maximized modes not being available.
- Blender and FBX export both depend on running thirdparty applications,
which can't be done (easily at least) for Web and Android editors.
- Editor theme complained about not being able to retrieve texture data
for an icon. It was only used once so instead of flipping at runtime,
let's just add a flipped icon.
Part of #65702 .
2022-09-12 16:29:45 +02:00
Hugo Locurcio
598b5b19ac
Improve 3D editor preview sun and sky usability
...
- Use grayscale icons to look better when pressed (with accent color
modulation).
- Invert state to be more logical (pressed = preview is enabled, not disabled).
2022-09-12 03:58:29 +02:00
dzil123
f9bee90994
Ignore node rename if already exited blend tree
2022-09-11 02:33:59 -07:00
SaracenOne
cc4bda8500
Add ability to flag classes as experimental or deprecated.
2022-09-11 00:11:33 +01:00
Michael Alexsander
c2553f530b
Shrink shader editor's oversized borders
2022-09-10 17:58:31 -03:00
bruvzg
f6adf07ffa
Fix Ctrl/Cmd+F always processed by the asset library, instead of script editor / help.
2022-09-10 21:40:45 +02:00
Aaron Franke
408ed2235b
Don't defer SceneTreeEditor::_warning_changed signal connection
2022-09-10 14:19:29 -05:00
Rémi Verschelde
b52305351d
Merge pull request #64465 from TokageItLab/bind-after-gui-input
...
Bind `AfterGUIInput` to GDScript and update document
2022-09-10 20:01:48 +02:00
kobewi
7fc075d235
Prevent infinite loops in editor help search
2022-09-10 19:34:26 +02:00
kobewi
aafe72fcec
Fix broken patterns on TileMap layer change
2022-09-10 16:45:51 +02:00
Rémi Verschelde
24ce46e2a1
Merge pull request #64938 from YuriSizov/editor-scaled-icons
2022-09-09 16:52:32 +02:00
Rémi Verschelde
211631801d
Merge pull request #65352 from Mickeon/try-scene-tree-filter-multi-word
2022-09-09 16:11:45 +02:00
Rémi Verschelde
ae0c1b2b5c
i18n: Sync editor translations with Weblate (3.5 branch)
...
(cherry picked from commit 367ffd10c8
)
2022-09-09 14:52:16 +02:00
Micky
1c4095a66a
Improve Scene Tree Dock's Node filter (Allow multiple terms & more)
...
- Allows more than one parameter to be passed in the "Filter Node" search box, each term separated by spaces.
- Grays out any parent Node not matching the search, but still having to be there because a child is.
- Adds a `group:` filter. It matches any Node belonging to the passed group. If no argument is passed, it matches all Nodes belonging to any group. It also ignores groups used internally, and its alias is `g`.
2022-09-09 13:40:29 +02:00
Rémi Verschelde
f391107830
Merge pull request #63640 from mbe9/fix_noneditable_remote_objects
2022-09-09 09:09:02 +02:00
Rémi Verschelde
7a317b1314
Merge pull request #65520 from V-Sekai/remote_objects_no_read_only
2022-09-09 09:08:42 +02:00
Rémi Verschelde
c909120b59
Merge pull request #64373 from YeldhamDev/edscale_likes_them_floaty
2022-09-09 09:07:53 +02:00
kobewi
d8093e83b8
Fix undo actions in SceneTreeDock
2022-09-08 22:57:54 +02:00
Micky
8aee143f79
Add a few missing entries in Project Converter
2022-09-08 20:04:54 +02:00
Michael Alexsander
c4c9e41073
Make Vector2i
values paired with EDSCALE
be just Vector2
2022-09-08 14:46:32 -03:00
SaracenOne
3c2e7b38cd
Remove read-only status from EditorDebuggerRemoteObject
2022-09-08 14:34:31 +01:00
Yuri Rubinsky
c50febf5ef
Merge pull request #65468 from Chaosus/vs_fix
2022-09-08 15:00:24 +03:00
Rémi Verschelde
47f889f89d
Merge pull request #65495 from V-Sekai/animation_editor_fixes
2022-09-08 13:56:46 +02:00
Rémi Verschelde
5cef88b882
Merge pull request #65499 from Mickeon/project-converter-english-exam
2022-09-08 13:31:18 +02:00
Rémi Verschelde
05896cc579
Merge pull request #65504 from KoBeWi/close_before_saving
2022-09-08 13:17:34 +02:00
Silc Renew
3c7a5fd8ac
bind AfterGUIInput
2022-09-08 20:02:48 +09:00
Micky
d377bdb3ad
Fix several oddities in Project Converter
...
This is not a complete list. Nor are all of the changes exhaustive.
- Measure final execution time in seconds instead of milliseconds.
- Use `vformat()` instead of unreadable string concatenation whenever necessary.
- Replaces every `&` used with booleans with `&&` because Visual Studio was really complaining about it.
- Adds punctuation to some comments, in accordance to codebase guidelines.
- Fixes some typos around the file (such as "parenthesis" being called "parenthess"), as well as attempt to change some sentences to be more English-correct.
- Reworded some comments and error messages entirely.
2022-09-08 12:32:59 +02:00
Rémi Verschelde
69233093d7
Merge pull request #65241 from bruvzg/no_keymap_ambiguity
...
Fix key mapping changes when moving from macOS to other platform.
2022-09-08 09:24:24 +02:00
Rémi Verschelde
7936b3cc4c
Merge pull request #60108 from KoBeWi/arise_to_top
...
Rename raise() to move_to_front()
2022-09-08 09:23:31 +02:00
Rémi Verschelde
de739530c2
Merge pull request #63596 from Jayman2000/issue-27640
...
Rename `change_scene()` and `change_scene_to()`
2022-09-08 09:22:03 +02:00
Rémi Verschelde
a51dc70dfb
Merge pull request #65460 from Faless/net/4.x_ssl_to_tls_more
...
[Net] Rename "ssl" references to "tls" in methods and members.
2022-09-08 09:20:19 +02:00
Rémi Verschelde
cdb121dffa
Merge pull request #64757 from nathanfranke/change-node-dialog
...
Simplify title of Create/Change Node Dialog
2022-09-08 09:20:07 +02:00
Rémi Verschelde
df5a356e6c
Merge pull request #65501 from m4gr3d/fix_invalid_project_manager_path_main
...
Fix issue causing the project manager to crash because of missing path argument
2022-09-08 09:19:25 +02:00
Rémi Verschelde
6ac1a811dd
Merge pull request #63905 from smix8/navigation_replace_old_debug_4.x
...
Remove / Replace old Navigation Debug Visualization
2022-09-08 09:19:13 +02:00
Nathan Franke
a258101971
simplify title of create/change node dialog
...
The create dialog in replace mode now always has the title `Change type of "%s"`, where `%s` is either "MyNodeName" or "MyVisualScript.vs".
2022-09-07 21:44:33 -05:00
Fabio Alessandrelli
a95d792420
[Net] Rename "ssl" references to "tls" in methods and members.
2022-09-08 03:24:23 +02:00
kobewi
14266d8e66
Ask before closing with unsaved resources
2022-09-08 01:02:08 +02:00
Fredia Huya-Kouadio
cd544fd86b
Fix issue causing the project manager to crash because of missing path argument
...
In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
2022-09-07 14:21:34 -07:00
Jason Yundt
69963ffaa3
Rename change_scene() and change_scene_to()
...
Before this change, the SceneTree had methods named “change_scene” and
“change_scene_to”. One of them accepted a String as a parameter and the
other accepted a PackedScene, but you couldn’t tell which one was which
just by looking at their names.
This change renames those two methods to “change_scene_to_file” and
“change_scene_to_packed”. These new names came from this suggestion [1].
These new names make the difference between the two methods more clear
and hint at the fact that there’s more than one change_scene method.
[1]: <https://github.com/godotengine/godot/issues/27640#issuecomment-1081870955 >
Fixes #27640 .
2022-09-07 17:06:33 -04:00
Yuri Sizov
817d4db21f
Allow images to be imported "for editor use" and respect editor settings
2022-09-07 23:31:31 +03:00