Commit graph

13845 commits

Author SHA1 Message Date
Yuri Sizov
6340fb3479 Merge pull request #80879 from jsjtxietian/keep-show-built-in-action-after-editor-restart
Save "Show Built-In Actions" state to project metadata
2023-08-25 14:58:44 +02:00
Yuri Sizov
e21ded8f8f Merge pull request #80450 from KoBeWi/settings_freeze,_no_more_changes
Deprecate `project_settings_changed` signal
2023-08-25 14:58:32 +02:00
ajreckof
f2758d8591 Fix paste value emptying an array on some right click location 2023-08-25 14:00:02 +02:00
Aaron Franke
4c51544d62
Fix redundant enter tree notification in project export texture format 2023-08-24 12:32:10 -05:00
Yuri Sizov
4cdbbfd071 Differentiate between core and editor-only singletons
This makes sure that running scenes in debug mode
(from the editor) does not crash Godot.
In export mode it should already work correctly, because
editor-only singletons are never registered in the first place.
2023-08-24 16:46:54 +02:00
Yuri Sizov
2c77f07aaa Add a script method to get its class icon
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2023-08-24 13:05:41 +02:00
Yuri Sizov
6ab34005ad Extract editor scene tabs into their own component 2023-08-24 12:24:29 +02:00
bruvzg
5453503697
[Text Server] Store extra spacing of individual font variations. 2023-08-24 11:58:12 +03:00
Rakka Rage
dc2aa69c46 Convert TileSet Atlas Merge input images to RGBA8 to match output, if needed 2023-08-23 19:26:57 -04:00
kobewi
2cd63a1ef0 Made hidden ProjectSettings groups more explicit 2023-08-23 22:43:43 +02:00
Rakka Rage
c17848f07d Include animation frames in tile atlas merge. 2023-08-23 16:19:24 -04:00
jsjtxietian
9c1278cae8 save show built-in actions button state 2023-08-22 16:36:48 +08:00
Rémi Verschelde
b195b0a7d4
Merge pull request #80865 from MewPurPur/cam-revert
Revert to the old Camera icons
2023-08-22 09:09:31 +02:00
MewPurPur
383c0116d7 Revert to the old Camera icons 2023-08-22 01:58:04 +03:00
Rémi Verschelde
cc01b28886
Merge pull request #80779 from Chaosus/cpuparticles_converter
Implement conversion from `CPUParticles` to `GPUParticles` (3D/2D)
2023-08-21 19:26:48 +02:00
Rémi Verschelde
38b8751f0d
Merge pull request #79891 from Calinou/plugin-editor-create-add-tooltips
Add tooltips to the plugin editor creation dialog
2023-08-21 19:26:24 +02:00
kobewi
dd7152a311 Unedit nodes early when closing scene tab 2023-08-21 14:12:26 +02:00
Rémi Verschelde
5c690c324e
Merge pull request #80811 from Nolkaloid/root_name_no-translate
Disable translation of root name on scene creation
2023-08-21 08:25:50 +02:00
Rémi Verschelde
23db0240a2
Merge pull request #78996 from Tetane/create_shader_node_popup
Fix "Create Shader Node" window position when visual shader editor is floating
2023-08-21 08:20:42 +02:00
Hugo Locurcio
aa8eb8fd3a
Add tooltips to the plugin editor creation dialog 2023-08-21 00:00:48 +02:00
Nolkaloid
4d13126e3b Disable translation of root name on scene creation 2023-08-20 11:23:38 +02:00
Rémi Verschelde
f2f8cfb783
Merge pull request #80771 from KoBeWi/simplify-inator
Simplify making texture nodes in 2D editor
2023-08-19 11:49:24 +02:00
Rémi Verschelde
1fbe3e12a6
Merge pull request #79213 from martinboue/show-only-compatible-nodes
Show only compatible nodes in 'Select a node' window
2023-08-19 11:48:56 +02:00
Yuri Roubinski
7fcb91f077 Implement conversion from CPUParticles to GPUParticles (3D/2D) 2023-08-19 11:58:57 +03:00
kobewi
0d8f8d7054 Simplify making texture nodes in 2D editor 2023-08-19 00:17:34 +02:00
Martin Boué
bf4cbd4129 Show only compatible nodes in 'Select a node' window
Fixes https://github.com/godotengine/godot-proposals/issues/7217
2023-08-18 18:52:00 +02:00
Rémi Verschelde
a2a1ed1aac
Merge pull request #80576 from KurtBliss/master
Fixed editor filesystem/import properties not being caught by the doctool.
2023-08-18 15:43:58 +02:00
kobewi
a88e3b8604 Improve scene tiles workflow 2023-08-18 13:55:30 +02:00
Rémi Verschelde
a017e9c698
Merge pull request #80119 from MewPurPur/svg-opacities-standardization
Optimize and fix up some SVGs
2023-08-18 09:30:23 +02:00
Rémi Verschelde
8c0e08481d
Merge pull request #80726 from dalexeev/editor-dont-cache-script-signal-descriptions
Editor: Don't cache script signal descriptions
2023-08-18 00:42:02 +02:00
Rémi Verschelde
1c0e2e532c
Merge pull request #80724 from MewPurPur/regex-icon
Add a RegEx icon
2023-08-18 00:41:39 +02:00
MewPurPur
c845242250 Add a RegEx icon 2023-08-17 19:41:56 +03:00
Danil Alexeev
fe5bcadb73
Editor: Don't cache script signal descriptions 2023-08-17 18:59:37 +03:00
Hugo Locurcio
81d603ad0e
Replace all flags with one value when holding Cmd in the layers editor
This behavior is inspired by Blender (except it's the other way
around to preserve the current default behavior).

Trying to enable a single enabled value with Cmd held will invert the
current flags, which makes enabling all flags but one faster.
2023-08-17 14:01:55 +02:00
Rémi Verschelde
281b7b9fdf
i18n: Sync translations with Weblate
(cherry picked from commit 7a86ffc034)
2023-08-17 13:24:10 +02:00
Rémi Verschelde
446dfdbd87
Merge pull request #80329 from xiongyaohua/path3d_tilt_gizmo
Add handles to control Curve3D tilt
2023-08-17 12:29:55 +02:00
Rémi Verschelde
d3b69c09ad
Merge pull request #78297 from aganm/contrast
Change light themes default contrast from -0.08 to -0.06
2023-08-17 12:27:53 +02:00
Rémi Verschelde
a42f95f9e2
Merge pull request #80689 from AThousandShips/gizmo_fix
Fix gizmo for `BoxShape3D`
2023-08-17 11:27:28 +02:00
Rémi Verschelde
c7356c795b
Merge pull request #80647 from jsjtxietian/CollisionShape3D-Shape-Size-handles-missing-when-Script-editor-floating
Fix 2D/3D viewport context switching issues when script editor is floating
2023-08-17 11:27:04 +02:00
Rémi Verschelde
417239ee6d
Merge pull request #80411 from dalexeev/editor-improve-signal-dock
Editor: Improve Signal Dock for script classes
2023-08-17 11:25:51 +02:00
Rémi Verschelde
8d0c9a4c87
Merge pull request #80317 from KoBeWi/taking_shortcuts
Ensure TileMap editor shortcuts are handled
2023-08-17 11:24:39 +02:00
Rémi Verschelde
678c89aa1a
Merge pull request #79382 from MewPurPur/better-prepare-scene-context-menu
Disable irrelevant scene tab context menu items
2023-08-17 11:20:57 +02:00
Rémi Verschelde
229af8e573
Merge pull request #78457 from aaronfranke/tex-format-fix-button
Add a button in the export dialog to fix missing texture formats
2023-08-17 11:20:08 +02:00
Rémi Verschelde
aa9e4b8ace
Merge pull request #77096 from spanzeri/skeleton-editor-cleanup-followup
Additional cleanup of bone editors
2023-08-17 11:19:44 +02:00
Rémi Verschelde
4b11bc2b34
Merge pull request #36493 from KoBeWi/echo_menus
Add option to allow echo events in menu shortcuts
2023-08-17 11:18:50 +02:00
Aaron Franke
ada360affe
Add a button in the export dialog to fix missing texture formats 2023-08-17 02:56:42 -05:00
Tomasz Chabora
3dd881b4e4 Add option to allow echo events in menu shortcuts 2023-08-16 16:59:17 +02:00
Rémi Verschelde
c081d1bd24
Merge pull request #78816 from kleonc/scene-tree-fix-drag-drop-to-parent-with-internal-nodes
Fix drag-dropping nodes to parent with internal nodes
2023-08-16 16:54:06 +02:00
A Thousand Ships
1dcb45a79c Fix gizmo for BoxShape3D 2023-08-16 16:49:04 +02:00
Danil Alexeev
1d5539cf77
Editor: Improve Signal Dock for script classes
* Add signal documentation for script classes.
* Use separate sections for script class inheritance.
2023-08-16 13:05:10 +03:00
Rémi Verschelde
90f90cbcb0
Merge pull request #80661 from MewPurPur/nav-agent-more-readable
Make the NavigationAgent3D icon more readable
2023-08-16 09:18:59 +02:00
Rémi Verschelde
d2f7f8de34
Merge pull request #80659 from MewPurPur/portable-texture-icon
Add PortableCompressedTexture2D icon
2023-08-16 09:18:35 +02:00
MewPurPur
82c45ed689 Make the NavigationAgent3D icon more readable 2023-08-15 18:31:02 +03:00
MewPurPur
8498078ee9 Add PortableCompressedTexture2D icon 2023-08-15 17:31:43 +03:00
jsjtxietian
fec0396cac fix CollisionShape3D Shape Size handle will missing
when Script editor floating
2023-08-15 12:41:20 +08:00
Rémi Verschelde
c78be12f42
Merge pull request #80610 from lawnjelly/fix_tilemap_editor_plugin_crash2
Fix `TileMapEditorPlugin` crash by storing tilemap ID instead of pointer
2023-08-14 15:31:19 +02:00
Rémi Verschelde
c2fde9cc1e
Merge pull request #80607 from lawnjelly/fix_tileset_signal_crash
Fix crash on exit where `TileSet` calls destroyed `TileSetAtlasSourceEditor`
2023-08-14 15:30:32 +02:00
Rémi Verschelde
6f1c205221
Merge pull request #80598 from MewPurPur/curve-xyz-texture-icon
Add CurveXYZTexture icon
2023-08-14 15:30:08 +02:00
lawnjelly
356fc728a4 Fix TileMapEditorPlugin crash by storing tilemap ID instead of pointer
Store the tilemap ObjectID instead of raw pointer, and check it is valid before access.
2023-08-14 12:56:52 +01:00
KurtBliss
300ecfab89 Fixed editor filesystem/import properties not being caught by the doctool
Defined glft editor properties in editor_settings
Added documentation descriptions and entries
2023-08-14 06:06:28 -04:00
MewPurPur
d009caef2b Add CurveXYZTexture icon 2023-08-14 12:44:33 +03:00
lawnjelly
fa7be20ee1 Fix crash on exit where TileSet calls destroyed TileSetAtlasSourceEditor
Removes signal from TileSet on destroying TileSetAtlasSourceEditor, to prevent TileSet calling function in destroyed TileSetAtlasSourceEditor.
2023-08-14 10:25:50 +01:00
MewPurPur
93318d2dd5 Optimize and fix up some SVGs 2023-08-13 17:48:17 +03:00
Yuri Sizov
2445414aa0 Avoid unnecessary inspector updates when loading or switching scenes
This should result in some noticeable performance improvements,
aside from fixing bugs due to conflicts in logic.
This also simplifies some related code identified while debugging.
2023-08-12 13:32:59 +02:00
Daniel Roberts
46e395abb1 Add handles to control Curve3D tilt 2023-08-12 14:55:38 +08:00
kobewi
6b7829b5ff Fix TileSet not disappearing on deselecting TileMap 2023-08-12 00:47:26 +02:00
Rémi Verschelde
a22cadfee9
Merge pull request #76778 from eugene87222/create-plugin-dialog
Apply new input validation method for Create Plugin dialog
2023-08-11 10:32:36 +02:00
Rémi Verschelde
48a447b5ee
Merge pull request #58389 from rcorre/blender-numeric
Implement numeric blender-style transforms.
2023-08-11 10:31:40 +02:00
Tyler
98bdf279d7 Fixes Scene corruption when child scene is renamed in another directory
Fixes #80379
2023-08-10 21:38:31 -04:00
Eugene Yang
8671dc4e03 Add validation pane to create plugin dialog 2023-08-10 22:08:51 +08:00
kobewi
fca3ab5564 Deprecate project_settings_changed signal 2023-08-10 15:07:25 +02:00
Rémi Verschelde
7df393312f
Merge pull request #80476 from bruvzg/log_print_rich_ml
[Editor Log] Clear rich print tags only after the last line.
2023-08-10 14:55:56 +02:00
Rémi Verschelde
b78d52b693
Merge pull request #75694 from YuriSizov/editor-hot-singleton-interfaces-in-your-area
Make `EditorInterface` accessible as a singleton
2023-08-10 14:53:35 +02:00
Ryan Roden-Corrent
d6a83a6bac
Implement numeric blender-style transforms.
This allows the user to input numbers during an "instant" (blender
style) transform operation to specify exactly how far to transform the
object. For example:

g2.5xx: Translate 2.5 units along the local x-axis
ry-45: Rotate -45 degrees around the y-axis
s.25Z: Scale by a factor of .25 on the xy plane

Some shared code between the traslate/rotate/scale branches of update_transform
was refactored into apply_transform so numeric transforms could reuse it.

This removes any "{X,Y,Z}-Axis Transform" messages. These prevented the
"Transforming: (x,y,z)" messages from showing, and the latter are more
useful, as they tell you the actual units.

This also rearranges finish_transform to clear _edit before updating
the axis rendering, so an axis doesn't remain highlighted.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-08-10 07:18:18 -04:00
bruvzg
9a6ecda591
[Editor Log] Clear rich print tags only after the last line. 2023-08-10 09:48:53 +03:00
kobewi
f02133a4a2 Fix TileSet with TileMap handling 2023-08-09 23:50:45 +02:00
Rémi Verschelde
1b132b7c23
Merge pull request #80377 from YuriSizov/importers-are-made-to-be-alone
Register and cleanup resource importer singletons in a predictable way
2023-08-09 17:46:33 +02:00
Rémi Verschelde
8375f73680
Merge pull request #80355 from jcovin293/issue/80347/fix-missing-ellipsis
Fix menu items that trigger secondary interface missing ellipsis
2023-08-09 17:46:26 +02:00
Yuri Sizov
951ea2415b Make EditorInterface accessible as a singleton
- EditorPlugin.get_editor_interface() is removed as redundant.
2023-08-09 16:01:31 +02:00
RandomWalrus13
585633ea85 Fix menu items that trigger secondary interface missing ellipsis
fix #80347
2023-08-09 08:30:35 -05:00
Rémi Verschelde
f6b9d445b5
Merge pull request #80285 from YeldhamDev/just_a_little_bit
Further separate icon from text of buttons in both editor and default themes
2023-08-09 15:20:25 +02:00
Rémi Verschelde
75c979e48d
Merge pull request #80256 from garychia/stack_var_debug
Avoid retrieving the object ID of a stack variable if it is nil
2023-08-09 15:20:20 +02:00
Rémi Verschelde
1163dac9e3
Merge pull request #80215 from clayjohn/HDR-2D
Add option to enable HDR rendering in 2D
2023-08-08 16:57:33 +02:00
Rémi Verschelde
60d6e14323
Merge pull request #78744 from KoBeWi/easy_peasy_routine_refactor_stuff
Standardize dialog input validation as a new class
2023-08-08 16:55:55 +02:00
Rémi Verschelde
14256a2395
Merge pull request #78468 from KoBeWi/enmarginalization
Fix ColorPicker margin theme property
2023-08-08 16:55:32 +02:00
kobewi
7f41403a6f Standardize dialog input validation as a new class 2023-08-08 16:14:35 +02:00
Hugo Locurcio
e21388d9f4
Readd a Camera3D icon gizmo to the 3D editor, renew Camera2D/3D icons
The lack of icon gizmo made it no longer possible to select Camera3D
nodes in the 3D viewport by clicking on them.

A new Camera3D icon gizmo was designed to be direction-neutral.
This avoids the issue that the previous icon gizmo had, since it was
always facing right.

This also adds icons for CameraAttributesPractical and CameraAttributesPhysical.
2023-08-08 16:04:53 +02:00
Michael Alexsander
98bdb56815
Further separate icon from text of buttons in both editor and default themes 2023-08-07 13:22:39 -03:00
Yuri Sizov
237515d0ed Register and cleanup resource importer singletons in a predictable way 2023-08-07 17:49:33 +02:00
Rémi Verschelde
169a28bd0f
Merge pull request #80362 from Calinou/string-use-unicode-compiletime
Use compile-time Unicode string conversion
2023-08-07 14:55:58 +02:00
Rémi Verschelde
c833827e50
Merge pull request #80102 from MewPurPur/undo-redo-icon
Add UndoRedo icon
2023-08-07 14:50:23 +02:00
Rémi Verschelde
5413b185f1
Merge pull request #79971 from Calinou/editor-filesystem-dock-expand-favorites
Uncollapse favorites by default in the editor FileSystem dock
2023-08-07 14:49:58 +02:00
Rémi Verschelde
016621f51d
Merge pull request #79467 from Calinou/editor-add-paste-as-sibling
Add a shortcut to paste nodes as sibling of the selected node
2023-08-07 14:47:27 +02:00
Rémi Verschelde
1ee571887e
Merge pull request #79431 from MewPurPur/non-placeholder-icons-for-placeholders
Add icons to some placeholder classes
2023-08-07 14:46:14 +02:00
Rémi Verschelde
524c8f03e7
Merge pull request #78903 from MewPurPur/forget-dice-we-have-texture-cubes-now
Add icons for 3D texture classes
2023-08-07 14:44:58 +02:00
Rémi Verschelde
02709d57ee
Merge pull request #78858 from MewPurPur/tweak-mesh-preview
Improve material and mesh preview buttons
2023-08-07 14:44:34 +02:00
Rémi Verschelde
bbfa74a991
Merge pull request #75137 from nongvantinh/implement-6320
Expose 'Reimport' on right-click context menu in the FileSystem panel
2023-08-07 14:43:44 +02:00
Rémi Verschelde
faaf27f284
Fix various typos with codespell
Also includes typo fixes from #79993, #80068, #80276, and #80303.

Co-authored-by: betalars <contact@betalars.de>
Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com>
Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-08-07 13:09:47 +02:00
clayjohn
57eb762bae Add option to enable HDR rendering in 2D
This is needed to allow 2D to fully make use of 3D effects (e.g. glow), and can be used to substantially improve quality of 2D rendering at the cost of performance

Additionally, the 2D rendering pipeline is done in linear space (we skip linear_to_srgb conversion in 3D tonemapping) so the entire Viewport can be kept linear.
This is necessary for proper HDR screen support in the future.
2023-08-07 11:24:03 +02:00
Hugo Locurcio
e9f723006a
Use compile-time Unicode string conversion
Thanks to this syntax introduced in C++11, this reduces the amount of work
that needs to be performed at run-time while making the code more terse.
2023-08-07 10:38:16 +02:00
kobewi
181eecc51b Ensure TileMap editor shortcuts are handled 2023-08-06 03:38:03 +02:00
Yuri Sizov
dc6ea03101
Merge pull request #35555 from Calinou/add-version-project-setting
Add a "version" project setting and use it in new export presets
2023-08-04 21:01:15 +02:00
MewPurPur
3510b6e02c Add icons for 3D texture classes 2023-08-04 19:38:27 +03:00
MewPurPur
21739b89ef Add UndoRedo icon 2023-08-04 19:18:11 +03:00
MewPurPur
4b0ee492ae Disable irrelevant scene tab context menu items 2023-08-04 19:04:18 +03:00
Chia-Hsiang Cheng
8da66412f6 Avoid retrieving the object ID of a Nil variable 2023-08-04 22:38:43 +08:00
kobewi
05ab444357 Show valid types in SceneTreeDialog 2023-08-04 13:50:27 +02:00
Hugo Locurcio
ad4480bf2e
Add a "version" project setting and use it in new export presets
This makes it easy to retrieve the project version at runtime
for display purposes, while simplifying the export preset configuration.
You can now leave the version empty unless you need to override it on a per-preset
basis.

Since export presets save the values of default values to the `export_presets.cfg`
file, this change only affects export presets created after this commit was merged.
2023-08-04 10:29:33 +02:00
MewPurPur
50f4c298e6 Improve material and mesh preview buttons 2023-08-04 01:47:32 +03:00
Yuri Sizov
e4b8dc81b8 Merge pull request #78300 from ajreckof/fix-replace-node-destroying-Node-properties
Auto-update properties when replacing a node
2023-08-03 22:37:40 +02:00
ocean (they/them)
bf3af190c3 Increase vertical size of CurveEdit when Inspector widens
This should allow users to edit points in a less constrained space,
which feels like a UX improvement.

That said, changing minimum size according to current size might be a
hack that causes issues in certain situations.
2023-08-03 16:02:28 -04:00
ajreckof
4da9927faf Fix replace node deleting Node properties.
Update editor/scene_tree_dock.cpp

Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-08-03 18:38:24 +02:00
Rémi Verschelde
bf185e4f70
Merge pull request #79357 from raulsntos/dotnet/build-button
C#: Move build button to EditorRunBar
2023-08-03 18:33:41 +02:00
Rémi Verschelde
179e3d6ab9
Merge pull request #78292 from ajreckof/Fix-batch-rename-for-unique-name-and-empty-name-
Fix batch rename for unique name and empty name
2023-08-03 18:33:37 +02:00
ajreckof
4909396cfc Fix batch rename for unique name and empty name. 2023-08-03 18:26:58 +02:00
Raul Santos
03598062fd
C#: Move build button to EditorRunBar
- Move C# build button to `EditorRunBar`.
- Add C# build icon.
- Add shortcut macros to `GodotTools`.
- Move C# build shortcuts to C#.
2023-08-03 17:55:52 +02:00
Rémi Verschelde
8b6c867c81
Merge pull request #79280 from raulsntos/dotnet/better-push-error
C#: Improve `GD.PushError` and `GD.PushWarning`
2023-08-03 14:46:44 +02:00
Rémi Verschelde
4ed08409b0
Merge pull request #78108 from aaronfranke/variant-util-header
Make a header for VariantUtilityFunctions
2023-08-03 14:46:29 +02:00
kobewi
0a9a8c75fa Improve editing of box collision shapes 2023-08-03 14:09:10 +02:00
Yuri Sizov
79f6ac5cd5 Merge pull request #80161 from RandomShaper/avoid_crash_on_late_prints
Avoid crash on exiting due to late prints
2023-08-02 21:37:13 +02:00
Yuri Sizov
1886dee28f Merge pull request #79588 from magian1127/4.0Fix78052
Fix the error when clicking AnimationTree in the editor
2023-08-02 21:36:56 +02:00
Magian
0b3c073c9e Fix the error when clicking AnimationTree in the editor 2023-08-02 22:45:09 +08:00
Pedro J. Estébanez
b3a5e10f4a Avoid crash on exiting due to late prints 2023-08-02 13:38:58 +02:00
Rémi Verschelde
f823bccdf8
Merge pull request #80135 from KoBeWi/A_NumbER_Is_REQuIrEd
Ignore null "id" in tile source proxy
2023-08-02 12:22:48 +02:00
Rémi Verschelde
6adc25ec7b
Merge pull request #80129 from MewPurPur/shader-include-icon
Add ShaderInclude class icon
2023-08-02 12:22:25 +02:00
Rémi Verschelde
74ce33a6fe
Merge pull request #80113 from MewPurPur/performance-icon
Add an icon to the Performance object
2023-08-02 12:21:36 +02:00
Rémi Verschelde
65d80c36a8
Merge pull request #80103 from MewPurPur/access-icons
Add FileAccess and DirAccess icons
2023-08-02 12:21:12 +02:00
Rémi Verschelde
f8ead6d5b6
Merge pull request #80089 from AThousandShips/editor_settings_fix
Fix API hash related crash in `EditorSettings`
2023-08-02 12:20:47 +02:00
Rémi Verschelde
f5b2d7d393
Merge pull request #79774 from aaronfranke/scene-import-root-type-name
Improve overriding the root type or root name in the scene importer
2023-08-02 12:19:34 +02:00
Rémi Verschelde
93c69a2db6
Merge pull request #79756 from sfreed141/root-node-casing-fix
In Create New Scene dialog derive the default root node name based on `editor/naming/node_name_casing`
2023-08-02 12:19:11 +02:00
Rémi Verschelde
1cc377b4e0
Merge pull request #79650 from garychia/filters_section
Avoid duplicating the "Filters" section
2023-08-02 12:18:21 +02:00
Rémi Verschelde
2132638937
Merge pull request #79404 from raulsntos/dotnet/lines-open-in-external-editor
C#: Fix line in OpenInExternalEditor
2023-08-02 12:17:31 +02:00
Rémi Verschelde
2331eab917
Merge pull request #78675 from AThousandShips/template_fix
Fix indentation in script templates
2023-08-02 12:15:50 +02:00
kobewi
91328a86cd Ignore null "id" in tile source proxy 2023-08-01 22:52:16 +02:00
Aaron Franke
ba3fb66d71
Merge pull request #79907 from kdiduk/fix-advanced-scene-reimport-default-settings
Fix reimporting scene with default values selected
2023-08-01 15:30:07 -05:00
Aaron Franke
aa187d8d69
Improve overriding the root type or root name in the scene importer 2023-08-01 13:30:57 -05:00
Yuri Sizov
2d6e98d9c8 Merge pull request #79984 from KoBeWi/reverse_engineering_or_something_idk
Reverse condition for skipping directories
2023-08-01 20:03:51 +02:00
Yuri Sizov
de0a06ee80 Merge pull request #79258 from KoBeWi/drag_and_drop_anarchy
Assume root when dropping node to unassigned script
2023-08-01 20:03:38 +02:00
MewPurPur
c2bbd12ec1 Add ShaderInclude icon 2023-08-01 20:38:28 +03:00
kobewi
3f272f4910 Assume root when dropping node to unassigned script 2023-08-01 17:36:51 +02:00
Yuri Sizov
dfebfd10a8 Merge pull request #80058 from dalexeev/editor-fix-pot-gen-escaping
Editor: Fix escaping issues with POT generator
2023-08-01 17:36:07 +02:00
Yuri Sizov
2bd1d8ac28 Merge pull request #80107 from Spycemyster/reimport-path-message
Add path to missing import texture metadata to error message
2023-08-01 17:26:10 +02:00
Yuri Sizov
77785c340d Merge pull request #79852 from YeldhamDev/that_was_getting_annoying
Fix usability issues with scene tabs
2023-08-01 17:25:33 +02:00
Yuri Sizov
6731accf80 Merge pull request #79419 from KoBeWi/no_ID_for_you
Unexpose tile source ID
2023-08-01 17:25:11 +02:00
Yuri Sizov
266e195c0d Merge pull request #77533 from EMBYRDEV/phys-mat-import-option
Add more physics options to the Scene importer
2023-08-01 17:25:02 +02:00
MewPurPur
182db99a61 Add an icon to the Performancce object 2023-08-01 14:29:43 +03:00
Spencer Chang
57d9e3bb0e Added path to output of missing import texture metadata 2023-08-01 01:28:36 -07:00
MewPurPur
4fa123ca56 Add FileAccess and DirAccess icons 2023-08-01 09:54:34 +03:00
Yuri Sizov
0387defcbe Merge pull request #80037 from KoBeWi/we_are_reaching_levels_of_hacks_that_should_not_be_possible
Edit TileSet source on double click
2023-07-31 21:01:47 +02:00
Yuri Sizov
fbe7602bd3 Merge pull request #79945 from hvarga/fix-current-scene-update
Fix out of bounds access when updating current scene
2023-07-31 21:01:43 +02:00
Yuri Sizov
f15898161a Merge pull request #79917 from hvarga/fix-scene-tab-close
Fix crash when using "Close All Tabs"
2023-07-31 21:01:40 +02:00
Yuri Sizov
25f3f660c5 Merge pull request #79610 from aaronfranke/toggle-comment-slash
Add Ctrl+/ as a shortcut to toggle comment in addition to Ctrl+K
2023-07-31 21:01:17 +02:00
Yuri Sizov
04e550acb6 Merge pull request #79358 from timothyqiu/indentation
Make indentation indicators translatable
2023-07-31 21:01:13 +02:00
Yuri Sizov
41efc7cb86 Merge pull request #78941 from dalexeev/gds-doc-comments-deprecated-and-experimental
GDScript: Add `@deprecated` and `@experimental` doc comment tags
2023-07-31 21:01:08 +02:00
Yuri Sizov
438d960592 Merge pull request #50674 from starry-abyss/master
Reorganize buttons in the project manager
2023-07-31 21:00:51 +02:00
kobewi
2a5db5949f Rework modifying tile source ID 2023-07-31 20:57:09 +02:00
Danil Alexeev
aac4a3611d
Editor: Fix escaping issues with POT generator 2023-07-31 21:06:16 +03:00
Ninni Pipping
e2a91309d0 Fix API hash related crash in EditorSettings 2023-07-31 16:35:41 +02:00
Michael Alexsander
3e539fff78
Fix some issues with scene tabs
- Stop scene creation on double-click when hovering the offset buttons.
- Fix the "Add Scene" button's position on RTL mode.
2023-07-30 01:13:36 -03:00
kobewi
d39b040114 Edit TileSet source on double click 2023-07-30 02:27:40 +02:00
Kirill Diduk
8b729e5b7e [bugfix] Fix reimporting scene withh default values selected
This commit fixes #78140

When the scene was re-imported with non-default values of some settings, re-importing it again using default values for those settings didn't have the effect.

The problem was that when handling the reimport, a wrong dictionary of the settings was used.
2023-07-28 16:53:33 +02:00
kobewi
f7238fb3f4 Reverse condition for skipping directories 2023-07-28 16:07:18 +02:00
Pedro J. Estébanez
abd0dcac88 Fix life cycle of ResourceImporterTexture better 2023-07-28 11:52:09 +02:00
Hugo Locurcio
075bd4b281
Uncollapse favorites by default in the editor FileSystem dock 2023-07-28 01:09:14 +02:00
Sam Freed
1ab7d1fcad Respect "editor/naming/node_name_casing" in Create New Scene dialog 2023-07-27 14:01:43 -07:00
Yuri Sizov
6c11fcd01a
Merge pull request #74717 from KoBeWi/tilesetmap_handler_plugin
Add separate editor plugin for TileMap and TileSet
2023-07-27 19:11:37 +02:00
Yuri Sizov
a0f572494e Merge pull request #79954 from RandomShaper/fix_res_imp_life
Fix life cycle of ResourceImporterTexture not tracked properly
2023-07-27 15:23:05 +02:00
Yuri Sizov
4aae6d3f23 Merge pull request #78944 from bgie/particle_mask
Add option to center image when loading particle emission mask
2023-07-27 15:22:58 +02:00
Yuri Sizov
b2e2973a67 Merge pull request #79928 from timothyqiu/fonts
Sort system font menu in Inspector
2023-07-27 15:22:47 +02:00
Yuri Sizov
6535b7475d Merge pull request #79908 from YeldhamDev/output_icon_space
Fix spacing between icon and "Output" button
2023-07-27 15:22:44 +02:00
Yuri Sizov
cd074f965f Merge pull request #79904 from KoBeWi/how_to_create_huge_tiles_using_a_simple_trick
Add help label about creating multiple/big tiles
2023-07-27 15:22:40 +02:00
Yuri Sizov
f29a0ad21c Merge pull request #79512 from KoBeWi/tile_expanded_universe
Add option to expand tile polygon editors
2023-07-27 15:22:36 +02:00
Pedro J. Estébanez
79c798fa0b Fix life cycle of ResourceImporterTexture not tracked properly 2023-07-27 13:54:30 +02:00
Hrvoje Varga
ba2850759d Fix current-scene update 2023-07-27 07:45:53 +02:00
Hrvoje Varga
51923fc528 Fix scene tab close 2023-07-27 07:38:40 +02:00
Yuri Sizov
41a7f6b380
Merge pull request #77537 from henriquelalves/feature/ei_save_all_scenes
Expose `save_all_scenes` method to EditorInterface
2023-07-26 23:43:08 +02:00
Michael Alexsander
2883a40aa1
Fix spacing between icon and "Output" button 2023-07-26 15:22:44 -03:00
Yuri Sizov
7fe88c7710 Merge pull request #79899 from KoBeWi/snapped_in_half
Improve atlas tile size dragging
2023-07-26 18:40:38 +02:00
Yuri Sizov
921776f0a5 Merge pull request #79203 from KoBeWi/visible_confusion
Don't grab theme icons for scripts
2023-07-26 18:39:52 +02:00
Yuri Sizov
bc0e646076 Merge pull request #78827 from Rindbee/fix-history-mismatch
Fix history mismatch
2023-07-26 18:39:32 +02:00
Yuri Sizov
92960b7a22 Merge pull request #78615 from RandomShaper/fix_doc_cache
Re-enable docs cache with fixes
2023-07-26 18:39:22 +02:00
Yuri Sizov
c4e582262f Merge pull request #76582 from reduz/threaded-debugger
Support threads in the script debugger
2023-07-26 18:39:16 +02:00
Yuri Sizov
1ad95f27ab Merge pull request #72664 from paddy-exe/additional-vs-nodes
Add more useful Visual Shader nodes
2023-07-26 18:39:12 +02:00
Yuri Sizov
3bc842b1b1 Merge pull request #54524 from Calinou/animation-editor-add-bypass-confirmation
Skip keyframe creation dialog when holding Shift in the animation editor
2023-07-26 18:39:01 +02:00
Haoyu Qiu
7de4fef959 Sort system font menu in Inspector 2023-07-26 23:56:57 +08:00
kobewi
ec24d50469 Add separate editor plugin for TileMap and TileSet 2023-07-26 17:23:41 +02:00
kobewi
ed6ad376c6 Automatically add path to built-in scripts 2023-07-26 14:52:45 +02:00
Juan Linietsky
5e512b705e Support threads in the script debugger
* This implementation adds threads on the side of the client (script debugger).
* Some functions of the debugger are optimized.
* The profile is also now thread safe using atomics.
* The editor can switch between multiple threads when debugging.

This PR adds threaded support for the script language debugger. Every thread has its own thread local data and it will connect to the debugger using multiple thread IDs.
This means that, now, the editor can receive multiple threads entering debug mode at the same time.
2023-07-26 12:06:45 +02:00
Patrick
65b0989f68 Additional Visual Shader Nodes
* RotationByAxis Visual Shader Node added
* WorldPositionFromDepth Visual Shader Node added
* ScreenNormalWorldSpace Visual Shader Node added
2023-07-26 00:39:12 +02:00
kobewi
df69073589 Add help label about creating multiple/big tiles 2023-07-25 22:55:29 +02:00
kobewi
965847b6e9 Improve atlas tile size dragging 2023-07-25 22:06:38 +02:00
Yuri Sizov
fc1b392e08 Merge pull request #79793 from trollodel/hide_make_floating_swm
Make the single window mode check more strict
2023-07-25 21:51:31 +02:00
Yuri Sizov
b495811108 Merge pull request #79736 from timothyqiu/bit
Fix typo in ResourceImporterImageFont
2023-07-25 21:51:24 +02:00
Yuri Sizov
4d4e5145b3 Merge pull request #79734 from somecrepe/master
Change the text for the flat button preview to follow pattern
2023-07-25 21:26:10 +02:00
Yuri Sizov
623787061a Merge pull request #79492 from dsnopek/gdextension-remove-editor-plugins-at-shutdown
Prevent GDExtensions from trying to remove editor plugins at shutdown
2023-07-25 21:25:58 +02:00
Igor
40eeeb9191 Project manager button rearrangement 2023-07-25 20:58:14 +04:00
Danil Alexeev
0d39121b3a
SpriteFrames Editor: Fix Frame Duration applied to wrong frame when switching frame 2023-07-25 10:55:37 +03:00
Danil Alexeev
2f1e135573
SpriteFrames Editor: Fix FPS applied to two animations when switching animation 2023-07-25 10:51:35 +03:00
somecrepe
97fd8cbdb3 Change the text for the flat button preview to follow pattern
Changed text for flat button preview to follow pattern set by previous two.
2023-07-24 13:24:59 -07:00
Yuri Sizov
0cbdad47f9 Merge pull request #79837 from KoBeWi/CursorShaper
Fix `get_cursor_shape()` in tile atlas editor
2023-07-24 19:33:41 +02:00
Yuri Sizov
7dbbf2eef9 Merge pull request #79743 from TokageItLab/fix-name-list-asp
Make animation name list scroll to new animation in `SpriteEditor`
2023-07-24 19:33:23 +02:00
Yuri Sizov
dbff173597 Merge pull request #79676 from KoBeWi/MissingNo.Layers
Add placeholder items to TileSet layer list
2023-07-24 19:33:09 +02:00
Yuri Sizov
2f4c962929 Merge pull request #79434 from Calinou/2d-editor-allow-float-bone-size
Allow using floating-point bone sizes and outline widths in the 2D editor
2023-07-24 19:32:42 +02:00
Yuri Sizov
fb2c3ae8f7 Merge pull request #79308 from Geometror/refactor-graphedit
Clean up/refactor GraphEdit
2023-07-24 19:32:33 +02:00
Yuri Sizov
fefd02b411 Merge pull request #79175 from MewPurPur/curve-deselect
Deselect curve point with RMB on the empty space
2023-07-24 19:32:29 +02:00
Yuri Sizov
74d20fe17e Merge pull request #75216 from rune-scape/rune-dependancy-errors
Script editor (GDScript): Show depended script errors
2023-07-24 19:32:20 +02:00
Yuri Sizov
c3727c35d1 Merge pull request #74382 from RedMser/feature-profile-api
Allow changing feature profile via `EditorInterface`
2023-07-24 19:32:16 +02:00
Yuri Sizov
2bd904e3db Merge pull request #73196 from Vilcrow/fix-lookup-symbol
Fix jumping to function definition using `Ctrl+LMB` or the "Lookup Symbol" button
2023-07-24 19:32:12 +02:00
RedMser
8e0e81ced3 Allow changing feature profile via EditorInterface 2023-07-24 18:46:36 +02:00
Hendrik Brucker
a38fd09669 Clean up/refactor GraphEdit 2023-07-24 18:37:23 +02:00
Yuri Sizov
91258e52be
Merge pull request #79307 from Geometror/remove-graph-node-comment
Remove GraphNode's comment property and related functionality
2023-07-24 16:56:41 +02:00
rune-scape
83b01708b2 Script editor: Show depended script errors 2023-07-24 15:49:39 +02:00
kobewi
4408f82c93 Fix get_cursor_shape() in tile atlas editor 2023-07-23 23:06:23 +02:00
Chia-Hsiang Cheng
e0cbbe4bbd Avoid duplicating the 'Filters' section 2023-07-23 12:14:28 +08:00
kobewi
f837624d75 Add option to expand tile polygon editors 2023-07-22 22:21:05 +02:00
trollodel
0f6327b59b Make the single window mode check more strict
Check the "interface/editor/single_window_mode" editor settings.
2023-07-22 17:24:47 +02:00
Yuri Sizov
7573a458be Merge pull request #79600 from Rindbee/fix-rename-animation-in-SpriteFramesEditor
Fix rename animation in SpriteFramesEditor
2023-07-21 17:54:47 +02:00
Yuri Sizov
ce92f052ec Merge pull request #79562 from KoBeWi/click_here_yo
Improve message when no tile is selected to edit
2023-07-21 17:54:43 +02:00
Yuri Sizov
547f88aa8c Merge pull request #79396 from Sauermann/fix-systeminfo-displayserver
Include display server type in "Copy System Info"
2023-07-21 17:54:30 +02:00
Yuri Sizov
5ae617627d Merge pull request #78519 from groud/add_white_rect_to_tilemap_selection
Add white rect to TileMap selection tool
2023-07-21 17:54:17 +02:00
Yuri Sizov
a3a7e1fa3b Merge pull request #51863 from Calinou/shader-editor-improve-templates
Improve shader editor templates to be more descriptive
2023-07-21 17:54:05 +02:00
Yuri Sizov
ea756c67a5 Merge pull request #79613 from MewPurPur/lighter-docs-icon
Make Help.svg not look disabled
2023-07-21 17:15:45 +02:00
Yuri Sizov
bf73ac2891 Merge pull request #73641 from KoBeWi/yolo_exiting
Don't save scripts when exiting editor
2023-07-21 17:15:14 +02:00
Silc Lizard (Tokage) Renew
99451b55c2 Make animation name list scroll to new animation in SpriteEditor
Co-authored-by: DarellLdark <darell.ldark@gmail.com>
2023-07-21 19:36:25 +09:00
Haoyu Qiu
80728bdf1e Fix typo in ResourceImporterImageFont 2023-07-21 09:50:29 +08:00
kobewi
51f92d1100 Don't grab theme icons for scripts 2023-07-21 02:13:07 +02:00
kobewi
bb64588796 Add placeholder items to TileSet layer list
Co-authored-by: MewPurPur <mew.pur.pur@abv.bg>
2023-07-20 14:31:00 +02:00
Yuri Roubinski
01101134f4 Make the dragging connections more user-friendly in visual shaders 2023-07-20 15:00:19 +03:00
Gilles Roudière
0fc56646f1 Add white rect to TileMap selection tool 2023-07-19 17:42:29 +02:00
Henrique Alves
8ef2e3d76c Add save_all_scenes method to Editor Interface
Update documentation

(squash) fix docs

(squash) Improve docs
2023-07-19 18:05:15 +03:00
Fredia Huya-Kouadio
d17811c814 Re-architect how Android plugins are packaged and handled at export time
The previous packaging format for Godot Android plugins consisted of the plugin's `gdap` config file accompanied by binaries defined in the `gdap` file.
This format is now deprecated (starting with Godot 4.2), and instead Godot Android plugins are now packaged as `EditorExportPlugin` plugins.

The `EditorExportPlugin` class has been updated with the following methods to provide the necessary set of functionality:
- `_supports_platform`: returns true if the plugin supports the given platform
- `_get_android_dependencies`: retrieve the set of android dependencies (e.g: `org.godot.example:my-plugin:0.0.0`) provided by the plugin
- `_get_android_dependencies_maven_repos`: retrieve the urls of the maven repos for the provided android dependencies
- `_get_android_libraries`: retrieve the local paths of the android libraries (AAR files) provided by the plugin
- `_get_android_manifest_activity_element_contents`: update the contents of the `<activity>` element in the generated Android manifest
- `_get_android_manifest_application_element_contents`: update the contents of the `<application>` element in the generated Android manifest
- `_get_android_manifest_element_contents`: update the contents of the `<manifest>` element in the generated Android manifest
2023-07-18 19:14:53 +02:00
MewPurPur
963a63708e Make Help.svg not look disabled 2023-07-18 16:23:47 +03:00
Yuri Sizov
9c39fe0690 Merge pull request #79609 from KoBeWi/one_dollar_mistake
Fix wrong Curve connection
2023-07-18 15:10:13 +02:00
kobewi
b883f32188 Check for unsaved changes when closing a scene 2023-07-18 14:27:56 +02:00
kobewi
000471ee56 Add unsaved status for script and shader editors 2023-07-18 14:18:36 +02:00
kobewi
6dc5dc3479 Add _get_unsaved_status() method to EditorPlugin 2023-07-18 14:18:36 +02:00
Aaron Franke
df3a1c18f1
Add Ctrl+/ as a shortcut to toggle comment in addition to Ctrl+K 2023-07-18 07:00:59 -05:00
kobewi
a076792a3c Fix wrong Curve connection 2023-07-18 13:55:04 +02:00
Yuri Sizov
79a9e79561 Merge pull request #79416 from sepTN/fix-copy-system-info
Fix rendering driver in Copy System Info for the Compatibility rendering method
2023-07-18 13:28:30 +02:00
Rindbee
e9cd29cf22 Fix rename animation in SpriteFramesEditor/AnimationNodeStateMachineEditor
When the name suffix grows, the old name is used if it is obtained first.

Fix the case where the following error message would appear when renaming
an animation.

```
ERROR: Animation '' doesn't exist.
   at: get_frame_count (scene/resources/sprite_frames.cpp:71)
```
2023-07-18 15:39:02 +08:00
Septian
c4b878ccb3 Fix Copy System Info to copy the correct rendering driver for the Compatibility rendering method 2023-07-18 06:16:15 +07:00
kobewi
de4a3fa151 Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
Raul Santos
132a1daf1a
C#: Fix line in OpenInExternalEditor 2023-07-17 18:44:17 +02:00
Yuri Sizov
b7c3998669
Merge pull request #68396 from Geometror/split-stylebox
Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file
2023-07-17 15:41:43 +02:00
Hendrik Brucker
a29a680920 Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file 2023-07-17 13:25:00 +02:00
Hugo Locurcio
02bf74a954
Improve shader editor templates to be more descriptive 2023-07-17 12:52:27 +02:00
Hugo Locurcio
a39190a18f
Allow using floating-point bone sizes and outline widths in the 2D editor
This is useful when animating pixel art sprites in the 2D editor,
as a value of `1` is often too large when zoomed in.
2023-07-17 12:44:09 +02:00
Hugo Locurcio
5e117ee7bf
Skip keyframe creation dialog when holding Shift in the animation editor
The editor setting to always bypass the confirmation dialog was removed,
since the new shortcut effectively supersedes it in a more granular way.
2023-07-17 12:09:32 +02:00
kobewi
7b8c70c668 Improve message when no tile is selected to edit 2023-07-17 02:41:36 +02:00
Yuri Sizov
851bc640dd
Merge pull request #79484 from KoBeWi/history_changes,_but_war․․․_war_never_changes
Emit `history_changed` on merged UndoRedo actions
2023-07-16 14:42:55 +02:00
Markus Sauermann
1712b78e18 Include Display Server Type in Copy System Info
Add info about X11 or Wayland to System Information on LinuxBSD.
2023-07-16 10:32:54 +02:00
David Snopek
62af007aa0 Prevent GDExtensions from trying to remove editor plugins at shutdown 2023-07-14 17:48:14 -05:00
kobewi
6276fd2695 Allow to pick which Resources will be made unique
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2023-07-14 22:59:00 +02:00
kobewi
b6bb0d505d Emit history_changed on merged UndoRedo actions 2023-07-14 22:08:45 +02:00
Yuri Sizov
a7583881af Merge pull request #68460 from Geometror/split_texture_src
Extract and reorganize texture resource classes
2023-07-14 21:28:06 +02:00
Yuri Sizov
c10b8ac735 Merge pull request #79198 from theraot/enchance_onready_drop
Make onready variables created from dropping nodes include custom types
2023-07-14 21:28:02 +02:00
Yuri Sizov
5f23b8b916 Merge pull request #78451 from alula/integer-zoom
Add option to swap default Alt+scroll zooming behavior in 2D editor
2023-07-14 21:27:54 +02:00
Hendrik Brucker
7e21eb7e00 Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
Yuri Sizov
db216e1fe5 Merge pull request #79457 from timothyqiu/flag-value
Hide explicitly specified flag value in Inspector
2023-07-14 18:50:19 +02:00
Yuri Sizov
d8c0d63f07 Merge pull request #79393 from Sauermann/fix-window-focux-indicator
Add a default theme for unfocused Windows
2023-07-14 18:50:01 +02:00
Yuri Sizov
0231611ee0 Merge pull request #79206 from raulsntos/doc-mention-csharp-differences
Add a warning about C# differences in classref doc
2023-07-14 18:49:36 +02:00
Yuri Sizov
5c56206e6c Merge pull request #79011 from bruvzg/pop_all
[RTL] Add `pop_all`, `push_context` and `pop_context` methods, and use it for `print_rich` to avoid unclosed tags.
2023-07-14 18:49:21 +02:00
Yuri Sizov
6b3e877a5e Merge pull request #78309 from Calinou/editor-create-new-node-recent-limit-history-size
Only display 15 nodes in the Recent section of the Create New Node dialog
2023-07-14 18:48:58 +02:00
Hugo Locurcio
c0e3dc55ba
Add a shortcut to paste nodes as sibling of the selected node
This makes quick pasting jobs easier when you don't want a heavily
nested structure, by pressing Ctrl + Shift + V (Cmd + Shift + V on macOS)
instead of Ctrl + V (Cmd + V on macOS).
2023-07-14 17:35:23 +02:00
Haoyu Qiu
de83b7166c Hide explicitly specified flag value in Inspector 2023-07-14 14:25:26 +08:00
MewPurPur
bd1a59c4b6 Add icons to some placeholder classes 2023-07-13 20:23:52 +03:00
Markus Sauermann
576980f960 Add a default theme for unfocused Windows
At the moment it is impossible to distinguish between focused and
unfocused embedded Windows.
Add a new `theme_item` that is used for coloring the border of
unfocused Windows.
2023-07-12 22:35:03 +02:00
Yuri Sizov
60f3b7967c Merge pull request #79381 from WiseNoodle/fix-wording-of-missing-file-or-dependencies-alert
Add missing word to text of the alert dialog
2023-07-12 21:03:17 +02:00
Yuri Sizov
1da09fd477 Merge pull request #79062 from MewPurPur/svg-optimizations
Optimize SVG icons and remove unused Transpose icon
2023-07-12 21:02:53 +02:00
Yuri Sizov
7aff59f0b6 Merge pull request #78567 from NiskashY/master
Fix reimporting files with non lowercase name extension
2023-07-12 21:02:42 +02:00
Yuri Sizov
a927b22f65 Merge pull request #77257 from rakkarage/tile_animation_sync
Add `TileSetAtlasSource::TileAnimationMode` options and allow to shuffle tile animations
2023-07-12 21:02:31 +02:00
S.V.I. Vilcrow
56e2fad319 Fixed the jumping to function definition using 'Ctrl+LMB' and the 'Lookup Symbol' button. 2023-07-12 21:30:35 +03:00
WiseNoodle
d1c70cf7d4 Add missing word to text of the alert dialog 2023-07-12 11:53:31 -04:00
Yuri Sizov
770b7e974b Merge pull request #79337 from KoBeWi/best_fix_ever
Change default Save Script shortcut
2023-07-12 17:17:11 +02:00
Yuri Sizov
91fefcb546 Merge pull request #79285 from KoBeWi/instant_atlas
Streamline creating tile atlas sources
2023-07-12 17:17:07 +02:00
Yuri Sizov
19f3303357 Merge pull request #79262 from Geometror/vs-port-icon-size-override
Keep `GraphNode` port icons crisp at high zoom levels and remove artifacts
2023-07-12 17:17:02 +02:00
Yuri Sizov
bec5650a5f Merge pull request #79283 from sepTN/fix-dragged-nodes-icon-size
Fix dragged nodes icon size
2023-07-12 17:16:58 +02:00
Yuri Sizov
f53329d045 Merge pull request #78890 from KoBeWi/who_needs_restart_anyway
Allow change import type without restarting editor
2023-07-12 17:16:53 +02:00
Yuri Sizov
22b4861d7b Merge pull request #78649 from MewPurPur/dont-link-to-own-page
Tweak documentation to use bold font when a class is referencing itself
2023-07-12 17:16:47 +02:00
Yuri Sizov
4d862d6cc9 Merge pull request #78772 from MineBill/master
Fix VoxelGI saving VoxelGIData as a built-in file, despite being prompted to save it to an external file
2023-07-12 17:16:29 +02:00
Yuri Sizov
c457480ca9 Merge pull request #78604 from KoBeWi/gotta_close_fast
Speed up closing multiple scripts
2023-07-12 17:16:24 +02:00
Yuri Sizov
d13369eee1 Merge pull request #68140 from quinnyo/auto-complete-option
Add editor setting to toggle automatic code completion
2023-07-12 17:15:51 +02:00
Yuri Sizov
f25233cbc9 Merge pull request #49524 from Calinou/document-editor-import-options
Document editor import options in the class reference
2023-07-12 17:15:19 +02:00
Yuri Sizov
56a1d5118f Merge pull request #59467 from rcorre/blender-wrap
Wrap mouse for blender-style transforms.
2023-07-12 17:15:08 +02:00
Yuri Sizov
9547de5b0e Merge pull request #76367 from Chaosus/import_settings_animation_playback
Add animation playback preview to scene import settings
2023-07-12 17:14:57 +02:00
Yuri Sizov
1e1d2a89bf Merge pull request #44557 from iwek7/improved_comment_toggle
Improve `CodeEdit`'s toggle comments behavior
2023-07-12 17:14:52 +02:00
NiskashY
fc6a6dd0f4 Fix reimporting files with non lowercase name extension 2023-07-12 17:04:01 +02:00
bruvzg
7b7f6d45d6
Implement iOS one-click deploy. 2023-07-12 16:25:04 +03:00
Yuri Sizov
ecc9134086 Merge pull request #79079 from stmSi/ESC-key-not-closing-FindReplaceBar
Fix ESC (ui_cancel) not closing FindReplaceBar
2023-07-12 15:09:46 +02:00
Yuri Sizov
5dff3c4484 Merge pull request #78538 from Sauermann/fix-code-simplifications
Remove unnecessary value assignments throughout the codebase
2023-07-12 15:09:26 +02:00
Yuri Sizov
6960a1d0e8 Merge pull request #78248 from felaugmar/load-svg-adjustable-scale
Added `Image::load_svg_from_(buffer|string)`
2023-07-12 15:09:03 +02:00
Yuri Sizov
b4a11294e6 Merge pull request #75460 from joao-pedro-braz/add_new_item_stylebox_to_the_tree_control
Add a new "inner_item_margin" Theme constant to the Tree control
2023-07-12 15:08:36 +02:00
Theraot
a51116c6c7 Make onready variables created from dropping nodes include custom types 2023-07-12 07:58:26 -05:00
kobewi
6a7567e8f7 Change default Save Script shortcut 2023-07-12 14:25:36 +02:00
Haoyu Qiu
a552103531 Make indentation indicators translatable 2023-07-12 09:19:24 +08:00
Raul Santos
13ab2b6f4f
C#: Improve GD.PushError and GD.PushWarning
- Use the name, file path and line number of the caller that invokes
`GD.PushError` and `GD.PushWarning` instead of the location in the C++
`runtime_interop.cpp` file.
- Improvements to getting the C# stack trace.
  - Use C# type keywords for built-in types in method declarations.
  - Remove extra space before each parameter in method declarations.
  - Skip one more frame to avoid `NativeInterop.NativeFuncs`.
  - Skip methods annotated with the `[StackTraceHidden]` attribute.
- Improvements to `ScriptEditorDebugger` when source is in project.
  - Avoid overriding error metadata when the source is inside the
project file.
  - Use the source function in the title when the source is inside
the project file.

Users that use these methods would expect the reported location printed
by these methods to correspond to a location in their project source files.
Specifically, they'd expect to see the file path and line number at which
they call these methods, and not the location of the C++ code (which is
always the same). Now, these methods are a lot more useful since users
can know which line in their source code printed the error/warning.
2023-07-11 11:19:11 +02:00
Hendrik Brucker
662d8c76b3 Remove GraphNode's comment property and related functionality
(this functionality will be reintroduced in a new and more flexible way)
2023-07-11 02:05:25 +02:00
Rindbee
28db5e7649 Fix history mismatch
Set the properties of the resource's proxy instead of setting the resource's
properties directly. (For action "Set ...")

Update the path of the edited scene when saving the scene. (For action "Add
atlas source")
2023-07-11 05:45:37 +08:00
Aaron Franke
95ccbdea4b
Improve text in popup warning, remove "upgrade or downgrade" text 2023-07-10 11:52:48 -05:00
Yuri Sizov
ef155c1aeb
Merge pull request #79078 from KoBeWi/if_you_gaze_into_the_empty_bottom_panel,_the_empty_bottom_panel_gazes_also_into_you
Collapse bottom panel if there is no active tab
2023-07-10 16:30:14 +02:00
kobewi
bdb7e62029 Streamline creating tile atlas sources 2023-07-10 15:36:00 +02:00
Rémi Verschelde
349e44091d
Merge pull request #79118 from aaronfranke/friendly-upgrades
Improve user-friendliness of project version mismatch message
2023-07-10 15:33:15 +02:00
Septian
837df886f3 Fix dragged nodes have icon size 2023-07-10 20:18:18 +07:00
Hendrik Brucker
1bea64a295 [Graph editors] Keep port icons crisp at high zoom levels, remove rim artifacts 2023-07-10 15:09:40 +02:00
Rémi Verschelde
b8ed596769
Merge pull request #79277 from akien-mga/godot-4-ever
Change explicit 'Godot 4.0' references to 'Godot 4'
2023-07-10 13:18:32 +02:00
Rémi Verschelde
232611b447
Merge pull request #79264 from OverloadedOrama/3-to-4-camera2d-rotating
Fix `Camera2D.rotating` not being converted and reversed properly
2023-07-10 13:18:00 +02:00
Rémi Verschelde
7e36223da0
Merge pull request #79139 from aaronfranke/prop-hint-cl-na-type-str-restr-repl
Fix property hint class name type string restriction and replace mode
2023-07-10 13:17:13 +02:00
Rémi Verschelde
8a06ec979e
Change explicit 'Godot 4.0' references to 'Godot 4'
Fixes #79276.
2023-07-10 13:08:11 +02:00
Emmanouil Papadeas
256b99ca40 Fix Camera2D.rotating not being converted and reversed properly
Godot 3's Camera2D `rotating = true` and `rotating = false` are supposed to be converted and reversed to `ignore_rotation = false` and `ignore_rotation = true` respectively, but this wasn't the case before this PR, as the project converted was failing to properly read the `true` and `false` strings, thus resulting in `ignore_rotation = true` in all cases.
2023-07-10 12:52:48 +03:00
bruvzg
5216a08617
[RTL] Add pop_all, push_context and pop_context methods, and use it for print_rich to avoid unclosed tags. 2023-07-09 19:53:15 +03:00
Raul Santos
a164e3e7b3
Add a note about C# differences in classref doc 2023-07-09 01:44:48 +02:00
Rémi Verschelde
157973ad5e
Merge pull request #79173 from RedworkDE/net-commandline-exporting
C#: Fix command line exporting
2023-07-08 18:23:06 +02:00
Rémi Verschelde
bdcbfd71a8
Merge pull request #79158 from jpcerrone/shaderinclude_fixes
Fix comments and indentation in .gdshaderinc files
2023-07-08 18:22:42 +02:00
Rémi Verschelde
19c6294a66
Merge pull request #78795 from akien-mga/project-converter-keep-rendering-driver
Project converter: Use same rendering driver as Project Manager
2023-07-08 18:18:10 +02:00
Rémi Verschelde
e3dee8cea9
Merge pull request #78694 from Yadnesh-Kulkarni/bugfix-grid-view-disappear-#78588
Fix 3D viewport grid disappearing on scene tab changes
2023-07-08 18:16:55 +02:00
Rémi Verschelde
02a4d099fd
Merge pull request #78631 from Calinou/shader-editor-creation-dialog-use-bullet-points
Use bullet points in shader editor creation dialog
2023-07-08 18:16:31 +02:00
Rémi Verschelde
a12d9df9e1
Merge pull request #71024 from marzecdawid/better-cursor-behaviour-in-tree-with-ctrl
Fix cursor behavior for multiselect in Tree while holding CTRL
2023-07-08 18:14:48 +02:00
Danil Alexeev
c1b450566a
GDScript: Add @deprecated and @experimental doc comment tags 2023-07-08 18:13:19 +03:00
Ryan Roden-Corrent
90bddd21c8
Wrap mouse for blender-style transforms.
When performing a blender-style translate or scale (but not rotate),
wrap the mouse inside the bounds of the viewport. This allows moving the
mouse indefinitely for large translate or scale operations, and is
consistent with how blender works.

This enables global input processing during blender-style transforms, so
we can capture and wrap mouse events outside the bounds of the viewport.

Other wrapping operations use _sinput, which I assume is possible
because a mouse button is held, so the control receives input even when
the mouse exits the control.

This does not implement wrapping for regular (gizmo-driven) transforms,
though this could be done if desired.

Fixes godotengine/godot-proposals#4255.
2023-07-08 07:53:47 -04:00
MewPurPur
d8d53e3370 Deselect curve point with RMB on the empty space 2023-07-08 00:31:17 +03:00
RedworkDE
f3f3365abd C#: Fix command line exporting 2023-07-07 20:51:46 +02:00
kleonc
3f6e35bdb2 Fix drag-dropping nodes to parent with internal nodes 2023-07-07 19:24:44 +02:00
MewPurPur
fe194f8db0 Optimize SVG icons and remove unused Transpose icon 2023-07-07 17:58:15 +03:00
jpcerrone
71b8a9d274 Fix comments and indentation in .gdshaderinc files
Fixes #78205
The handling of comments and indentation in the shader editor
wasn't considering shader include files.
2023-07-07 11:18:30 -03:00
Rémi Verschelde
5205ff69ca
Merge pull request #79090 from mb4c/wrap-tooltip
Add tooltip description wrapping in scene tree and plugin settings
2023-07-07 16:04:41 +02:00
Rémi Verschelde
a2604ff712
Merge pull request #78925 from theraot/fix_rename_unique
Do not change a node unique name to the same name
2023-07-07 16:04:17 +02:00
Rémi Verschelde
2935a2b1de
Merge pull request #78775 from aaronfranke/proj-tag-sort
Sort project tags before saving
2023-07-07 16:03:53 +02:00
Rémi Verschelde
2c0a0a0eab
Merge pull request #78524 from MewPurPur/4920726f6c6c65642061203621
Fix tooltip of enum value without description
2023-07-07 16:03:28 +02:00
Rémi Verschelde
81c6694014
Merge pull request #78522 from MewPurPur/improve-tileset-labels
Improve string drawing in the tiledata editor
2023-07-07 16:03:02 +02:00
Rémi Verschelde
6ed632be27
Merge pull request #54071 from KoBeWi/infinite_unlimited_connections
Focus current node after connecting
2023-07-07 16:01:17 +02:00
mb4c
d007be2d14 Add tooltip description wrapping in scene tree and plugin settings 2023-07-07 11:16:34 +02:00
Rémi Verschelde
443820686c
Merge pull request #79112 from bitsawer/fix_preprocessor_keyword_colors
Make shader preprocessor keyword colors consistent
2023-07-07 08:36:13 +02:00
Rémi Verschelde
69dbbcc313
Merge pull request #79092 from akien-mga/doctool-remove-version-attribute
Doctool: Remove version attribute from XML header
2023-07-07 08:34:55 +02:00
Rémi Verschelde
8e5a01fcf4
Merge pull request #79025 from RedworkDE/scripted-export-plugin
Fix export options of scripted `EditorExportPlugin`s
2023-07-07 08:33:21 +02:00
Rémi Verschelde
b3c2b52025
Merge pull request #78953 from anvilfolk/enum-desc
Fix regression with GDScript enum descriptions now showing up in documentation.
2023-07-07 08:31:44 +02:00
Rémi Verschelde
3049f33495
Merge pull request #78938 from timothyqiu/no-match
Translate "No match" message in FindReplaceBar
2023-07-07 08:31:20 +02:00
Rémi Verschelde
e940778f0a
Merge pull request #78920 from Rindbee/fix-invalid-shortcut-keys-in-TileSetAtlasSourceEditor
Make sure the shortcut key respects the context in `TileSetAtlasSourceEditor`
2023-07-07 08:30:31 +02:00
Rémi Verschelde
64d451daac
Merge pull request #78914 from KoBeWi/lazy_drop
Fix dropping files from res:// to res://
2023-07-07 08:30:06 +02:00
Aaron Franke
58a65591f5
Fix property hint class name type string restriction and replace mode 2023-07-06 23:07:32 -05:00
Aaron Franke
3b8a81d361
Improve user-friendliness of project version mismatch message 2023-07-06 19:27:48 -05:00
Alfonso J. Ramos
b2bef8c47b Do not change a node unique name to the same name 2023-07-06 16:27:34 -05:00
bitsawer
a5d6152949 Make shader preprocessor keyword colors consistent 2023-07-06 17:56:26 +03:00
Rémi Verschelde
81064cc239
Doctool: Remove version attribute from XML header
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00
kobewi
59ae7e2445 Collapse bottom panel if there is no active tab 2023-07-05 23:07:12 +02:00
stmSi
7eb517c27f Fix: ESC (ui_cancel) not closing FindReplaceBar 2023-07-06 03:35:01 +06:30
Rémi Verschelde
d28f9afdc6
i18n: Sync translations with Weblate 2023-07-05 16:04:29 +02:00
Yuri Sizov
c16afc1c2d
Merge pull request #79050 from capnm/fix_teststr_what
Fix import hints that are followed by dot.number
2023-07-05 15:59:44 +02:00
Martin Capitanio
470083caed Fix import hints that are followed by dot.number.
Fixes #78881.
2023-07-05 14:49:53 +02:00
Pedro J. Estébanez
cac4d44cde Re-enable docs cache with fixes 2023-07-05 10:44:58 +02:00
RedworkDE
fa84d09542 Fix export options of scripted EditorExportPlugins 2023-07-04 15:39:23 +02:00
Tetane
1cd0a34e47 Fix Create shader Node window position on second monitor 2023-07-03 20:17:56 +02:00
kobewi
9379177286 Fix node selection not handled correctly at launch 2023-07-03 14:43:15 +02:00
kobewi
244968c8d1 Allow change import type without restarting editor 2023-07-03 13:24:24 +02:00
ocean (they/them)
d48636c3bf Fix regression with enum descriptions now showing up in documentation. 2023-07-02 11:29:52 -04:00
Brecht Kuppens
86117f8cba Added option to center image when loading particle emission mask 2023-07-02 12:22:38 +02:00
Haoyu Qiu
ac454ce2a7 Translate "No match" message in FindReplaceBar 2023-07-02 16:49:22 +08:00
Rindbee
fec731bf33 Make sure the shortcut key respects the context in TileSetAtlasSourceEditor 2023-07-02 06:40:14 +08:00
kobewi
1d970cd6ca Fix dropping files from res:// to res:// 2023-07-01 19:21:35 +02:00
Rémi Verschelde
16dd4e5725
i18n: Sync translations with Weblate 2023-06-29 13:33:56 +02:00
Rémi Verschelde
b3d1aeea07
Fix missing GDExtension in-editor API reference
This commit partially reverts a change in e1ce0340b7
which would prevent from generating API reference for GDExtension APIs.

Fixes #78829.
2023-06-29 12:48:10 +02:00
Hannah Crawford
444e1a8e2c Add layer, shadow and visibility range options to Scene Importer. 2023-06-28 17:09:23 +01:00
Rémi Verschelde
53c78b2cac
Project converter: Use same rendering driver as Project Manager
Which means by default OpenGL 3, but it can still be overridden from the command line.
Fixes #76303.
2023-06-28 15:07:37 +02:00
MineBill
c34d5627fb Set the VoxelGIData path before saving, otherwise the ResourceSave will revert it to an empty String 2023-06-28 10:28:36 +03:00
Aaron Franke
d667402461
Sort project tags before saving 2023-06-27 18:22:33 -05:00
kobewi
af01aed643 Fix missing translations in EventListenerLineEdit 2023-06-27 23:08:41 +02:00
Rémi Verschelde
9d089fe6e5
i18n: Sync translations with Weblate 2023-06-26 19:40:50 +02:00
kobewi
08ef3044ee Fix missing translation in SceneCreateDialog 2023-06-26 19:19:36 +02:00
Yadnesh Kulkarni
a8dde286ce Fixed grid disappearance 2023-06-26 09:27:25 -04:00
Rémi Verschelde
d08ba5f3dc
Merge pull request #78670 from KoBeWi/cache_with_full_power
Improve script icon cache
2023-06-26 14:56:47 +02:00
kobewi
0458ac4b81 Improve script icon cache 2023-06-26 14:03:21 +02:00
Ninni Pipping
39353462ac Fix indentation in script templates 2023-06-26 12:18:02 +02:00
Danil Alexeev
da4590b3f1
Unexpose DocCache class 2023-06-24 22:24:54 +03:00
MewPurPur
0786876077 Tweak documentation to use bold font when a class is referencing itself 2023-06-24 18:09:31 +02:00
Rémi Verschelde
1ee2697682
Revert "Fix paste value not updated in dictionaries/arrays" 2023-06-24 10:59:35 +02:00
Hugo Locurcio
bce2985615
Use bullet points in shader editor creation dialog
This is consistent with the script creation dialog.
2023-06-24 02:12:13 +02:00
Hugo Locurcio
08118b1456
Only display 15 nodes in the Recent section of the Create New Node dialog
This prevents the history size from becoming too large, which made it less
useful.

This also fixes an off-by-one error in the completion scoring algorithm.
2023-06-23 23:51:51 +02:00
Yuri Sizov
f44b2d7898
Merge pull request #78611 from YuriSizov/editor-cure-for-early-onset-layout-dementia
Handle contextual editors gracefully when restoring layout
2023-06-23 17:52:35 +02:00
Rémi Verschelde
46b2619223
Merge pull request #78614 from RandomShaper/disable_doc_cache
Disable doc cache temporarily for pre-RC stabilization
2023-06-23 17:23:56 +02:00
Pedro J. Estébanez
7afb9dd275 Disable doc cache temporarily for pre-RC stabilization 2023-06-23 16:40:40 +02:00
Yuri Sizov
f623509086 Handle contextual editors gracefully when restoring layout 2023-06-23 15:46:06 +02:00
Yuri Sizov
8cfbc6bda2 Revert "Remember only permanent bottom tabs"
This reverts commit 5dde57e958.
2023-06-23 15:23:36 +02:00
Rémi Verschelde
9ab388c146
Merge pull request #78609 from KoBeWi/—GodotEngine
Unify window title format
2023-06-23 12:36:44 +02:00
kobewi
44bec97d5e Unify window title format 2023-06-23 12:21:56 +02:00
kobewi
9a302e32c8 Speed up closing multiple scripts 2023-06-23 11:19:09 +02:00
kobewi
5dde57e958 Remember only permanent bottom tabs 2023-06-23 10:53:39 +02:00
Felipe Augusto Marques
26eb3db234 Added Image's load_svg_from_(buffer|string)
No core dependency to the svg module.
2023-06-23 00:43:43 -03:00
Ninni Pipping
818fe886a3 Bounds fixes in TextureAtlas import 2023-06-22 19:20:56 +02:00
Gilles Roudière
bca1f91291 Fixes crash in TileSetAtlasSourceEditor 2023-06-22 15:03:53 +02:00
Markus Sauermann
890fdd56df Code simplifications
CPPcheck found most of them.

no need to assign the variable twice:
- AnimationTrackEditTypeAudio
- SSEffects

variable is assigned in all if-else clauses:
- EditorHelp
- AndroidInputHandler
- MenuBar
- ShaderCompiler

same if clause:
- ItemList

clearing an empty bitfield has no effect:
- Viewport
2023-06-21 22:37:26 +02:00
Dawid Marzec
9abbdea95e Fix cursor behaviour in Tree while holding CTRL 2023-06-21 20:44:29 +02:00
MewPurPur
c0453a544d Fix enum tooltip with no description 2023-06-21 19:18:08 +02:00
Alula
9676905aee
Add option to swap Alt+scroll zooming behavior in 2D editor
Update doc/classes/EditorSettings.xml

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-06-21 18:56:58 +02:00
MewPurPur
1649dcad0b Improve string printing in the tiledata editor 2023-06-21 17:43:45 +02:00
Yuri Sizov
4fc045e9b5
Merge pull request #76152 from timothyqiu/tile-resize-clamp
Fix tile resizing towards atlas boundary
2023-06-21 11:19:24 +02:00
Rémi Verschelde
5285927f51
Merge pull request #78495 from lyuma/import_tracks_single_clip
Fix Import Tracks import setting for single clip
2023-06-21 10:19:47 +02:00
Rémi Verschelde
78518be194
Merge pull request #75444 from lpriebe/editor-run-arg-split-fix
Prevent quoted args in `editor/main_run_args` from being split at spaces
2023-06-21 10:18:37 +02:00
Rémi Verschelde
9e56f28d0e
Merge pull request #75345 from Rindbee/fix-wrong-description-in-EditorSettings
Fix wrong descriptions in EditorSettings
2023-06-21 10:18:09 +02:00
Yuri Sizov
38ae7b58d1
Merge pull request #78350 from ajreckof/you-know-when-you-want-to-search-this-member-you-don't-know-and-then-you-have-the-script-editor-all-over-the-place-now-it-should-not-happen-anymore-hopefully
Fix placement and style of the "Make Floating" button
2023-06-21 03:03:19 +02:00
Rindbee
19d77ea90d Fix wrong descriptions in EditorSettings
Fix wrong descriptions about `editors/3d/grid_division_level_max`
and `editors/3d/grid_division_level_min`.
2023-06-21 07:16:30 +08:00
ajreckof
13e65da804 Fix wrong placement of the Make Floating Button. 2023-06-21 01:00:37 +02:00