Commit Graph

12348 Commits

Author SHA1 Message Date
kobewi 6444c7d127 Move global script class cache to separate file 2023-01-16 10:16:30 +01:00
Rémi Verschelde 0f0b853c98
Merge pull request #70668 from KoBeWi/never_give_up
Retry loading addons after filesystem scan
2023-01-16 09:47:17 +01:00
Rémi Verschelde f639f5096e
Merge pull request #71485 from adamscott/history-local
Save history when goto script line in the text editor
2023-01-16 09:25:39 +01:00
Rémi Verschelde da57e0059e
Merge pull request #70504 from KoBeWi/the_choosen_antipattern
Add EditorUndoRedoManager singleton
2023-01-16 09:24:50 +01:00
Rémi Verschelde 1424cd9e79
Merge pull request #59076 from Sauermann/fix-cursorshape-tilesetatlassourceeditor
Use get_cursor_shape for identifying the cursor shape in TileSetAtlasSourceEditor
2023-01-16 09:14:24 +01:00
ajreckof fa528b86b6 replace the use of CTRL by CMD_OR_CTRL in three places where using CTRL prevented the use of the functionality on mac
on Mac CTRL + Left click = Right click therefore when a functionality needs CTRL + Left click it is not possible on mac. It then forcibly needs to be CMD on mac
2023-01-16 06:07:16 +01:00
kobewi b58111588a Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
Adam Scott 0dc1bcb0c9 Save history when goto script line in the text editor. 2023-01-15 18:04:35 -05:00
Marius Hanl e1e7237b9a Fix custom theme outline settings affects the editor theme as well
- font_outline_color and outline_size is now set in the default theme for every control using it
2023-01-15 22:43:27 +01:00
Rémi Verschelde 4f9bdf0639
Merge pull request #70701 from bruvzg/remote_debug_menu
Move remote debug buttons to a single menu.
2023-01-15 13:06:20 +01:00
Rémi Verschelde 0f2937ead1
Merge pull request #71229 from reduz/fix-recursive-resource-inclusion-check
Fix recursive resource inclusion check
2023-01-15 13:03:20 +01:00
TechnoPorg 2904d19069 Make EditorResourceConversionPlugin usable.
Previously, EditorResourceConversionPlugin nominally existed in scripting, but there was no way for a user to actually register one.
This PR adds methods to EditorPlugin for registering/unregistering EditorResourceConversionPlugins.
Additionally, it documents EditorResourceConversionPlugin with descriptions and a basic example.
2023-01-14 18:48:11 -07:00
kobewi 2cfab94fef Improve performance of imported file scan 2023-01-15 00:53:41 +01:00
Rémi Verschelde cd3e03432a
Merge pull request #71410 from YuriSizov/docs-update-tutorial-links
Update all outdated online documentation links
2023-01-15 00:16:30 +01:00
Rémi Verschelde 4f631dc1b0
Merge pull request #71411 from Paulb23/new-textfile-global-path
Globalise path for New TextFile in FileSystemDock
2023-01-15 00:12:58 +01:00
bruvzg 5406b001ca
Move remote debug buttons to a single menu. 2023-01-14 22:25:35 +02:00
K. S. Ernest (iFire) Lee 132e95212f Fixes to ESCN importer
Convert mesh instance 3d to a mesh importer instance 3d to run importer code. Also does blend shapes.
2023-01-14 09:55:56 -08:00
Paulb23 659d9b0fa3 Globalise path for New TextFile in FileSystemDock 2023-01-14 16:43:33 +00:00
Yuri Sizov 4c1f11944e Update all outdated online documentation links 2023-01-14 19:38:00 +03:00
Paulb23 b9f24f1586 Remove secondary carets when using FindReplaceBar 2023-01-14 15:58:56 +00:00
Fedor Shchukin 6f416ea104 Fix property revert doesn't revert selected fields 2023-01-14 17:39:21 +03:00
kobewi 59ea36b87c Remove set_drag_forwarding_compat() 2023-01-14 15:16:51 +01:00
Yuri Rubinsky 8180d38910 Fix node preview crashes after updating visual shader node 2023-01-14 14:08:00 +03:00
Rémi Verschelde e97372068b
Merge pull request #71360 from bruvzg/progress_dialog_theme
Fix editor progress dialog theme update.
2023-01-14 00:42:36 +01:00
Rémi Verschelde 61c48f6910
Merge pull request #71321 from TokageItLab/stop-edit
Implement toggling pause / stop button to AnimationPlayerEditor
2023-01-14 00:09:43 +01:00
bruvzg 026002859b Fix editor progress dialog theme update. 2023-01-14 01:07:24 +02:00
Silc 'Tokage' Renew e7d4361fae Implement toggling pause / stop button to AnimationPlayerEditor 2023-01-14 07:10:20 +09:00
clayjohn ccaebcd5e0 Avoid crashing when custom GLSL shaders are imported when using the gl_compatibility renderer 2023-01-13 12:53:19 -08:00
Juan Linietsky 503d2d1cbf Support metadata in MultiNodeEdit
Small hack for metadata to work there (similar to existing script hack).
Does not appear within its own category, not sure if its worth hacking it (would need to be hacked in inspector).

Fixes #59604.
2023-01-13 19:10:19 +01:00
Rémi Verschelde 228db366bf
Merge pull request #70601 from vmedea/keep-terrain-choice
Keep terrain choice when changing layer in tilemap editor
2023-01-13 18:04:02 +01:00
Rémi Verschelde 3e5ee12555
Merge pull request #71335 from groud/fix_atlas_merging
Fixes TileSet atlas merging not working correctly
2023-01-13 18:03:53 +01:00
Rémi Verschelde 44f7392883
Merge pull request #65370 from SaracenOne/tileset_editor_visibility_fixes
Fix contextual visibility of tileset and tilemap editors (again)
2023-01-13 18:02:12 +01:00
Rémi Verschelde 4c2dea108e
Merge pull request #70540 from vaartis/multiline-arrays-dictionaries
Implement export_multiline support for Array[String] and Dictionary
2023-01-13 18:01:55 +01:00
Rémi Verschelde 787179dac8
Merge pull request #70148 from KoBeWi/remove_all_restrictions
Remove conditons for unfolding inspector sections
2023-01-13 18:00:45 +01:00
Rémi Verschelde 3dffe0b967
Merge pull request #63312 from bruvzg/one_click
[Export] Add one-click deploy over SSH for the desktop exports.
2023-01-13 18:00:18 +01:00
Gilles Roudière 28f6fcd68f Fixes TileSet atlas merging not working correctly 2023-01-13 16:50:12 +01:00
Hendrik Brucker e59d6b1b8c [RichTextLabel] Match minimum size calculation of Label
(optional via fit_content property)
2023-01-13 15:17:26 +01:00
Eric M 7c73b6c71c Fix Project Settings array/dicts initial value being shared instances of the current value. 2023-01-13 21:48:43 +10:00
Haoyu Qiu 90d3efcaa5 Fix crash when clicking Edit Region after reopening the scene 2023-01-13 11:30:26 +08:00
Rémi Verschelde 7dfcd55567
Merge pull request #71152 from nongvantinh/fix-70981
Fix node name in the SceneTreeEditor allows a node to have no name
2023-01-13 00:39:20 +01:00
Rémi Verschelde 14cca21256
Merge pull request #71033 from scurest/obj-vertex-color
Add vertex color support to OBJ importer
2023-01-13 00:37:14 +01:00
Rémi Verschelde f79c58aac5
Merge pull request #71209 from bruvzg/ed_progress_reparent
Automatically reparent editor progress dialog to avoid error spam.
2023-01-13 00:29:48 +01:00
Clay John 21893140eb
Merge pull request #71289 from RandomShaper/avoid_color_flash
Avoid color flash on window creation and resizing
2023-01-12 14:39:41 -08:00
Rémi Verschelde c2790ec2b9
Merge pull request #68450 from KoBeWi/bracket_escapist
Allow to escape closing brackets in CFG tags
2023-01-12 21:53:15 +01:00
Pedro J. Estébanez d0e37cd04c Add framework for avoidance of color flash in new windows 2023-01-12 21:42:51 +01:00
Rémi Verschelde 318af8f36c
Merge pull request #71272 from MewPurPur/fix-frame-selection
Fix the Frame Selection (Shift + F) functionality in the 2D editor
2023-01-12 20:08:31 +01:00
Rémi Verschelde 797fb296f0
Merge pull request #58517 from KoBeWi/size_matters
Add expand modes to TextureRect
2023-01-12 20:06:26 +01:00
VolTer 1fa5597520 Fix the Frame Selection functionality 2023-01-12 19:13:00 +02:00
Rémi Verschelde def592114f
Merge pull request #70700 from vonagam/fix-abstract-extends
GDScript: Fix extending abstract classes, forbid their construction
2023-01-12 17:19:51 +01:00
kobewi dfc4367a47 Add expand modes to TextureRect 2023-01-12 17:06:03 +01:00
Dmitrii Maganov 274d49790d GDScript: Fix extending abstract classes, forbid their construction 2023-01-12 17:47:10 +02:00
Fabio Alessandrelli 9a59c0a47c [Editor] Fix missing "debug"/"release" export presets feature tags.
So the same code can be used in editor and debug exports ("release" is
kept for consistency).
2023-01-12 15:18:45 +01:00
Rémi Verschelde 84781eb462
Merge pull request #71271 from reduz/fix-editorspinslider-tab-usage
Fix TAB key usage in EditorSpinSlider (and hence inpector).
2023-01-12 15:02:42 +01:00
Rémi Verschelde a8a9892ad6
Merge pull request #71218 from KoBeWi/unlimited_bikeshedding_lets_go
Split pause() from AnimationPlayer's stop()
2023-01-12 14:30:46 +01:00
Juan Linietsky 2543aec5e4 Fix TAB key usage in EditorSpinSlider (and hence inpector).
* This ensures that the tab key usage is correct in all situations in EditorSpinSlider
* The ESC key can also close the lineedit popup.

I can't find a proper issue to fix, but partially solves the concerns raised in #37723.
2023-01-12 14:13:49 +01:00
Yuri Rubinsky fcbe7c1c2b Fix various crashes of ParameterRef nodes in visual shader 2023-01-12 14:21:59 +03:00
Danil Alexeev 8f706be6fa
Rearrange `editor/naming/*` project settings 2023-01-12 11:41:13 +03:00
Juan Linietsky 9a966b95ec Fix recursive resource inclusion check
I forgot a line of code.

Fixes #71194.
2023-01-11 18:28:52 +01:00
kobewi da9396881e Split pause() from AnimationPlayer's stop() 2023-01-11 14:03:31 +01:00
Rémi Verschelde 62525b7429
Merge pull request #71075 from Repiteo/open_in_file_manager_shortcut
Setup "Open in File Manager" as shortcut
2023-01-11 14:01:48 +01:00
Rémi Verschelde 87efd0b830
Merge pull request #71206 from nongvantinh/enhance-project-convertion
Add missing functions in the Control node when converting project.
2023-01-11 09:50:24 +01:00
Rémi Verschelde 9af4628bbe
Merge pull request #71159 from EricEzaM/minor-input-configuration-fixes
Propagate allowed input types to `event_listener` when setting them on `InputEventConfigurationDialog`
2023-01-11 09:47:08 +01:00
bruvzg 19293d1813
Automatically reparent editor progress dialog to avoid error spam. 2023-01-11 10:13:21 +02:00
Nong Van Tinh c6a3a262c4 Add missing functions in the Control node when converting project 2023-01-11 14:14:18 +07:00
Rémi Verschelde 3e2843e3ad
Merge pull request #71183 from YuriSizov/control-refresh-layouts-by-parents
Ensure that the cached layout mode is in sync
2023-01-11 01:29:51 +01:00
Rémi Verschelde 54688a7535
Merge pull request #71127 from reduz/drag-forward-to-callables
Change set_drag_forwarding() to use callables.
2023-01-11 01:14:58 +01:00
Yuri Sizov 42cbdbc7df Ensure that the cached layout mode is in sync 2023-01-10 23:51:27 +03:00
Eric M 3bf06e955e Propagate allowed input types to `event_listener` when setting them on `InputEventConfigurationDialog` 2023-01-10 23:26:33 +10:00
Juan Linietsky e6a4debede Change set_drag_forwarding() to use callables.
* This solution is much cleaner than the one in 3.x thanks to the use of callables.
* Works without issues in any language (no need to worry about camel or snake case).
* Editor code uses a compatibility function (too much work to redo).

Fixes #59899
2023-01-10 14:09:24 +01:00
Rémi Verschelde b427e26230
Merge pull request #71148 from stmSi/canceling-popupmenu-dont-disconnect
Fix canceling add_node Popup doesn't disconnect previous node.
2023-01-10 10:45:15 +01:00
Nong Van Tinh 98ed75f9e0 fixes: #70981 2023-01-10 16:18:38 +07:00
stmSi 88d4291938 Fix canceling add_node Popup doesn't disconnect previous node. 2023-01-10 14:35:09 +06:30
Silc Renew 5d2e7b9b1d Fix undo of editing animation length with spinner by adding flag 2023-01-10 12:29:05 +09:00
Rémi Verschelde dce8cdbca8
Merge pull request #70863 from bruvzg/win_init_min
Set main window min. size via Window object instead of DisplayServer to preserve it during window updates.
2023-01-09 23:08:52 +01:00
Rémi Verschelde be4e9dfeab
Merge pull request #69616 from reduz/change-uuid
Ability to change a resource UID from API
2023-01-09 23:08:18 +01:00
Juan Linietsky 07a964fce3 Ability to change a resource UID from API
* Works for text, binary and imported resources
* Allows better clean up of duplicate files.

TODO (future PRs):

* Use this API for assigning new UIDs to copied files.
* Use this API for UID conflict on FS scanning (if more than one file has the same UID, the newer one(s) should get assigned a different UID).
2023-01-09 18:52:00 +01:00
Juan Linietsky 0e0a6bb39b
Removed unused property hints and `Object::get_translatable_strings()`
* Remove unused `EditorPropertyMember` and related hints, previouly used by
  VisualScript. Such logic should be implemented in the VS module itself.
* As the above broke compatibility with the VS module, clean up the other
  hacks that were still in core in support of VisualScript.
* `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's
  `get_translatable_strings()`, which is a legacy function not used anywhere.
  So both are removed.
* Reordered some usage flags after the above removal to minimize the diff.
* General clean up.

Fixes #30203.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-01-09 16:56:01 +01:00
Thaddeus Crews 4245417ab2 Setup "open in file manager" as shortcut 2023-01-09 08:29:46 -06:00
Yuri Sizov 00b5222f66 Fix inconsistent state of Controls when editing and running scenes 2023-01-09 15:54:04 +03:00
Rémi Verschelde 2db593ac2f
Merge pull request #70580 from timothyqiu/drop-extern
Fix error when dropping script into script editor
2023-01-09 09:22:08 +01:00
Rémi Verschelde 9c7723b717
Merge pull request #70920 from KoBeWi/exhibit_inside_catalogmap
Add Show in FileSystem option in the inspector
2023-01-09 08:33:58 +01:00
Rémi Verschelde e7905f4f48
Merge pull request #71045 from reduz/use-bitfield-in-core-types
Use BitField<> in core type masks
2023-01-09 08:33:26 +01:00
kobewi 6d65d886f2 Add Show in FileSystem option in the inspector 2023-01-08 23:25:13 +01:00
Rémi Verschelde bb08997b87
Merge pull request #70994 from reduz/prevent-inspector-resource-recursion
Prevent recursion (and hence crash) in inspector resource assignment.
2023-01-08 22:51:29 +01:00
Rémi Verschelde c3c5eceb35
Merge pull request #70463 from DarkKilauea/nav-server-const
[4.x] Rework const on NavigationServer methods
2023-01-08 22:50:05 +01:00
Rémi Verschelde 98131c0e32
Merge pull request #71068 from DarkMessiah/fix_about_godot
Fix UTF-8 encoding for copyright in About dialog
2023-01-08 22:48:17 +01:00
Rémi Verschelde 56522f7f8f
Merge pull request #71057 from EricEzaM/editor-node-cleanup
Remove unnecessary changing of shortcut name in editor node.
2023-01-08 22:45:32 +01:00
Rémi Verschelde 1722947c75
Merge pull request #71055 from EricEzaM/66424-fix-undo-redo
Fix Undo/Redo not working until Scene menu is opened.
2023-01-08 22:45:04 +01:00
Rémi Verschelde 30b3434daa
Merge pull request #71036 from Calinou/shader-editor-tweak-disabled-branch-color
Tweak text color for disabled preprocessor branches in the shader editor
2023-01-08 22:39:09 +01:00
Rémi Verschelde 495ec2130e
Merge pull request #70923 from KoBeWi/actual_resource
Refactor inspector code for getting resource
2023-01-08 22:37:05 +01:00
Juan Linietsky 2b815df3c1 Use BitField<> in core type masks
* All core types masks are now correctly marked as bitfields.
* The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks.
* Most bitmask operations replaced by functions in BitField<>
* Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is.
* Documentation and API dump updated to reflect bitfields in core types.
2023-01-08 22:17:40 +01:00
Stanislav Labzyuk 0bde4a95e3 Fix UTF-8 encoding for copyright in About dialog 2023-01-08 16:15:26 +01:00
Eric M 8d0178a589 Remove unnecessary changing of shortcut name.
The same effect which was desired here can just be done with `set_item_text(...)`, which is what this PR does. It removes the need to constantly update the shortcut name when the scene menu is opened.
2023-01-08 20:48:56 +10:00
Eric M 8256b4ea23 Fix Undo/Redo not working until Scene menu is opened. 2023-01-08 20:35:30 +10:00
Mario Liebisch b495c63b0b
Properly stringify args for Call Method Tracks
This ensures string arguments are always shown as properly enclose in
quotes and escaped and should help avoid confusion, as the previously
shown key frame labels could display as invalid code, most prominently
missing quote characters around strings.
2023-01-08 11:27:44 +01:00
Josh Jones a0715b30f9 Rework const on NavigationServer methods
`const` is used on all methods, even when they cause modification of the server.  This reworks the methods of the server to only use `const` on method that don't change the state of the server.
2023-01-07 17:29:00 -08:00
scurest 649857416d Mark OBJ vertex colors sRGB in materials (only if has vertex colors) 2023-01-07 17:07:31 -06:00
scurest 091fa5fb7f Add vertex color support to OBJ importer
Fixes #70982
2023-01-07 13:26:55 -06:00
Hugo Locurcio 5ce488b1fc
Tweak text color for disabled preprocessor branches in the shader editor
This makes text within disabled branches easier to distinguish from comments
when using a non-default editor syntax theme.
(The default editor syntax theme uses the same color as the text with 50%
opacity for comments, which means it looks the exact same.)
2023-01-07 20:18:38 +01:00
Stanislav Labzyuk 86d61a99fb Enable column clip content in ConnectionDock and FilesystemDock 2023-01-07 14:07:33 +01:00
Rémi Verschelde d642274f75
Merge pull request #70939 from bruvzg/win_screen_2
Add support for the custom initial screen for the main window, fix primary screen detection.
2023-01-07 13:21:36 +01:00
Rémi Verschelde 329b85152a
Merge pull request #70902 from Cretezy/2d-polygon-indices-visibility
Fix "2D Polygon indices are barely visible on bright background" (#38009)
2023-01-07 13:19:33 +01:00
bruvzg 2718a7b7d3
Add support for the custom initial screen for the main window, fix primary screen detection. 2023-01-07 11:14:35 +02:00
Charles Crete 68b728950a Fix "2D Polygon indices are barely visible on bright background" (#38009)
Co-authored-by: Ethan <epruhl102@gmail.com>
2023-01-06 19:09:06 -05:00
Rémi Verschelde 163f6f5fe8
Merge pull request #68429 from KoBeWi/PropertySettings
Add PropertyInfo overload for GLOBAL_DEF
2023-01-06 22:59:29 +01:00
Rémi Verschelde 670405905d
Merge pull request #70999 from timothyqiu/unique-res-confirm
Fix unreadable text in Make Sub-Resources Unique window
2023-01-06 22:57:13 +01:00
Yuri Rubinsky 0e0557146c
Merge pull request #70639 from Chaosus/vs_uint
Closes https://github.com/godotengine/godot/issues/70634
2023-01-06 23:54:24 +03:00
SaracenOne f5edeb8f58 Disable navmesh, lightmap, and VoxelGI generation on foreign data 2023-01-06 08:39:27 -08:00
Haoyu Qiu 0ba5d41a44 Fix unreadable text in Make Sub-Resources Unique window 2023-01-06 23:23:30 +08:00
Juan Linietsky bfc4470599 Prevent recursion in inspector resource assignment.
Fixes #43177
2023-01-06 15:05:33 +01:00
Yuri Rubinsky 35a9cd1d63 Fix errors when creating/deleting `VisualShaderNodeExpression` in graph 2023-01-06 14:20:30 +03:00
Yuri Rubinsky f101add78b Add `uint` type support to visual shaders 2023-01-06 10:35:25 +03:00
Rémi Verschelde b14f7aa9f9
Merge pull request #70500 from hakro/readd-renderer-options
Bring back the renderer options button on the main editor
2023-01-06 08:10:42 +01:00
Rémi Verschelde 158540e96a
Merge pull request #70960 from Maran23/4-x-c#-rect-props
Added Rect (rect_) properties to the c# migration table
2023-01-06 00:19:08 +01:00
Rémi Verschelde 272b82bdae
Merge pull request #70968 from kleonc/tile-atlas-view-update-zoom-and-panning
`TileAtlasView` Update zoom and panning before emitting signal
2023-01-06 00:13:16 +01:00
Rémi Verschelde e070362bd0
Merge pull request #70963 from YuriSizov/editor-dead-codes-society
Simplify some editor plugin logic and remove dead code
2023-01-06 00:11:59 +01:00
Rémi Verschelde 7bf4753a9b
Merge pull request #70675 from ZangEldor/pot-generating-fix
Fix generating POT for multiline messages
2023-01-06 00:10:06 +01:00
kleonc 4276752608 TileAtlasView Update zoom and panning before emitting signal 2023-01-05 22:00:05 +01:00
Marius Hanl c0feed47c7 Added Rect (rect_) properties to the c# migration table 2023-01-05 19:13:24 +01:00
Yuri Sizov 82c00c21e6 Simplify some editor plugin logic and remove dead code 2023-01-05 21:04:54 +03:00
Eldor Zang 250d648d2a Fixed issue #70617 : generating POT for multiline message
Fixed the issue and now each message's line is suceeded by a \n.
Fixes #70614
2023-01-05 16:03:02 +02:00
Rémi Verschelde 1d14c054a1
Merge pull request #70907 from xiongyaohua/fix_path3d_gizmo_not_show
Remove side effect of the `handles` method
2023-01-05 15:01:29 +01:00
Rémi Verschelde 798582acf0
Merge pull request #65609 from dalexeev/animated-sprite
`AnimatedSprite{2D,3D}` improvements
2023-01-05 15:00:31 +01:00
Rémi Verschelde d95794ec8a
One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
Rémi Verschelde d29193affe
Merge pull request #70909 from TokageItLab/revert-improve-update_tree
Revert improve update tree
2023-01-05 12:56:07 +01:00
Rémi Verschelde f571129f9e
Merge pull request #70903 from Cretezy/tilemap-pattern-double-click
Fix "Double-click on the TileMap's pattern prints an error" (#70892)
2023-01-05 12:51:30 +01:00
Danil Alexeev 0d25d8e7fc
`AnimatedSprite{2D,3D}` improvements
* Add support for individual frame duration to `SpriteFrames`.
* Various minor improvements.
2023-01-05 13:13:25 +03:00
kobewi 48f60ef1cd Refactor inspector code for getting resource 2023-01-04 19:22:29 +01:00
Yaohua Xiong 20f909219e Remove side effect of the `handles` method 2023-01-04 20:09:10 +08:00
Silc Renew 724f2422d7 Revert "Merge pull request #70696 from Rindbee/propagate-keying-state"
This reverts commit c774b4ce17, reversing
changes made to ccc609d824.
2023-01-04 20:03:28 +09:00
Silc Renew eee9e3cd9a Revert "Merge pull request #68498 from Rindbee/improve-update_tree"
This reverts commit d5dc70a478, reversing
changes made to ccbefa1f43.
2023-01-04 19:15:20 +09:00
Charles Crete 50e09bbaef Fix "Double-click on the TileMap's pattern prints an error" (#70892) 2023-01-03 23:06:52 -05:00
kobewi bf74ff94c8 Improve remote tree node tooltips 2023-01-03 17:06:36 +01:00
Rémi Verschelde 55ef815472
Merge pull request #70865 from bruvzg/fd_crash
Fix file dialog crash on forward click when history is empty.
2023-01-03 12:41:10 +01:00
Rémi Verschelde 7e22093089
Merge pull request #70428 from MrPhnix/issue-70186
CanvasItemEditor Fix snapping grid misalignment
2023-01-03 12:39:09 +01:00
Rémi Verschelde c774b4ce17
Merge pull request #70696 from Rindbee/propagate-keying-state
Propagate the keying state in the inspector
2023-01-03 12:34:49 +01:00
Rémi Verschelde 49794911e8
Merge pull request #70779 from jamesmintram/jamesm/bugfix/add-missing-shortcut-case-for-reparent
Add missing case statement to handle re-parent to new node
2023-01-03 12:31:50 +01:00
Rémi Verschelde 12a68071a6
Merge pull request #70754 from rxlecky/fix-camera-override-button-2d
Fix camera override button not updating in 2D scenes
2023-01-03 12:24:20 +01:00
Rémi Verschelde 2a57a5e63f
Merge pull request #70732 from timothyqiu/tilemap-crash
Fix heap-use-after-free when using TileMap editor
2023-01-03 12:24:10 +01:00
Rémi Verschelde 1f53579a8f
Merge pull request #70742 from Maran23/4-x-batch-rename-substitute-fix
Fix substitute buttons were never enabled
2023-01-03 12:23:49 +01:00
Rémi Verschelde 1b634c06d0
Merge pull request #69972 from adamscott/add-server-checks-before-free
Add safety-checks before some servers `free()`
2023-01-03 12:22:24 +01:00
Rémi Verschelde 79d6cf7620
Merge pull request #70618 from stmSi/fix-paste-from-clipboard-two-root-nodes-pointing-same-file
Editor: Fix `Paste From Clipboard` make new scene pointing to original scene file.
2023-01-03 12:18:53 +01:00
Rémi Verschelde ec3c01cd64
Merge pull request #70554 from stmSi/suggest-filename-save-branch-remote-tree
[4.0] Suggest Filename in Remote Tree File Dialog
2023-01-03 12:17:39 +01:00
Rémi Verschelde 81f0ddeae0
Merge pull request #70489 from stmSi/fix-certain-editor-shortcuts-insert-characters-into-code
Fix Editor Shortcut keys are inserting in Script Editor
2023-01-03 12:16:14 +01:00
bruvzg 5eeefb2174
Fix file dialog crash on forward click when history is empty. 2023-01-03 10:23:49 +02:00
bruvzg 06551dfa3a
Set main window min. size via Window object instead of DisplayServer to preserve it during window updates. 2023-01-03 09:25:45 +02:00
Yuri Rubinsky c5bfe1303a
Merge pull request #70585 from Chaosus/vs_custom 2023-01-03 09:46:11 +03:00
James Mintram 69855b9445 Make description in create plugin dialog expand vertically 2023-01-01 15:59:15 +00:00
James Mintram 8715125317 Make LineEdits in create plugin dialog expand horizontally 2023-01-01 12:30:30 +00:00
James Mintram 35d0f712ba Add missing case statement to handle re-parent to new node 2022-12-31 20:32:32 +00:00
Rindbee ef2c3398e6 Propagate the keying state in the inspector
Toggling the keying state does not significantly change the structure
of the inspector. So it's ok to propagate the keying state and then
use `queue_redraw()` to update the keying icon.
2022-12-31 20:29:09 +08:00
SeleckyErik 99cc3980a7 Fix camera override button not updating in 2D scenes
Reconnect accidentally disconnected signal play_pressed to update the button
and enable camera override after launching a project in the editor.
2022-12-30 22:46:24 +01:00
Marius Hanl fd17f67894 Fix substitute buttons were never enabled
This happened because the viewport of the scene_tree_editor was queried for the focus owner instead of the current viewport
2022-12-30 16:05:13 +01:00
Haoyu Qiu 1ac35c38be Fix heap-use-after-free when using TileMap editor 2022-12-30 14:16:54 +08:00
Adam Scott ea33001b95 Add safety-checks before some servers `free()` 2022-12-29 16:23:38 -05:00
bruvzg cebefc9f5d
[Export] Add one-click deploy over SSH for the desktop exports.
Add one-click deploy over SSH for the desktop exports.
Add ZIP export option for Linux and Windows.
Change export plugin icons to SVG format.
2022-12-29 09:42:00 +02:00
Markus Sauermann b736efa9c8 Use get_cursor_shape for identifying the cursor shape in TileSetAtlasSourceEditor
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.

Was part of the reason for #58960.
2022-12-29 02:07:39 +01:00
kobewi f2367e0782 Retry loading addons after filesystem scan 2022-12-28 15:40:45 +01:00
Andy Maloney c3d84ce57f Fix crash in SceneImportSettings::_select when a mesh has a null mesh_node 2022-12-27 09:03:18 -05:00
stmSi b2a398d2a5 Editor: Fix `Paste From Clipboard` make two root separate scenes pointing to same file 2022-12-27 17:12:36 +06:30
mara 5380e685d8 Keep terrain choice when changing layer in tilemap editor
Make `TileMapEditorTerrainsPlugin::edit` logic analogous to
`TileMapEditorTilesPlugin::edit`, in that the selection is only
cleared when switching to another tilemap.

Closes #70033.
2022-12-26 21:45:06 +01:00
Yuri Rubinsky 952015df13 Add missing CUSTOM inputs for the spatial/vertex mode of visual shader 2022-12-26 14:09:07 +03:00
Haoyu Qiu 5c498f714d Fix error when dropping script into script editor 2022-12-26 14:34:37 +08:00
stmSi def4087a40 Suggest Filename in Remote Tree File Dialog 2022-12-25 19:34:11 +06:30
Ekaterina Vaartis 60692b4e45 Implement export_multiline support for Array[String] and Dictionary
For arrays, specifically check if it's a string array and pass the
type on to the editor. For dictionaries, save the hint on the type and
use it later to draw the multiline editor, except for when adding a
string key, because that doesn't make much sense. All string values
however will be drawn as multiline.
2022-12-25 01:46:57 +03:00
MrPhnix 272b8d9d17 CanvasItemEditor Fix snapping grid misalignment
Resolves: #70186
See: #65101
2022-12-24 12:02:48 +01:00
stmSi 350eda02cb Fix Editor Shortcut keys are inserting in Script Editor 2022-12-24 07:22:19 +06:30
Hakim 6a60300193 Bring back the renderer options button on the main editor 2022-12-24 00:43:18 +01:00
Rémi Verschelde b31bf1f823
Merge pull request #70277 from rune-scape/picker-regression
Fix resource picker regression
2022-12-23 09:20:57 +01:00
Rémi Verschelde 6ff74f07f0
Merge pull request #70151 from stmSi/fix-profiler-and-visual-profiler-start-stop-state-inconsistency
Fix: Profiler and Visual Profiler start/stop state inconsistency
2022-12-23 09:08:24 +01:00
Rémi Verschelde 8eec9f7d3c
Merge pull request #69797 from TokageItLab/time-edit-inspector-plugin
Animation: Add inspector plugin for key time edit & Change `track_find_key()` argument to find key with approximate
2022-12-23 09:07:15 +01:00
Rémi Verschelde a79a5999a6
Merge pull request #70456 from Calinou/project-manager-opengl-wip
Mention that the Compatibility rendering backend is work-in-progress
2022-12-23 09:06:15 +01:00
Rémi Verschelde 9b4888b7c9
Merge pull request #65312 from SaracenOne/auto_advance_behaviour
Make auto-advance flag a requirement for conditional/expression evaluation
2022-12-23 09:05:49 +01:00
stmSi 97e991929f Fix: Profiler and Visual Profiler start/stop state inconsistency 2022-12-23 08:14:53 +06:30
Rémi Verschelde 98d871b6f9
Merge pull request #70459 from twaritwaikar/fix-split-diff
VCS: Fix split diff's overlapping fields
2022-12-22 22:45:35 +01:00
Twarit Waikar 7ef09ea88f VCS: Fix split diff's overlapping fields
Also adjusts the spacing nearby the diff contents.
2022-12-23 02:20:01 +05:30
Hugo Locurcio f1bb564c73
Mention that the Compatibility rendering backend is work-in-progress 2022-12-22 19:41:25 +01:00
Rémi Verschelde c547c4ef59
Revert "Queue inspector tree update when changing the theme."
This reverts commit c0baec410b.

See comments in #70381.
2022-12-22 16:39:21 +01:00
Rémi Verschelde 4ba5289f91
Merge pull request #70413 from Koyper/rtl_rename_remove_line
[RTL] Rename remove_line() to remove_paragraph() for naming consistancy.
2022-12-22 08:51:13 +01:00
Silc Renew 060fb2d093 Add inspector plugin for key time edit & Change find key argument 2022-12-22 10:03:06 +09:00
Marius Hanl c6da15fed7 Do not add child twice and set initial focus 2022-12-21 22:26:11 +01:00
Koyper e846b22da6 Renamed RTL remove_line() to remove_paragraph(). 2022-12-21 11:54:18 -06:00
Rémi Verschelde f1b23e8c39
Merge pull request #70410 from Maran23/4-x-search-result-theme-update
Rebuild search result tree when the theme is changed
2022-12-21 18:31:05 +01:00
Rémi Verschelde 0566afa041
Merge pull request #70360 from dustinsth/fix_import_dialog_text
Fix overlapping text in Advanced Import Settings action dialogs.
2022-12-21 18:29:17 +01:00
Rémi Verschelde 224d26fb49
Merge pull request #70261 from Maran23/4-x-editor-inspector-section-click
EditorInspectorSection is not (un)folded when clicking under the font
2022-12-21 18:27:27 +01:00
Rémi Verschelde 918408ab9e
Merge pull request #70398 from Sauermann/fix-esc-input-focus
Fix closing project setting window with ESC while listening for input
2022-12-21 18:25:09 +01:00
Rémi Verschelde ff2bd057a5
Merge pull request #70353 from twaritwaikar/remove-vsc-project-path
VCS: Remove `project_path` VCS property, let plugins decide
2022-12-21 18:24:59 +01:00
Rémi Verschelde a6283be237
Merge pull request #68894 from souplamp/editor-layout-save
Improve editor layout dialog with input context, window sizing based on editor scale
2022-12-21 18:24:40 +01:00
Marius Hanl dff9c5e601 Rebuild search result tree when the theme is changed 2022-12-21 18:15:40 +01:00
Markus Sauermann 3238d11247 Fix closing project setting window with ESC while listening for input
This is done by disallowing ESC to be used for closing the window
while the filter-LineEdit is focused.
2022-12-21 12:48:59 +01:00
Rémi Verschelde 4f3ec4121a
Merge pull request #70350 from Chaosus/stringname_operator
Add missing != operator to `StringName`
2022-12-21 09:21:32 +01:00
Rémi Verschelde 473656ef01
Merge pull request #70374 from twaritwaikar/add-confirm-dialog-discard-changes
VCS: Add a stern confirmation dialog before discarding all changes
2022-12-21 09:19:49 +01:00
Rémi Verschelde 7e7be45947
Merge pull request #67922 from MrBlockers/asr-addstream-fixes
Add optional stream argument to AudioStreamRandomizer.add_stream
2022-12-21 09:19:39 +01:00
Rémi Verschelde 4685c03555
Merge pull request #70381 from Maran23/4-x-theme-inspector-update
Queue inspector tree update when changing the theme
2022-12-21 09:19:31 +01:00
Rémi Verschelde f04f53201d
Merge pull request #70317 from HolonProduction/svg_assets
Add support for svg images in the asset lib.
2022-12-21 09:19:14 +01:00
Twarit Waikar c940616b04 VCS: Remove method binds that are not being used in VersionControlEditorPlugin 2022-12-21 11:50:29 +05:30
Marius Hanl c0baec410b Queue inspector tree update when changing the theme. 2022-12-21 01:52:24 +01:00
MrBlockers 569ead5762 Add optional arguments to AudioStreamRandomizer
Adds stream and weight parameters to add_stream. By default, weight is
1.0f.
2022-12-20 18:48:02 -05:00
Twarit Waikar d18ed2c18a VCS: Add a stern confirmation dialog before discarding all changes 2022-12-21 03:21:33 +05:30
dustinsth c734ae469e Fix overlapping text in Advanced Import Settings action dialogs. 2022-12-20 09:57:57 -08:00
Marcus Elg 52061691b5 Disable properties that don't have an effect in the advanced audio importer 2022-12-20 18:57:27 +01:00
Twarit Waikar edef267d68 VCS: Remove `project_path` VCS property, let plugins decide 2022-12-20 21:01:24 +05:30
HolonProduction 66fa776667 Add support for svg images in the asset lib.
Pixel based image formats are identified by magic numbers. This is not possible with svg therefore svg parsing is tried and if it succeeded the result is used.

WebP and bmp support is added as well. But I could not test it as I am not able to run a local instance of the asset lib and there is no asset using those formats.
2022-12-20 15:41:17 +01:00
Yuri Rubinsky 522d4243bf Add missing != operator to `StringName` 2022-12-20 17:25:54 +03:00
Rémi Verschelde 08f6a46a8d
Merge pull request #70342 from twaritwaikar/fix-vcs-bindings
VCS: Fix GDExtension return types for VCS after Array type hardening
2022-12-20 12:43:15 +01:00
Twarit Waikar 18df2f36e8 VCS: Fix GDExtension return types for VCS after Array type hardening 2022-12-20 15:42:31 +05:30
Rémi Verschelde 05f479736b
Merge pull request #70304 from MarcusElg/audioimportnaming
Fix inconsistent audio import menu naming
2022-12-20 10:33:00 +01:00
Rémi Verschelde 281f548dc2
Merge pull request #70170 from TokageItLab/fix-anim-keying-crash
Make keys deselected when keying property for animation to avoid crash
2022-12-20 10:31:59 +01:00
Marcus Elg 7f88943483 Fix inconsistent audio import menu naming 2022-12-19 17:42:54 +01:00
Rémi Verschelde 44f0d455a7
Merge pull request #70100 from Chaosus/fix_missing_editor_plugin_gdclasses
Fix missing GDCLASS headers in the editor preview plugins
2022-12-19 17:11:34 +01:00
Rémi Verschelde fe1bb58e8f
Merge pull request #70238 from kleonc/tile-set-simplify-isometric-tile-polygon
`TileSet` Simplify isometric tile shape polygon to 4 vertices
2022-12-19 16:27:17 +01:00
Rémi Verschelde 5784c9801e
Merge pull request #70264 from KoBeWi/layedulate
Use layer's modulate for tile previews
2022-12-19 16:26:50 +01:00
kobewi 32b0770a73 Add a method to get global modulate 2022-12-19 11:51:37 +01:00
kleonc 3a34acdf55 TileSet Simplify tile shape polygons 2022-12-19 11:42:40 +01:00
rune-scape 176cb9cc83 Fix resource picker regression 2022-12-18 19:59:33 -05:00
Yuri Rubinsky 62a5082760
Merge pull request #70250 from Chaosus/fix_audio_stream_editor 2022-12-18 21:11:00 +03:00
kobewi 99a9401a2c Use layer's modulate for tile previews 2022-12-18 17:31:29 +01:00
Marius Hanl 51de7b773c EditorInspectorSection is not folded when clicking under the font 2022-12-18 15:37:08 +01:00
Yuri Rubinsky 0fcf6a1c0c Prevent showing AudioStream preview for non-WAV types 2022-12-18 11:31:28 +03:00
reduz e93d991329
Add a dialog for customizing FBX import
* If FBX files are found, a dialog will pop up asking to configure FBX2glTF.
* Dialog can also be accessed by going Editor -> Configure FBX Import.
* The dialog also shows a link to click to download the converter, which
  should contain instructions.
2022-12-18 01:08:54 +01:00
Rémi Verschelde f4eac63bc2
Merge pull request #70223 from KoBeWi/condition_of_arguable_usefulness
Remove unnecessary condition
2022-12-18 00:11:25 +01:00
kobewi 0f5018b483 Remove unnecessary condition 2022-12-17 23:04:03 +01:00
smix8 34e7628f5f Fix Navigation API abbreviations inconsistency
Schema for navigation to name user facing API with  "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
2022-12-17 22:06:22 +01:00
Rémi Verschelde 10bc1d8710
Merge pull request #30675 from zaksnet/link-button-link-prop
Add a `uri` property to `LinkButton`
2022-12-17 20:58:15 +01:00
Rémi Verschelde 70a0201e6a
Merge pull request #70074 from Chaosus/restore_audio_stream_editor
Restore `AudioStreamEditor` class to fix playable sound previews
2022-12-17 20:56:35 +01:00
Rémi Verschelde a1f481a7d6
Merge pull request #70202 from Calinou/viewport-transparent-background-rename-project-setting
Move transparent background project setting to a subsection
2022-12-17 20:56:19 +01:00
Hugo Locurcio a3eac5fc7c
Move transparent background project setting to a subsection
This prevents the project setting from being located directly within
a root category, which is confusing from an UX perspective in the
project settings editor.
2022-12-17 18:45:21 +01:00
Zak d73a9b56b0
Add `uri` property for LinkButton
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-17 15:27:33 +01:00
Rindbee f352c30ad5 Defer `EditorInspector::update_tree` to the process stage to improve performance
`EditorInspector::update_tree` is expensive, so defer the call to the process phase
to prevent multiple calls in a single frame (when switching scene tabs).
2022-12-17 08:39:59 +08:00
Silc 'Tokage' Renew aa133b60a1 Make keys deselected when keying property for animation to avoid crash 2022-12-17 06:48:22 +09:00
kobewi b28b7936db Remove conditons for unfolding inspector sections 2022-12-16 15:14:50 +01:00
ATN eab5935007 Added a signal connection to update buses editor on "bus_layout_changed" 2022-12-16 10:48:16 +01:00
SaracenOne 092dbe52a9 Change auto_advance flag to advance_mode enum and unify with disabled flag.
Expressions and conditions now require auto mode to be set to auto.
Adds a toggle button to the state machine editor for whether new transitions
advance settings should default to auto mode or not.
2022-12-16 07:42:59 +00:00
Haoyu Qiu 207e52c161 Fix String::word_wrap() for long words
- Changes `TextServer.string_get_word_breaks()`
  - Returns pairs of boundary start and end offsets
  - Accepts `chars_per_line` to return line breaks
- Removes `String::word_wrap()`

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-12-16 13:18:57 +08:00
Rémi Verschelde cda7df0255
Merge pull request #67024 from alessandrofama/fix-gdvirtual-call-node3dgizmo
EditorNode3DGizmoPlugin: Add GDVIRTUAL_CALL for get_gizmo_name and get_priority
2022-12-15 12:16:42 +01:00
Yuri Rubinsky b6ed3390ec Fix missing GDCLASS headers in the editor preview plugins 2022-12-15 13:11:23 +03:00
Yuri Rubinsky 1891f6e62c Restore `AudioStreamEditor` class 2022-12-15 10:59:44 +03:00
bmolyneaux 7c1cb65978
Clear animation map when import settings is opened 2022-12-14 19:54:48 -08:00
Rémi Verschelde 1c5cfc4675
Merge pull request #69761 from KoBeWi/where_undo
Add scope prefix to undo actions
2022-12-14 23:28:40 +01:00
kobewi ff994585b3 Add scope prefix to undo actions 2022-12-14 22:51:10 +01:00
clayjohn 4d818f395e Remove comma in gl_compatibility message in new project creation menu 2022-12-14 12:08:50 -08:00
Rémi Verschelde 6b381d1d2d
Merge pull request #70040 from m4gr3d/update_navigation_controls_toggle_main
Update the visibility logic for the spatial editor navigation controls
2022-12-14 11:26:01 +01:00
Fredia Huya-Kouadio 3083455002 Update the visibility logic for the spatial editor navigation controls 2022-12-13 17:46:12 -08:00
Yaohua Xiong adeef12b12 Handle corner cases for curve baking
When control point and point have equal position,
the derivative is 0 vector, which cause error message in Basis::look_at().
This commit handles this case.
2022-12-14 08:52:14 +08:00
Rémi Verschelde db6976eed4
Merge pull request #70028 from clayjohn/PM-GLES3
Added gl_compatibility as an option to the project creation screen
2022-12-14 00:20:52 +01:00
Rémi Verschelde f3080459d9
Merge pull request #69732 from KoBeWi/rc_undo
Add remote history to EditorUndoRedoManager
2022-12-14 00:19:23 +01:00
Rémi Verschelde ad7b31fe61
Merge pull request #69938 from timothyqiu/open-packed-scene
Add open scene button in Inspector for PackedScene resource
2022-12-14 00:16:54 +01:00
Rémi Verschelde 465d4c1d95
Merge pull request #70009 from clayjohn/glow-hq
Remove high quality glow as it is not any higher quality than regular glow
2022-12-13 23:32:15 +01:00
clayjohn 324f5364e7 Added gl_compatibility as an option to the project creation screen
Last selected option is saved as default for next time
2022-12-13 14:11:07 -08:00
clayjohn 5b5cd2b98b Remove high quality glow as it is not any higher quality than regular glow 2022-12-13 10:15:45 -08:00
Rémi Verschelde bd0f008c67
i18n: Sync editor translations with Weblate (3.5 branch)
(cherry picked from commit ee8986e146)
2022-12-13 14:38:52 +01:00
Rémi Verschelde 05aba48354
Merge pull request #70006 from timothyqiu/atlas-source-paint-scroll
Add scroll container for tile data editors
2022-12-13 10:12:53 +01:00
Rémi Verschelde f16aa54795
Merge pull request #69981 from bruvzg/dyn_font_import_outline
Fix advanced font import dialog not saving outline sizes of pre-render configs correctly.
2022-12-13 10:10:37 +01:00
Rémi Verschelde a720a8c136
Merge pull request #69893 from henrlin24/hide-scattering
Hide Scattering label and controls within TileMap editor window when "Place Random Tile" option is disabled
2022-12-13 10:10:28 +01:00
Rémi Verschelde 0687bdc58f
Merge pull request #69302 from RumblingTurtle/audio-track-edit-fix
Fix audio track end and start offset editing
2022-12-13 10:10:05 +01:00
Haoyu Qiu 4fcbfcc665 Add scroll container for tile data editors 2022-12-13 15:14:01 +08:00
bruvzg ebc85eff98
Fix advanced font import dialog not saving outline sizes of pre-render configs correctly. 2022-12-12 22:29:14 +02:00
Silc Renew b0eb3b6ebd Add null checks to AnimationTreeEditors and _clear_editors() 2022-12-13 03:06:51 +09:00
Eduard Zalyaev f98740cb2e AnimationTrackEditTypeAudio: Both start and end offset dragging is now possible with proper preview of the changes
Fixes #68788.
2022-12-12 15:10:09 +03:00
Rémi Verschelde e2a37295f5
Merge pull request #69291 from nongvantinh/fix-suggest-message
Fix Sprite drag and drop hint mentions invalid option with root node selected
2022-12-12 12:19:37 +01:00
Rémi Verschelde f1edd03d4c
Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextension
Rename all gdnative occurences to gdextension
2022-12-12 11:43:59 +01:00
Rémi Verschelde f5d14f874a
Merge pull request #69300 from timothyqiu/tile-set-atlas-source
Improve TileSetAtlasSourceEditor UI
2022-12-12 11:41:59 +01:00
Gilles Roudière be1c9d677d Rename all gdnative occurences to gdextension
Non-exhaustive list of case-sensitive renames:

GDExtension -> GDNative
GDNATIVE -> GDEXTENSION
gdextension -> gdnative
ExtensionExtension ->Extension (for where there was GDNativeExtension)
EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION)
gdnlib -> gdextension
gdn_interface -> gde_interface
gdni -> gde_interface
2022-12-12 11:04:57 +01:00
Markus Sauermann 9a8d53d54b Use _request_gizmo from SceneStringNames 2022-12-12 10:12:40 +01:00
Haoyu Qiu 9af9af525c Add open scene button in Inspector for PackedScene resource 2022-12-12 16:09:10 +08:00
kobewi 7c6b659bd7 Add PropertyInfo overload for GLOBAL_DEF 2022-12-11 21:36:48 +01:00
Aaron Franke 137508dfc8
Check if class exists before checking if it's virtual in Create Dialog 2022-12-11 13:12:59 -06:00
henrlin24 afa38bd030 Hide Scattering label and controls within TileMap editor window when "Place Random Tile" is disabled 2022-12-11 13:16:36 -05:00
Rémi Verschelde e7d892159c
Merge pull request #69538 from mihe/feature-tag-double
Add feature tags to signify engine float precision
2022-12-11 11:51:59 +01:00
Rémi Verschelde 73837182fd
Merge pull request #69850 from timothyqiu/defer-gizmo
Use ObjectID as argument when referred-calling `_request_gizmo`
2022-12-11 11:51:51 +01:00
Rémi Verschelde 486d61b84f
Merge pull request #69466 from rune-scape/editor-help-crash-fix
Fix editor help crash
2022-12-11 09:24:27 +01:00
Rémi Verschelde e9c7140cfa
Merge pull request #69853 from TokageItLab/fix-unmerged-history-anim-editor
Fix unmerged history in AnimationTrackEditor
2022-12-10 16:20:13 +01:00
Silc Renew c87e9f0b7c Fix unmerged history in AnimationTrackEditor 2022-12-10 22:21:38 +09:00
Haoyu Qiu f6ae2f2fd5 Use ObjectID as argument when referred-calling _request_gizmo
Fixes crash on project launch.
2022-12-10 18:52:10 +08:00
Rémi Verschelde cc5d2c68a8
Merge pull request #69842 from timothyqiu/tile-set-update
Fix !tile_set.is_valid() error on startup
2022-12-10 10:45:52 +01:00
Rémi Verschelde daa504c640
Merge pull request #69817 from Mickeon/sorry
Fix left-aligned EditorHelp when first opened
2022-12-10 10:45:21 +01:00
Haoyu Qiu 8a22d4cd44 Fix !tile_set.is_valid() error on startup 2022-12-10 13:09:20 +08:00
Haoyu Qiu d8f5dcbf56 Improve TileSetAtlasSourceEditor UI
* Updates the overall layout, moving mode buttons to the top.
* Uses inspector category instead of a Label to show what's being edited. This also allows better scrolling behavior.
2022-12-10 12:27:48 +08:00
Micky 5760bfc712 Fix left-aligned EditorHelp when first opened 2022-12-09 18:54:52 +01:00
Rémi Verschelde 907298d673
Merge pull request #68747 from rune-scape/rune-stringname-unification
GDScript: Unify StringName and String
2022-12-09 18:06:48 +01:00
Rémi Verschelde 9a26ffa233
Merge pull request #67283 from KoBeWi/one_way_ticket
Add one-way indicator to tile collision editor
2022-12-09 18:05:55 +01:00
Rémi Verschelde 43bef98450
Merge pull request #60892 from KoBeWi/fat_selection
Improve tile editor selection appearance
2022-12-09 18:05:38 +01:00
Rémi Verschelde 9ee47b3c45
Merge pull request #69747 from timothyqiu/tile-source-icons
Update tile source icons when editor theme changes
2022-12-09 18:05:23 +01:00
trollodel 26d146b6c9 Ensure that generated import IDs are unique 2022-12-09 17:01:40 +01:00
kobewi 871278cdf0 Improve tile editor selection appearance 2022-12-09 14:46:17 +01:00
Rémi Verschelde dc1a3fb952
Editor: Fix regression fetching Windows/Linux export templates
Regression from #67906.
2022-12-09 14:20:18 +01:00
Yuri Rubinsky a7027b9927 Fix changing of visual shader mode 2022-12-09 11:02:07 +03:00
Rémi Verschelde 2d02cb67ee
Merge pull request #69661 from Mickeon/fix-editor-cannot-disconnect-signal
Fix unable to disconnect signal in Editor once created
2022-12-09 07:34:29 +01:00
kobewi f764db1bdd Add remote history to EditorUndoRedoManager 2022-12-08 15:06:29 +01:00
Micky 885f2a4eca Fix unable to disconnect signal in Editor once created
Adds a CONNECT_INHERITED flag to connections, only available in editor builds. This flag denotes that the signal has been inherited from a previous Scene in the instancing hierarchy.
2022-12-08 13:36:48 +01:00
Yuri Rubinsky 12ab5731ab
Merge pull request #69738 from Chaosus/vs_custom_nodes 2022-12-08 14:13:05 +03:00
Yuri Rubinsky ab17f197f0 Make custom visual shader nodes automatically updates from script 2022-12-08 12:55:23 +03:00
Haoyu Qiu af3ef844d9 Update tile source icons when editor theme changes 2022-12-08 17:21:37 +08:00
Rémi Verschelde 204715ae95
Merge pull request #69617 from MewPurPur/this-darn-pixel
Fix fringe issues with shortcuts not behaving as expected for multi-carets
2022-12-08 09:52:13 +01:00
VolTer 94416e41c5 Fix various fringe issues with multi-carets and selections 2022-12-07 20:54:48 +01:00
Mikael Hermansson 8c108177d7 Add feature tags to signify engine float precision 2022-12-07 16:13:17 +01:00
Rémi Verschelde 489d26e96e
Merge pull request #69573 from KoBeWi/our_hero_call-deferred-man
Fix dependency reload triggered too early
2022-12-07 15:13:45 +01:00
Rémi Verschelde 829d49b011
Merge pull request #69719 from groud/fix_gdextension_bad_vformat_error
Fix a wrong error formatting in gdextension export plugin
2022-12-07 13:28:02 +01:00
Rémi Verschelde f9bd2ace0b
Merge pull request #68682 from timothyqiu/camera-gizmo-size
Make Camera3D gizmo the same aspect ratio as its viewport
2022-12-07 13:25:35 +01:00
Rémi Verschelde de2d0f156e
Merge pull request #69713 from groud/rename_get_surrounding_tiles
Rename get_surrounding_tiles to get_surrounding_cells
2022-12-07 13:24:57 +01:00
Rémi Verschelde eb1734c95d
Merge pull request #67554 from Sauermann/fix-determining-window-in-scroll-container
Remove Screen-parameter for determining Touchscreen capability
2022-12-07 13:24:06 +01:00
Rémi Verschelde 04cd36612a
Merge pull request #69695 from timothyqiu/id-capitalization
Make ID capitalization in tiles editor consistent
2022-12-07 13:23:49 +01:00
Gilles Roudière 2b11fe1d63 Fix a wrong error formatting in gdextension export plugin 2022-12-07 13:22:49 +01:00
Gilles Roudière 3ea54bb3a1 Rename get_surrounding_tiles to get_surrounding_cells 2022-12-07 11:09:10 +01:00
Markus Sauermann e18107a57c Fix Determining Window for Touchscreen
DisplayServer::screen_is_touchscreen will likely never utilize its
parameter p_screen.
This PR replaces this function by DisplayServer::is_touchscreen_available()
with the same functionality.
This solves the problem, that a SubViewport was used for determining
the screen, which resulted in error messages.
2022-12-07 09:54:29 +01:00
Haoyu Qiu 740d6f9447 Fix crash when deleting an alternative-level tile proxy 2022-12-07 14:26:54 +08:00
Haoyu Qiu 9893b04fda Make ID capitalization in tiles editor consistent 2022-12-07 10:07:10 +08:00
Rémi Verschelde 6dddc031e8
Merge pull request #69651 from alfredbaudisch/autocomplete-line-number
Cancels the code complete timer when the caret moves to another line
2022-12-06 15:16:09 +01:00
Alfred Reinold Baudisch 02f7e03a66 Cancels the code complete timer when the caret moves to another line
Fixes and closes #68961
2022-12-06 12:45:25 +01:00
Rémi Verschelde 2b49ef12af
Merge pull request #69446 from Chaosus/fix_quick_open
Fix new quick open dialog to be showed at the center of the screen
2022-12-06 12:25:37 +01:00
Rémi Verschelde 68dc56f582
Merge pull request #69234 from Sauermann/fix-enter-focus
Fix focus after pressing Enter in EditorSpinSlider
2022-12-06 12:25:28 +01:00
Rémi Verschelde 74b245f2b5
Merge pull request #69643 from Chaosus/vcs_rendering_fix
Fix incorrect rendering of vcs dialogs
2022-12-06 12:25:01 +01:00
Rémi Verschelde 83b426bca5
Merge pull request #67906 from groud/simpler_gdextension_config
Remove unnecessary checks when exporting gdextension binaries and allow using a prefix to auto-detect files
2022-12-06 11:01:09 +01:00
Rémi Verschelde 75f8f22637
Merge pull request #69631 from timothyqiu/tile-proxy-rmb
Fix error when right clicking proxy list in TileProxiesManagerDialog
2022-12-06 11:00:42 +01:00
Yuri Rubinsky 4aee97e821 Fix incorrect rendering of vcs dialogs 2022-12-06 12:54:38 +03:00
Rémi Verschelde 53f2c8b206
Merge pull request #69608 from RumblingTurtle/blend-tree-new-node-fix
AnimationNodeBlendTreeEditor: Fix popup locations when creating nodes with dragging
2022-12-06 10:48:12 +01:00
Rémi Verschelde 14861c45b5
Merge pull request #68860 from xiongyaohua/path3d_fishbones
Draw fish bones for Path3D and Path2D in the Editor
2022-12-06 10:46:54 +01:00
rune-scape e79be6ce07 Unify String and StringName 2022-12-05 21:46:47 -05:00
Haoyu Qiu 7034992ace Fix error when right clicking proxy list in TileProxiesManagerDialog 2022-12-06 09:37:07 +08:00
Eduard Zalyaev ed53e96f43 AnimationNodeBlendTreeEditor: Fix popup locations when creating nodes with dragging
Fixes  #69413.
2022-12-05 21:03:38 +03:00
Rémi Verschelde f3e6750a7e
Merge pull request #68324 from AThousandShips/group_import_uid
Fix group reimport bug
2022-12-05 18:45:15 +01:00
Rémi Verschelde 6ee3268189
Merge pull request #65228 from Mickeon/fix-packed-scene-unique-name-root
Fix "Save Branch as Scene" storing root Node's `unique_name_in_owner`
2022-12-05 18:08:10 +01:00
Rémi Verschelde 3673eb7001
Merge pull request #67553 from Sauermann/fix-new-node-dialog-description
Fix Updating New Node Dialog Description of Custom Nodes
2022-12-05 18:07:20 +01:00
Rémi Verschelde fd5142769b
Merge pull request #69600 from Chaosus/fix_global_shader_crash
Fix setting a global shader variable in the project settings
2022-12-05 18:06:05 +01:00
VolTer 92287c2cb2 Fix slight visual discrepancy in Search Result dock 2022-12-05 13:53:09 +01:00
Yuri Rubinsky 09f30010be Fix setting a global shader variable in the project settings 2022-12-05 14:05:20 +03:00
Rémi Verschelde 1db23e472b
Merge pull request #69525 from m4gr3d/polish_navigation_controls_opacity_main
Minor tweaks/polish to the navigation controls to prevent interference
2022-12-05 11:32:43 +01:00
Rémi Verschelde 4bca815d41
Merge pull request #69132 from RumblingTurtle/multiline-move-fix
Script editor: Rewrite multiline move logic
2022-12-05 11:32:29 +01:00
Eduard Zalyaev c3eec67f06 Script editor: Rewrite multiline move logic. Preserving all carets and their selections intact on alt+up/down shortcut
Fixes  #68731.
2022-12-05 10:43:27 +03:00
Yaohua Xiong 9bdc0cb16f draw fish bones for Path2D and Path3D
These fish bones are add to indicate the direction and local transforms alone the path.
2022-12-05 15:39:14 +08:00
Silc Renew 8c540b1d71 Fix animation play backward doesn't process current key&animtrack seek 2022-12-05 15:59:08 +09:00
Rémi Verschelde a738f50886
Merge pull request #69357 from TokageItLab/byebye-trigger
Remove `UPDATE_TRIGGER` mode from `ValueTrack::UpdateMode` & Match behaviors between `AnimationTree` and `AnimationPlayer`
2022-12-05 00:06:23 +01:00
Rémi Verschelde 408bd0aa92
Merge pull request #68770 from TokageItLab/add-track-validator
Add track validator to AnimationPlayerEditor to detect tracks which have error
2022-12-05 00:06:06 +01:00
Rémi Verschelde a0365c140a
Merge pull request #68995 from bruvzg/sys_font_for_text
Use system fonts as fallback.
2022-12-05 00:05:49 +01:00
Rémi Verschelde 5efa254964
Merge pull request #67387 from NumbuhFour/cam_vis_layers_shader_var
Implement CAMERA_VISIBLE_LAYERS as built-in shader variable
2022-12-05 00:05:39 +01:00
bruvzg ecec415988
Use system fonts as fallback and improve system font handling.
Add support for font weight and stretch selection when using system fonts.
Add function to get system fallback font from a font name, style, text, and language code.
Implement system font support for Android.
Use system fonts as a last resort fallback.
2022-12-04 18:44:20 +02:00
kobewi 05993e8a35 Fix dependency reload triggered too early 2022-12-04 17:28:30 +01:00
Haoyu Qiu 480d9d10ed Fix heap-use-after-free when exiting editor after editing TileSet 2022-12-04 16:52:26 +08:00
NumbuhFour 1b09fd5410 Implement CAMERA_VISIBLE_LAYERS as built-in shader variable 2022-12-03 22:41:27 -08:00
Fredia Huya-Kouadio eacb29c007 Minor tweaks/polish to the navigation controls to prevent interference:
- Reduce controls size
- Enable opacity on hover to increase visibility
2022-12-02 23:17:38 -08:00
Fredia Huya-Kouadio 18b924def7 Enable the navigation controls for touchscreen by default 2022-12-02 20:47:32 -08:00
Silc Renew 83135aa122 Remove UPDATE_TRIGGER & Match behaviors between AnimationTree/Player
#69357
2022-12-02 20:28:10 +09:00
Yuri Rubinsky 5eeebb3e37 Fix new quick open dialog to be showed at the center of the screen 2022-12-02 11:11:54 +03:00
rune-scape 0591f0ad37 Fix editor help crash 2022-12-01 16:47:02 -05:00
Gilles Roudière fa4143cdeb Allow specifying a prefix to automatically detect library files for gdextension exports 2022-12-01 18:20:40 +01:00
Rémi Verschelde 1e3919c409
Merge pull request #69364 from m4gr3d/add_navigation_controls_main
Add navigation control to the node3d editor viewport
2022-12-01 18:11:14 +01:00
Rémi Verschelde 9ace4949f8
Merge pull request #69443 from KoBeWi/meta_never_dies
Restore metadata to script create dialog
2022-12-01 18:10:37 +01:00
Rémi Verschelde 60750a1b69
Merge pull request #69403 from KoBeWi/gdrequiredvirutalcallnoif
Simplify GDVIRTUAL_REQUIRED_CALL calls
2022-12-01 18:09:43 +01:00
Gilles Roudière 36bcb82565 Remove uncessecary checks when exporting gdextension binaries 2022-12-01 17:28:24 +01:00
kobewi 06465e388e Fix invalid metadata names in script create dialog 2022-12-01 15:32:41 +01:00
kobewi 563d67a10d Revert "Fix "Script Create" dialog errors with metadata"
This reverts commit bb5198a5ac.
2022-12-01 15:30:16 +01:00
kobewi 9a3960daa5 Simplify GDVIRTUAL_REQUIRED_CALL calls 2022-11-30 18:36:57 +01:00
kobewi 5d2a9a3570 Make remote inspector groups not foldable 2022-11-30 15:31:24 +01:00
Rémi Verschelde cd491c6e47
Merge pull request #69376 from zaevi/adjust_dropping_texture
Adjust position and size for dropping texture in canvas editor.
2022-11-30 10:49:15 +01:00
Rémi Verschelde e51d69dda0
Merge pull request #69365 from timothyqiu/invalid-reference
Fix heap-use-after-free when changing alternative tile ID
2022-11-30 10:48:48 +01:00
Zae a1419f3902 Adjust position and size for dropping texture. 2022-11-30 16:28:49 +08:00
Haoyu Qiu 6c5c773a27 Fix heap-use-after-free when changing alternative tile ID 2022-11-30 10:32:35 +08:00
Fredia Huya-Kouadio 1566f3d49f Add navigation control to the node3d editor viewport 2022-11-29 17:43:16 -08:00
Nathan Franke 4581662add
print each migrated project path instead of always printing "migrating" when there are none 2022-11-29 18:09:16 -06:00
Yuri Sizov cdd99e9bec
Merge pull request #69338 from akien-mga/pm-fix-hacky-project-rename
Project Manager: Fix hacky code for project rename
2022-11-29 22:55:42 +03:00
Rémi Verschelde 09e1db2148
Merge pull request #68665 from TokageItLab/cut-unkeyed-gltf-anim
Add "Trimming" option to cut un-keyed timeline before first key in glTF animation
2022-11-29 16:51:56 +01:00
Rémi Verschelde 6d1702614b
Merge pull request #69341 from TokageItLab/fix-timeline-crash
Fix crash AnimationTimelineEdit when switch FPS mode without track
2022-11-29 16:50:40 +01:00
Rémi Verschelde 5669834f82
Merge pull request #66995 from HolonProduction/main_window_bug
Fix a bug with main window `EditorPlugin`.
2022-11-29 16:50:03 +01:00
Rémi Verschelde 87de4cc7c2
Merge pull request #51471 from KoBeWi/array_of_crashes
Fix crash in EditorPropertyArray
2022-11-29 16:49:32 +01:00
Rémi Verschelde e16acf26db
Merge pull request #63512 from MmAaXx500/autoload-double-add-remove
Prevent autoloads from being added or removed twice
2022-11-29 16:48:58 +01:00
Rémi Verschelde c950d174cf
Merge pull request #67664 from WindyDarian/fix_dependency_import
Don't try to import unknown dependency from scan
2022-11-29 16:48:27 +01:00
Rémi Verschelde 447f6998b1
Merge pull request #67814 from opl-/fix/editor-inspector-accept-event
Fix editor inspector classes not accepting events
2022-11-29 16:48:03 +01:00
Rémi Verschelde 9d64a2e97b
Merge pull request #66194 from YeldhamDev/feature_fixes
Fix some stuff with the editor features
2022-11-29 16:47:26 +01:00
Silc Renew f544b8f844 Fix crash AnimationTimelineEdit when switch FPS mode without track 2022-11-30 00:27:56 +09:00
HolonProduction 1da0a12705 Solve a bug with main window plugins.
When removing a main window plugin the bindings of the main window buttons was not changed to reflect the changed indices.
2022-11-29 16:16:23 +01:00
kobewi d80a2a89f0 Fix crash in EditorPropertyArray 2022-11-29 16:08:43 +01:00
Rémi Verschelde f21f75eb6f
Project Manager: Fix hacky code for project rename
Instantiating a new ProjectSettings is *not* the way to go.
ConfigFile works just fine to read/change a single value.

Fixes memory leaks as the instantiated ProjectSettings was never freed.
Forbid doing this to prevent such problems.

Fixes #25661.
2022-11-29 15:38:22 +01:00
Rémi Verschelde 3d2c3aae4e
Merge pull request #69062 from trollodel/lightweight_editor_mass
Use forward-declarations in big editor classes
2022-11-29 10:27:21 +01:00
trollodel c90d0bd84f Use forward-declarations in big editor classes 2022-11-29 09:59:43 +01:00
Silc Renew db7473672f Add trimming option to cut un-keyed timeline before first key in gltf 2022-11-29 13:53:33 +09:00
Haoyu Qiu 4a50f44cd2 Fix heap-use-after-free when removing a tile in TileSet editor 2022-11-29 09:22:35 +08:00
Silc Renew a4162dad23 Add track validator to AnimationPlayerEditor 2022-11-28 23:33:55 +09:00
Nong Van Tinh 6bec9759eb Fix incorrect hint when drag-and-drop asset into scene 2022-11-28 21:03:00 +07:00
Rémi Verschelde ef090ee6ea
Merge pull request #68874 from TokageItLab/fix-unique-path-keying
Added option to `get_path_to()` to get the shortest path considering unique name
2022-11-28 14:49:34 +01:00
Rémi Verschelde 2975fc9460
Merge pull request #69249 from timothyqiu/tile-data-redraw
Update TileSet preview when paint custom data changes
2022-11-28 11:02:57 +01:00
Rémi Verschelde c392093668
Merge pull request #69272 from rune-scape/rune-avoid-global-base
Avoid using `get_global_class_native_base`
2022-11-28 11:02:43 +01:00
Rémi Verschelde 2fadc1299d
Merge pull request #67871 from Calinou/editor-theme-add-oled-preset
Add Black (OLED) editor theme preset
2022-11-28 08:46:12 +01:00
Rémi Verschelde d4c4a44607
Merge pull request #68759 from MewPurPur/bookmark-fix
Fix text selection persisting on bookmark traversal
2022-11-28 08:06:05 +01:00
Rémi Verschelde 794adbe996
Merge pull request #69178 from aaronfranke/mesh-shape
Use a more specific type for Mesh create_(convex|trimesh)_shape
2022-11-28 08:05:50 +01:00
Ninni Pipping 83588aa74e Fix group reimport bug 2022-11-27 16:31:36 +01:00
Haoyu Qiu 7bc0d0c177 Update TileSet preview when paint custom data changes 2022-11-27 18:35:47 +08:00
rune-scape 847c9bd248 GDScript: Avoid using `get_global_class_native_base` 2022-11-27 03:55:53 -05:00
Markus Sauermann e88fbfc5ea Fix focus after pressing Enter in EditorSpinSlider
With the change from Popup to Controls for the Input-Node, it becomes
necessary to adjust focus after hiding the Input-Node to the initial
Control.
2022-11-26 22:57:31 +01:00
Rémi Verschelde c7ceb94e37
Merge pull request #69079 from adamscott/fix-singleton-scene-cyclic-load
Fix singleton scene cyclic loading
2022-11-25 19:29:57 +01:00
Rémi Verschelde ead82feb24
Merge pull request #69008 from akien-mga/property-hint-array-type-resource-simplify
Add MAKE_RESOURCE_TYPE_HINT macro to simplify binding arrays of resources
2022-11-25 19:29:05 +01:00
Rémi Verschelde c51a86e9bb
Merge pull request #69168 from Mickeon/what-the-heck-is-this-part-2
Remove `Array.find_last()`
2022-11-25 19:29:00 +01:00
Rémi Verschelde 6e693368e1
Merge pull request #69124 from zaevi/tilemap_fix_alternative_tile
[TileMap] Fix alternative tile issues.
2022-11-25 19:27:37 +01:00
Adam Scott 69bb7e5b11 Fix singleton scene cyclic loading 2022-11-25 12:43:55 -05:00
Aaron Franke 93ab82536d
Use a more specific type for Mesh create_(convex|trimesh)_shape 2022-11-25 11:43:11 -06:00
Micky 67cdac6db8 Remove `Array.find_last()` 2022-11-25 18:34:50 +01:00
Rémi Verschelde cfaf2f168f
Merge pull request #69147 from Sauermann/fix-docks-ordering
Fix that the History Dock appears before other Docks in old projects
2022-11-25 14:05:00 +01:00
Rémi Verschelde 5b3d07cc02
Merge pull request #69165 from timothyqiu/capitalization
Improve editor property capitalization
2022-11-25 14:04:54 +01:00
Haoyu Qiu c0e9d928e6 Improve editor property capitalization
* Captialize stop words when they are the last word.
* Add stop words logic in `extract.py`.
2022-11-25 18:54:37 +08:00
Fabio Alessandrelli aa80cfac97 [Editor] Add button to keep the debug server open.
The setting is stored in the project editor metadata, and the server is
automatically started/stopped when the option change (only stopped if no
session is currently active).

The CLI option `--debug-server` now also forces the server to stay open
(without saving the state, unlike the menu option).

This commit also removes the "Keep debugger open" option in the script
editor "debug" menu. That option was really confusing, it used to hide
the bottom panel if and only if the debugger pane was selected, so if
you had your output log open instead (default when pressing play) it
would effectively do nothing. Having an option to save a click in such
a very specific case seems very overkill.
2022-11-25 11:02:55 +01:00
Rémi Verschelde 8dc15ebbbb
Merge pull request #69152 from TokageItLab/fix-anim-key-cant-edit
Fix wrong `AnimationTrackKeyEdit` update timing
2022-11-25 10:03:04 +01:00
Silc Renew 5e785e2ea4 Fix wrong AnimationTrackKeyEdit update timing 2022-11-25 14:50:16 +09:00
Zae 50704f27ed FIx debugger can't inspect sub objects. 2022-11-25 11:09:18 +08:00
Markus Sauermann 302ddbcfd9 Fix that the History Dock appears before other Docks in old projects
Newly introduced docks, that are not apparent in old projects should
be positioned after the ones in the project-config-file.
This way it seems to be less irritating.
2022-11-25 03:09:03 +01:00
Rémi Verschelde a16d3625c3
Merge pull request #69128 from Chaosus/vs_fix_custom_nodes
Fix custom visual shader nodes not being loaded at startup
2022-11-24 19:04:21 +01:00
Rémi Verschelde e1b87cc6a5
Merge pull request #69127 from KoBeWi/redUNDOnt
Cleanup remaining EditorUndoRedoManager usages
2022-11-24 19:04:16 +01:00
Rémi Verschelde e836284667
Merge pull request #69072 from souplamp/history-dock-check-connected
Add history dock to default editor layout, and prevent signal connecting multiple times
2022-11-24 19:04:10 +01:00
Yuri Rubinsky a973ddd28d Fix custom visual shader nodes not being loaded at startup 2022-11-24 20:58:16 +03:00
kobewi 8a3d2f4e0c Cleanup remaining EditorUndoRedoManager usages 2022-11-24 18:56:22 +01:00
Rémi Verschelde 97e632de44
Merge pull request #66574 from MewPurPur/search-results-improvements
Fixes and improvements to Search Results dock
2022-11-24 18:55:56 +01:00
Rémi Verschelde f953ba4ec4
Merge pull request #68938 from brunosxs/fix/subresource-documentation
Fix for documentation not appearing in preview in editor inspector
2022-11-24 18:54:58 +01:00
souplamp 51cf968e56 History dock singleton, set default editor layout, ready notification
- add the history dock to the default editor layout, so when a user does Editor -> Editor Layout -> Default the history dock will no longer disappear
- change the enter tree notification to a ready notification to prevent the history dock from trying to connect 'on_history_changed' signal everytime the dock is moved in the editor layout
2022-11-24 11:45:42 -06:00
Zae f6424e68ea [TileMap] Fix alternative tile issues. 2022-11-25 00:44:02 +08:00
Hugo Locurcio aafa816946
Improve editor property capitalization
- Don't capitalize stop words such as "at", "in" or "to".
- Add more acronyms to capitalize.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-11-24 16:37:54 +01:00
Rémi Verschelde 5d20dccade
Add MAKE_RESOURCE_TYPE_HINT macro to simplify binding arrays of resources 2022-11-24 14:06:00 +01:00
Rémi Verschelde 4abefc0ede
Merge pull request #69105 from pkowal1982/opacity
Fix near one opacity in editor icons
2022-11-24 13:24:42 +01:00
Zae 4fdfc5176c [Editor] Fix float dock shows untranslated title. 2022-11-24 18:52:15 +08:00
Paweł 13e54603cc Fix near one opacity in editor icons 2022-11-24 10:35:50 +01:00
BrunoSXS a5e9878ef8 Fix for documentation not appearing in preview in editor inspector 2022-11-23 22:12:12 -03:00
Rémi Verschelde ea2a8bfe41
Merge pull request #69049 from pkowal1982/round
Fix roundness of DebugSkipBreakpointsOff icon
2022-11-23 23:11:36 +01:00
Paweł dc2092e65a Fix roundness of DebugSkipBreakpointsOff icon 2022-11-23 18:13:36 +01:00
Rémi Verschelde aad4a9252c
Merge pull request #69056 from fire/skeleton-crash
Avoid the Skeleton3DGizmoPlugin crash when clicking in the editor.
2022-11-23 17:23:03 +01:00
Rémi Verschelde cfb5ce771c
Merge pull request #69048 from akien-mga/thorvg-better-errors
ImageLoaderSVG: Improve error reporting
2022-11-23 17:22:16 +01:00
Rémi Verschelde 1757a60024
Merge pull request #68369 from Chaosus/fix_quick_open
Fix Quick Open window to use EDSCALE and save the size between popups
2022-11-23 17:21:51 +01:00
K. S. Ernest (iFire) Lee e0b296ae82 Avoid the Skeleton3DGizmoPlugin crash when clicking in the editor. 2022-11-23 07:09:49 -08:00
Rémi Verschelde d3b8faac74
ImageLoaderSVG: Improve error reporting 2022-11-23 13:27:31 +01:00
Yuri Rubinsky 09d7a1b864 Fix Quick Open window to use EDSCALE and save the size between popups 2022-11-23 11:33:56 +03:00
Rémi Verschelde c13907df0f
Merge pull request #68648 from KoBeWi/instancentianatate_script
Allow directly instantiate scripts in scene tree
2022-11-23 08:32:01 +01:00
Rémi Verschelde 44edd5b8fd
Merge pull request #68354 from anvilfolk/cant-clear-script
Fixes inability to assign script after clearing
2022-11-22 21:15:21 +01:00
kobewi 7797557f91 Allow directly instantiate scripts in scene tree 2022-11-22 18:40:08 +01:00
Rémi Verschelde 4b4e701e06
Merge pull request #68964 from MewPurPur/tweak-gradient-editor
Fixes and improvements to Gradient preview
2022-11-22 08:31:44 +01:00
ocean (they/them) 9187f5c849 Fixes inability to assign script after clearing 2022-11-21 19:43:46 -05:00
VolTer 3c54d8752c Fix Gradient preview issues 2022-11-21 23:32:38 +01:00
souplamp ddbb243a64 Improve Editor Layout dialog (clarity, editor sizing changes)
- include editor scale for changing custom minimum size
- add placeholder text to clarify purpose
- fix squashed itemlist
- remove awkward spacing when dialog box longer than expected
- scale editor layout dialog based on itemlist minimum size
- fix scale initializing incorrectly if opening > Delete Layout before > Save Layout
2022-11-21 15:53:06 -06:00
kobewi 538b84d41a Don't update EditorSettings dialog unnecessarily 2022-11-21 14:47:16 +01:00
Rémi Verschelde c40cb24c1c
Merge pull request #68946 from timothyqiu/setget-3to4
Complete `setget` 3to4 conversion
2022-11-21 11:43:49 +01:00
Rémi Verschelde d0b4cca7a6
Merge pull request #68943 from timothyqiu/vformat-args
Fix not enough arguments error when validating 3to4 conversion
2022-11-21 11:43:35 +01:00
Haoyu Qiu fbf47c5d47 Complete setget 3to4 conversion 2022-11-21 17:05:48 +08:00
Haoyu Qiu 81b6e28c94 Fix not enough arguments error when validating 3to4 conversion 2022-11-21 16:49:59 +08:00
Markus Sauermann 28af870750 Code simplifications found by cppcheck
They are based on:
- Boolean arithmetic simplifications
- setting variables that are not accessed
- constant variables
2022-11-21 08:43:36 +01:00
Marc Gilleron e0d2b7835d Allow selecting text in shader compilation logs 2022-11-20 19:15:39 +00:00
Rémi Verschelde 98da707df5
Merge pull request #68922 from TokageItLab/fix-animtree-crash
Fix `AnimationTreeEditor` crash & rename `AnimationTreeEditor::get_tree()` to `get_animation_tree()`
2022-11-20 17:49:23 +01:00
Silc Renew d595b27467 Fix AnimationTree crash & rename get_tree() to get_animation_tree() 2022-11-21 00:28:10 +09:00
Rémi Verschelde 642859bf51
Merge pull request #68902 from TokageItLab/fix-animation-changed-signal
Fix connection of animation "changed" signal in AnimationTrackEditor
2022-11-20 15:37:42 +01:00
Rémi Verschelde 855402dfee
Merge pull request #68904 from aaronfranke/texture-methods
Rename TextureButton set_*_texture methods to set_texture_*
2022-11-20 15:37:37 +01:00
Micky e791f4fce2 Double precision of `String.split_floats` 2022-11-20 12:29:50 +01:00
Rémi Verschelde 8f00b79f23
Merge pull request #68879 from TokageItLab/fix-bezier-editor-focus-mode
Fix the behavior of focus selection in bezier editor
2022-11-20 11:36:16 +01:00
Rémi Verschelde 5b235e2e5e
Merge pull request #68859 from souplamp/capitalize-skeleton3d-editor-plugin
Capitalize Skeleton3D's editor plugin dropdown options
2022-11-20 11:35:38 +01:00
Aaron Franke f6714858bf
Rename TextureButton set_*_texture methods to set_texture_* 2022-11-19 17:33:40 -06:00
Silc Renew b739bafd51 Fix connection of animation changed signal in AnimationTrackEditor 2022-11-20 06:38:51 +09:00
Silc Renew 3818be64a4 Fix the behavior of focus selection in bezier editor 2022-11-19 16:46:10 +09:00
Silc Renew b9d1550590 Add option to get_path_to() to get the shortest path with unique name 2022-11-19 15:06:25 +09:00
Haoyu Qiu d11bb8809a Fix missing editor plugins 2022-11-19 10:48:38 +08:00
Rémi Verschelde fcfd1e548c
Merge pull request #68824 from TokageItLab/fix-root-assign
Make the root motion track candidates all the bones of the Skeleton existing in the tracks
2022-11-18 23:26:23 +01:00
Rémi Verschelde 14c1726b97
Merge pull request #68821 from EricEzaM/68617-fix-event-text-and-jpmotion-deadzone
Refactor `get_event_text` to a static method, remove high deadzone from event configuration
2022-11-18 23:23:18 +01:00
Rémi Verschelde a66fc4cf7e
Merge pull request #60686 from trollodel/move_editor_registration
Move editor class and plugin registrations to a dedicated file
2022-11-18 23:07:48 +01:00
souplamp a3917039d1 capitalize skeleton3d plugin dropdown 2022-11-18 15:47:58 -06:00
Rémi Verschelde c36691394a
Merge pull request #68799 from Chaosus/shader_fix
Prevent stack overflow when setting a shader global value
2022-11-18 16:21:18 +01:00
Rémi Verschelde b1605c6d35
Merge pull request #68801 from vincentmoreschi/vincentmoreschi/master
Add raise -> move_to_front rename line
2022-11-18 16:19:07 +01:00
Silc Renew 7f00fd4ff7 change root motion track candidating method 2022-11-18 17:49:34 +09:00
Eric M da1589dae6 Refactor `get_event_text` to a static method, remove high deadzone from event configuration.
* `get_event_text` and `get_device_string` are now static methods (they always could have been)
* Applied 90% deadzone on joypad motion inputs in the configurator had the effect of ignoring most joypad motion inputs. Low ones do not need to be filtered out as JoypadMotion is only considered 'pressed' if it as above 50% strength - and that works well.
2022-11-18 18:18:31 +10:00
trollodel 75177455d9 Move editor class and plugin registrations to a dedicated file 2022-11-18 08:02:08 +01:00
Chenzo 378d9a630c Add raise -> move_to_front rename line 2022-11-17 16:56:10 -05:00
Yuri Sizov 270c810343 Add more call-to-action notes when documentation is missing 2022-11-17 22:33:55 +03:00
Yuri Rubinsky b3f22ec03c Prevent stack overflow when setting a shader global value 2022-11-17 19:12:04 +03:00
Rémi Verschelde 0b27173919
Fixup TileSet build after #66557
Last rebase was too old, didn't include this API rename.
2022-11-17 13:54:15 +01:00
Rémi Verschelde 2ca972ad01
Merge pull request #66557 from MisterMX/fix/tileset-custom-data-type-reload-editor
fix(tileset): Recreate custom data editor if type has changed
2022-11-17 13:49:02 +01:00
Rémi Verschelde 4829911df2
Merge pull request #64368 from YeldhamDev/tile_editor_label_center
Properly center labels in the TileMap/Set editors
2022-11-17 13:48:53 +01:00
Rémi Verschelde 994c935d97
Merge pull request #63601 from YeldhamDev/tooltip_stuff
Small changes to some tooltips
2022-11-17 13:48:46 +01:00
Rémi Verschelde ef22b6f757
Merge pull request #68766 from TokageItLab/fix-update-animation-fps-edit
Fix GUI update timing when AnimationEditor changes FPS
2022-11-17 11:57:00 +01:00
Rémi Verschelde 74590e9597
Merge pull request #68651 from ClarkThyLord/fix_code_editor_search_match_inconsistencies
Fix code editor search match inconsistencies
2022-11-17 11:56:52 +01:00
Silc Renew cb4bdc7e1b Fix update timing when AnimationEditor changes FPS 2022-11-17 12:53:01 +09:00
VolTer 135c8cbf98 Fix text selection persisting on bookmark traversal 2022-11-17 02:50:04 +01:00
Christian Cuevas 5347c2b10e Fix "Search" match inconsistencies
- Offset by searched length not line text
- Continue searching line for whole word matches on mismatch: Breaking at this point makes it so that upon any whole word mismatch all potential matches after this point inline are skipped, to avoid this unwanted behavior we continue searching the line positioned after the mismatch.
2022-11-16 14:02:16 -08:00
Yuri Rubinsky 359d13cddc Fix the bounds of varying popup in visual shader editor 2022-11-16 22:05:09 +03:00
Rémi Verschelde 6d2a7cb46d
Merge pull request #68709 from MewPurPur/instance-begone-part3
Remove more instances of 'instance' being used as a verb
2022-11-16 14:41:42 +01:00
VolTer 3b4f5f8a04 Remove more instances of 'instance' being used as a verb 2022-11-16 14:01:53 +01:00
Rémi Verschelde ee1d4d4a52
Merge pull request #68725 from TokageItLab/fix-bone-renamer-for-conflicting
Improve BoneRenamer to avoid conflicting with original bone name
2022-11-16 09:27:34 +01:00
Silc Renew ac1db40614 Improve BoneRenamer to avoid conflicting with original bone name 2022-11-16 16:36:33 +09:00
kobewi 45bdf4d609 Add explicit name to History dock 2022-11-16 03:28:14 +01:00
Rémi Verschelde 7b3c1a0a83
Merge pull request #68690 from KoBeWi/StringNoName
Change EditorQuickOpen base_type to String
2022-11-15 16:25:31 +01:00
Rémi Verschelde e1ddd74b23
Merge pull request #68159 from Mickeon/doc-help-return-array
Change docs' Typed Array & void representation
2022-11-15 16:24:43 +01:00
kobewi 747a966211 Change EditorQuickOpen base_type to String 2022-11-15 15:12:42 +01:00
Micky 0f82aaea73 Change docs' Typed Array & void representation
Typed Arrays now look the same as to how they're defined in GDScript.
Also modifies "void" to be darkened and show a tooltip.
2022-11-15 14:19:07 +01:00
Rémi Verschelde 91fcc3986e
Merge pull request #68340 from KoBeWi/deparent
Don't reparent dragged node when non needed
2022-11-15 13:25:30 +01:00
Rémi Verschelde 2444860d03
Merge pull request #67798 from KoBeWi/code_resurrection
Uncomment drag forwarding in CreateDialog
2022-11-15 13:25:00 +01:00
Rémi Verschelde eec835f547
Merge pull request #67651 from KoBeWi/_of_damnation
Fix double hint paste in EditorResourcePicker
2022-11-15 13:23:36 +01:00
Rémi Verschelde 22b19bbdeb
Merge pull request #67397 from KoBeWi/impostorpup
Change EditorSpinSlider's popup to Control
2022-11-15 13:22:51 +01:00
Haoyu Qiu 6c5dc78f59 Make Camera3D gizmo the same aspect ratio as its viewport 2022-11-15 17:31:53 +08:00
Rémi Verschelde 0332f04e97
Merge pull request #60931 from EspeuteClement/get_selected_files
Add EditorInterface.get_selected_paths()
2022-11-14 23:26:05 +01:00
Rémi Verschelde 80dbcfd995
Merge pull request #68657 from Sauermann/fix-redundant-initialization
Remove redundant non-trivial Variant types initializations
2022-11-14 23:23:54 +01:00
cespeute 4b00c2ec57 Add EditorInterface.get_selected_paths()
Exposes the selected paths in the editor filesystem dock.
Implements this proposal : https://github.com/godotengine/godot-proposals/issues/2424

Also renamed the old `get_selected_path` to `get_selected_directory` to
better match the already existing get_current_path function.
2022-11-14 22:46:27 +01:00
Markus Sauermann 3b14f0334c Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
Rémi Verschelde 315c64282b
Fix misc formatting issues
Somehow I missed the failing CI report from trailing whitespace.

Fixed a couple typos found by codespell while at it, and misc
trailing semicolons in one of the files.
2022-11-14 19:00:48 +01:00
Rémi Verschelde 19ae37cc99
Merge pull request #68626 from AleCamara/bug-66928-crash-preview-short-mp3
Fix editor crash on audio preview
2022-11-14 18:29:57 +01:00
Rémi Verschelde 7dafe06e27
Merge pull request #68624 from AleCamara/bug-67235-gradient-slider
Fix clicking in gradient editor
2022-11-14 18:29:52 +01:00
Rémi Verschelde beed90ea6d
Merge pull request #67963 from KoBeWi/den_of_actions
Fix nested actions in EditorUndoRedoManager
2022-11-14 18:29:46 +01:00
Rémi Verschelde 30145a9ef7
Merge pull request #67852 from alex-pahdo/patch-1
Add more info to WAV import errors
2022-11-14 16:38:21 +01:00
alex-pahdo f5d256b118
Add more info to WAV import errors
Print mismatched header contents and file size, which can provide more clues to users when debugging.
2022-11-14 15:09:48 +01:00
Fabio Alessandrelli 67265d14f7 [MP] Move engine and editor profilers to a plugin.
Also refactor the editor plugin out of the ReplicationEditor.
2022-11-14 15:09:00 +01:00
Fabio Alessandrelli d568b25e36 [Editor] Better expose EditorDebuggerPlugin.
Now splitted into two classes:
- EditorDebuggerPlugin (RefCounted).
- EditorDebuggerSession (abstract).

This allows the EditorPlugin to be in control of the debugger plugin
lifecycle, be notified when sessions are created, and customize each of
them independently.

We should slowly transition the various profilers and captures in
ScriptEditorDebugger to their own plugins, and decouple
ScriptEditorDebugger from it's UI part (making it the "real"
EditorDebuggerSession potentially dropping the wrappers).
2022-11-14 14:55:22 +01:00