Commit graph

12921 commits

Author SHA1 Message Date
Rémi Verschelde
9f05e16727
Merge pull request #70940 from MewPurPur/better-gradient2d-editor
Improvements to Gradient2D Editor
2023-05-29 10:28:46 +02:00
Rémi Verschelde
6dcd490d03
Merge pull request #66763 from MewPurPur/remove-bookmark-hiding
Remove editor setting for hiding bookmarks
2023-05-29 10:28:37 +02:00
RedworkDE
67e8c57f03 Invalidate the DocCache when updating the xml docs 2023-05-28 17:08:27 +02:00
VolTer
a3c4a4b039 Overhaul the Curve Editor 2023-05-28 14:17:51 +02:00
Stanislav Labzyuk
7b139e77e8 Add spacebar for folding in the Create New Node window 2023-05-28 12:48:34 +02:00
VolTer
21dd647af2 Fix WorldEnvironment icon 2023-05-28 06:56:37 +02:00
Yuri Sizov
c670c4334a
Merge pull request #65902 from MJacred/editor/copysysteminfo
Add an editor option to copy system info to clipboard
2023-05-27 20:11:54 +02:00
VolTer
6f6fbb93be Manually optimize a lot of SVGs 2023-05-27 20:03:44 +02:00
MJacred
9e5bf3d589 Copy system info to clipboard + Update bug_report.yml
plus minor static-related fixes
* linuxbsd: get_systemd_os_release_info_value() -> static breaks usage if used multiple times
* windows/linuxbsd: get_video_adapter_driver_info() writes info into static
* linuxbsd: get_distribution_name() + get_version() -> write bsd fallback into static variable
* windows/uwp/android: remove unnecessary use of static
2023-05-27 18:21:23 +02:00
Yuri Sizov
9a3221f1ed
Merge pull request #77419 from MewPurPur/remove-unused-svgs
Remove unused SVG icons
2023-05-27 17:59:54 +02:00
Yuri Sizov
36e7800679
Merge pull request #77511 from KoBeWi/destroy_size()
Minor improvements to sub-resource list
2023-05-27 17:51:06 +02:00
Yuri Sizov
9128ed4719
Merge pull request #77517 from KoBeWi/TranslateThisRightNow
Translate inspector changes indicator
2023-05-27 17:39:19 +02:00
Yuri Sizov
7483864b79
Merge pull request #75949 from YuriSizov/import-split-texture-meta
Split editor-specific import metadata for textures
2023-05-27 17:06:16 +02:00
Silc Lizard (Tokage) Renew
c9c8205644 Implement NodeSub2 to AnimationTree & improve mathematical Nodes 2023-05-27 13:19:54 +09:00
JoNax97
c07b2fcf4d Add Linear SRGB and OKLab color spaces to Gradient. 2023-05-26 16:18:01 -03:00
Yuri Sizov
b856188904 Split editor-specific import metadata for textures 2023-05-26 18:48:23 +02:00
Rémi Verschelde
2210111eb5
Merge pull request #77521 from KoBeWi/to_StringName_or_not_to_StringName
Add indicator for StringName properties
2023-05-26 18:16:10 +02:00
Rémi Verschelde
5de3f5c317
Merge pull request #77467 from bitsawer/fix_shader_editor_crash
Fix shader editor crash
2023-05-26 18:15:20 +02:00
kobewi
54be252259 Add indicator for StringName properties 2023-05-26 17:49:01 +02:00
kobewi
adf427c806 Translate inspector changes indicator 2023-05-26 15:55:51 +02:00
kobewi
05663b8633 Minor improvements to sub-resource list 2023-05-26 14:37:30 +02:00
kobewi
8eb076a630 Uncollapse res:// by default 2023-05-26 13:25:09 +02:00
Rémi Verschelde
95d745f8dc
Merge pull request #77382 from rakkarage/tileset_merge_crash
Fix crash when using tile atlas merge with recreated alt tile
2023-05-26 11:23:03 +02:00
Rémi Verschelde
15b7a8e7f1
Merge pull request #77505 from lyuma/rest_fixer_skin_mutation
Avoid mutating the same Skin multiple times.
2023-05-26 11:02:54 +02:00
Rémi Verschelde
2cade057ec
Merge pull request #77502 from KoBeWi/use_this_method_if_you_value_your_code
Add `get_edited_property_value()` shorthand method
2023-05-26 11:02:30 +02:00
Rémi Verschelde
32dc7eeaed
Merge pull request #77479 from MewPurPur/improve-ray-shape-icon
Improve RayShape3D icon
2023-05-26 11:01:19 +02:00
Rémi Verschelde
699b66b62d
Merge pull request #77010 from dsnopek/gdextension-editor-plugins
Allow GDExtensions to add editor plugins
2023-05-26 11:00:32 +02:00
Lyuma
5ae311e577 Avoid doubly mutating the same Skin in rest fixer
Fixes a regression from #77123 that was caused by removal of ibm_diffs variable.
This replaced idempotent code with code that applied an offset each time.
If the same Skin was visited multiple times, this caused an incorrect result.
2023-05-26 00:49:24 -07:00
kobewi
010ce46ffa Add get_edited_property_value() shorthand method 2023-05-26 09:18:53 +02:00
bitsawer
993e671dc0 Fix shader editor crash 2023-05-26 07:01:23 +03:00
bruvzg
2af75a066f
[Editor] Enable multithread processing for the editor log. 2023-05-25 22:14:15 +03:00
VolTer
11acf0ac96 Improve RayShape3D icon 2023-05-25 18:33:36 +02:00
VolTer
47a81a79aa Add a few InputEvent icons 2023-05-25 17:43:32 +02:00
David Snopek
3007163210 Allow GDExtensions to add editor plugins 2023-05-25 09:14:29 -05:00
Rémi Verschelde
2eec9a67d5
Merge pull request #77473 from KoBeWi/get_tree().get_root().get_tree().get_root().get_tree().get_root().get_tree().get_root().get_tree().get_root().get_tree().get_root().get_tree().get_root().get_tree().get_edited_scene_root()
Don't create bones from empty scene
2023-05-25 15:59:07 +02:00
Rémi Verschelde
24a258d8a0
Merge pull request #77123 from lyuma/child_mesh_retarget
Adjust BoneAttachment3D children/meshes during rest fixer
2023-05-25 15:58:12 +02:00
kobewi
e5b6b3e1e3 Don't create bones from empty scene 2023-05-25 14:57:08 +02:00
smix8
66a8418a2d Remove unnecessary Clipper lib includes
Removes unnecessary Clipper lib includes.
2023-05-24 23:57:08 +02:00
Rémi Verschelde
95bea896da
Merge pull request #77418 from MewPurPur/unify-stylebox-grid-textures
Improve StyleBox preview a little
2023-05-24 18:36:33 +02:00
VolTer
f65b9ee56c Improve StyleBox preview a little 2023-05-24 15:40:56 +02:00
Yuri Sizov
f1b4c3d6e1 Fix a crash when hovering over "Favorites" in the FileSystem dock 2023-05-24 14:22:03 +02:00
Rémi Verschelde
c39c565307
Merge pull request #72842 from TokageItLab/fix-pathfollow
Fix Pathfollow direction and add Z forward option
2023-05-24 10:52:46 +02:00
Silc Renew
42aa5398d9 Fix Pathfollow direction
Co-authored-by: aaronfranke <arnfranke@yahoo.com>
2023-05-24 17:37:00 +09:00
Rémi Verschelde
299f0ae3db
Merge pull request #76052 from TokageItLab/fix-viewport-axis
Fix 3D Viewport Front/Rear axis and Focus button
2023-05-24 10:34:12 +02:00
Rémi Verschelde
7bdc45870f
Merge pull request #77421 from MewPurPur/OwO-wats-dis
Fix BoxOccluder SVG
2023-05-24 10:33:46 +02:00
Rémi Verschelde
f92634a709
Merge pull request #77389 from vmedea/tooltip-pattern-index
Add pattern index tooltip to tilemap and tileset editor
2023-05-24 08:49:33 +02:00
Rémi Verschelde
692a76d9a5
Merge pull request #77385 from rakkarage/tileset-atlas-merge-filter
Make tile atlas merge dialog use filter nearest on right side, like left. To avoid blurry tiles.
2023-05-24 08:49:03 +02:00
Rémi Verschelde
390d87e974
Merge pull request #71352 from m4gr3d/editor_optimization_main
Improve startup benchmarking
2023-05-24 08:43:52 +02:00
Rémi Verschelde
adbdf9a86e
Merge pull request #77234 from RandomShaper/fix_rtl_mt
Allow threads to mark themselves as safe for nodes
2023-05-24 08:42:59 +02:00
VolTer
2ce1ea3c79 Fix BoxOccluder SVG 2023-05-24 06:09:57 +02:00
VolTer
860f51b050 Remove unused SVG icons 2023-05-24 05:59:53 +02:00
Pedro J. Estébanez
e725b4b02b Allow threads to mark themselves as safe for nodes 2023-05-24 00:22:58 +02:00
Fredia Huya-Kouadio
831b4a5366 Improve startup benchmarking
Move the benchmarking measuring methods from `Engine` to `OS` to allow for platform specific overrides (e.g: can be used to hook into platform specific benchmarking and tracing capabilities).
2023-05-23 13:22:35 -07:00
Rakka Rage
855d78e458 Make tile atlas merge dialog use filter nearest mipmaps on both sides. To avoid blurry tiles. 2023-05-23 14:46:02 -04:00
mara
93248684b4 Add pattern index tooltip to tilemap and tileset editor
Just a little UI convenience feature. Knowing the index (without having
to count manually) is convenient when working with tile patterns
programmatically, especially when having lots of them.
2023-05-23 19:28:06 +02:00
Rémi Verschelde
f581f21dd6
Merge pull request #77399 from AThousandShips/rpc_convert_fix
Ensure quotes are escaped when converting builtin scripts
2023-05-23 19:15:17 +02:00
Rémi Verschelde
59a35194bf
Merge pull request #77394 from YuriSizov/editor-vshaders-delay-init
Delay initialization of the visual shader editor UI
2023-05-23 19:15:13 +02:00
Rémi Verschelde
8f9e0672fb
Merge pull request #77297 from puchik/popup-close-key-mapping
Use defined key mapping for closing popups and dialogs
2023-05-23 19:14:31 +02:00
Rémi Verschelde
7b802ed150
Merge pull request #77291 from Calinou/editor-log-highlight-decrease-padding
Disable padding around highlighted rich text in the editor Output panel
2023-05-23 19:14:27 +02:00
Ninni Pipping
ef4422e3e1 Ensure quotes are escaped when converting builtin scripts 2023-05-23 17:05:14 +02:00
Rakka Rage
88d2ed433d Fix crash when using tile atlas merge with recreated alt tile 2023-05-23 10:32:02 -04:00
Yuri Sizov
edf47f1ee4 Delay initialization of the visual shader editor UI
This makes sure that the theme is ready to be used before the
methods is called.
Also add missing icons (and update some existing).

Co-authored-by: Samuel Wilson <yokomeshi@gmail.com>
2023-05-23 15:20:42 +02:00
Silc Lizard (Tokage) Renew
4e4259bd79 Fix 3D Viewport Axis button draw order bug 2023-05-23 16:21:19 +09:00
Silc Lizard (Tokage) Renew
4d3d800d33 Revert "Fix swapped front/rear view"
This reverts commit f995d6cd17.
2023-05-23 16:21:19 +09:00
Rémi Verschelde
061c6f2acf
Merge pull request #77318 from MewPurPur/optimize-svg-ellipses
Optimize and/or improve some SVG icons
2023-05-22 22:36:24 +02:00
VolTer
eef8c27a08 Optimize and/or improve some SVG icons 2023-05-22 21:15:27 +02:00
Yuri Sizov
903dda8337
Merge pull request #77179 from KoBeWi/that's_a_lot_of_files
Add scrolling to overwrite dialog
2023-05-22 20:17:26 +02:00
Rémi Verschelde
6a3095acb8
Merge pull request #77276 from RandomShaper/avoid_first_import_error_spam
Avoid error spam on first opening of a not yet imported project
2023-05-22 17:02:16 +02:00
Rémi Verschelde
5d16efae9a
Merge pull request #77225 from JBrowne017/issue-77190
Allow up to INT32_MAX max size in Array/Dictionary editor
2023-05-22 17:02:09 +02:00
Rémi Verschelde
fb613fd430
Merge pull request #77251 from RandomShaper/fix_editor_mt
Make certain editor callbacks thread-safe
2023-05-22 13:49:11 +02:00
Rémi Verschelde
4f17a94d69
Merge pull request #74341 from dalexeev/sprite-frames-texture-filter
Use nearest with mipmaps texture filter in SpriteFrames editor plugin
2023-05-22 13:48:18 +02:00
ajreckof
465742d904 Fix typed array export
Apply suggestions from code review to squash later

Revert "Fix typed array export... again"

This reverts commit da8d6734fb.

Co-Authored-By: Tomek <kobewi4e@gmail.com>
2023-05-21 08:40:11 +02:00
Arman Elgudzhyan
8ab2cf3d2d Use defined key mapping for closing popups and dialogs
As opposed to hardcoding the escape key. Also removed such hardcoding in a few other places as well as a hardcoded enter key in one of the affected input fields.
2023-05-20 17:39:59 -07:00
Hugo Locurcio
0d1f6adf98
Disable padding around highlighted rich text in the editor Output panel
This prevents `[bgcolor]` and `[fgcolor]` rendering from overlapping
on nearby characters (especially on the line below).

This also makes it look closer to terminal output (which never uses padding).
2023-05-21 00:06:23 +02:00
Pedro J. Estébanez
ed9dc792df Avoid error spam on first opening of a not yet imported project 2023-05-20 11:45:02 +02:00
Pedro J. Estébanez
2648232fe8 Make certain editor callbacks thread-safe 2023-05-20 11:17:41 +02:00
Hugo Locurcio
86314e1e53
Remove constrained view in the 2D editor
We initially added an option to disable constraining the 2D editor view.
This setting was still enabled by default to avoid confusing users
who end up scrolling too far away from their current scene
(which is a problem if you don't know about the F key to focus
on the selection).

However, it's probably a better choice to unconstrain the 2D editor view
by default because:

- Lots of people don't know about this setting and wonder how they
  can scroll far away from the scene. This feels really limiting for them,
  and it can even lead to some people thinking Godot intentionally limits
  scene sizes.
- The 3D editor doesn't have such a contrain mechanism.
  This makes the 2D editor more consistent with the 3D editor.
2023-05-20 03:01:12 +02:00
Jackson Thomas Browne
4fb7aac651 Replace magic num in editor_properties_array_dict
Quick update to editor/editor_properties_array_dict max size.
Currently, an array in the EditorInspector won't display a number higher than 1,000,000.
In place of the current magic number this sets the max to be the INT32_MAX.
This eludes the magic number in place and is sufficiently large.

Resolves #77190
2023-05-19 14:34:22 -07:00
Rémi Verschelde
150acefb39
Merge pull request #77221 from hakro/fix-animation-frames-editor
Hide Animation Frames section when there are no animations
2023-05-19 10:11:50 +02:00
Rémi Verschelde
9dfae0eb0f
Merge pull request #77217 from hakro/disable-nodepath-auto-translate
Do not translate node name when assigned to an exported field
2023-05-19 10:11:26 +02:00
Rémi Verschelde
9a0e250638
Merge pull request #77184 from KoBeWi/all_scene_sub-resources,_not_other_scene's,_not_external,_only_this_scene's
Filter extraneous resources from sub-resource list
2023-05-19 10:11:02 +02:00
Rémi Verschelde
7951252e42
i18n: Sync translations with Weblate
(cherry picked from commit acc82a1d05)
2023-05-19 08:57:37 +02:00
Rémi Verschelde
57c49a4447
i18n: Sync translations with Weblate
(cherry picked from commit 9cd9a07c27)
2023-05-19 08:57:25 +02:00
Hakim
9cf2d0f058 Hide Animation Frames section when there are no animations and show message 2023-05-19 01:14:11 +02:00
Hakim
f2383b7c19 Do not translate node name when assigned to an exported field 2023-05-18 22:10:52 +02:00
kobewi
e729c46b19 Filter extraneous resources from sub-resource list 2023-05-18 01:15:27 +02:00
kobewi
ab787fe4d2 Add scrolling to overwrite dialog 2023-05-18 00:09:44 +02:00
Rémi Verschelde
6d3935d42d
Merge pull request #77160 from KoBeWi/Control_is_invertebrate
Fix crash when trying to create bones from Control
2023-05-17 15:59:28 +02:00
kobewi
6a120107b3 Fix crash when trying to create bones from Control 2023-05-17 15:53:49 +02:00
ajreckof
088435ab78 prevent selecting unselectable EditorProperty with RMB 2023-05-17 05:56:24 +02:00
jpcerrone
0985019c28 Fix Input Map key assignments missing after project conversion
Fixes #76336 (Input Map keys missing).
Moves the project.godot config_version stamping from the project manager
to the project converter. Now there's no difference between converting through
the project manager and the CLI tool.
Fixes being prompted to re-convert the project in the project manager after
having done so through the CLI tool.
2023-05-16 14:39:04 -03:00
Rémi Verschelde
557fa5c31a
Merge pull request #77081 from KoBeWi/yo_dawg_I_heard_you_like_projects,_so_I_put_a_project_in_your_project
Print a warning when a nested project is detected
2023-05-16 11:01:55 +02:00
Rémi Verschelde
965db42911
Merge pull request #77080 from KoBeWi/spam_error_log_with_multiple_threads_for_better_spam_efficiency
Allow showing messages from threads in Editor Log
2023-05-16 11:01:32 +02:00
Rémi Verschelde
f868b4781b
Merge pull request #76684 from KoBeWi/this_branch_is_meta
Add background panel to new meta dialog
2023-05-16 11:00:21 +02:00
Rémi Verschelde
508a5bf16e
Merge pull request #76025 from YuriSizov/editor-reparentable-windows
Expose dialog parent-and-popup logic to the API
2023-05-16 10:49:09 +02:00
Lyuma
7b71061b3e Adjust BoneAttachment3D children/meshes during rest fixer
Also simplifies equivalent matrix math which previously used ibm_diffs to calculate skinned mesh offsets.
2023-05-16 01:34:54 -07:00
Rémi Verschelde
8cfa19a078
Merge pull request #77000 from reduz/make-more-base-nodes-thread-safe
Make more base nodes thread safe
2023-05-16 00:31:56 +02:00
Yuri Sizov
17f492fb82 Expose dialog parent-and-popup logic to the API 2023-05-15 19:49:28 +02:00
Juan Linietsky
0a9f72d5a8 Make more base nodes thread safe
Ongoing work to make more of the base nodes thread safe.
2023-05-15 16:54:10 +02:00
Rémi Verschelde
b497729c92
Merge pull request #77074 from spanzeri/fix-theme-crash-skeleton-editor
Fix Skeleton3D editor crash regression after #76592
2023-05-15 13:46:30 +02:00