Commit Graph

13107 Commits

Author SHA1 Message Date
kobewi e767ff5695 Add project tags 2023-05-30 00:53:02 +02:00
MJacred ca1ee316b5 Make system information for issue reports single-line
Additionally:
* for custom builds, add commit hash
* added a tooltip to help mitigate potential/understandable confusion whether the single-line output might be a bug
* prettify driver name
2023-05-29 22:20:40 +02:00
VolTer 1740f7ea53 Add syntax highlighter icons 2023-05-29 20:42:54 +02:00
Nikolay Lebedev 779c39f478 Fix update animation frame duration in every selected tile 2023-05-29 23:15:40 +05:00
VolTer 671866fb83 Fix TextMesh icon and some related 2023-05-29 18:38:17 +02:00
Yuri Sizov fd5faae29c
Merge pull request #75983 from timothyqiu/dialog-rebase
Fix theme of editor VCS dialogs
2023-05-29 17:42:16 +02:00
Yuri Sizov ee7b26403b
Merge pull request #77433 from YuriSizov/editor-reparented-popups-fix
Fix auto-reparenting logic in the `ProgressDialog`
2023-05-29 17:30:46 +02:00
Yuri Sizov fc83a2e323
Merge pull request #71843 from Rindbee/do-not-cache
Do not cache the doc information written by user in the script in Inspector
2023-05-29 17:23:48 +02:00
Yuri Sizov 4c5c7cbb58 Fix auto-reparenting logic in the `ProgressDialog`
* Make sure `Popup` signals are disconnected when unparented.
* Remove a fail condition from `Window::is_embedded` when
not in tree.
2023-05-29 17:02:16 +02:00
jpcerrone c206c88adf Add joypad input map conversion to project converter.
Fixes godotengine#77314 (Input Map's joypad button numbers are not converted).
2023-05-29 11:35:35 -03:00
Haoyu Qiu b30a332009 Fix theme of editor VCS dialogs
These dialogs were added to the plugin itself so theme can't be
propagated.

Also moved initialization of the VCS menu after the creation of
EditorInterface.
2023-05-29 21:25:31 +08:00
bitsawer 23c375d6b4 Fix shader uniform storage conversions and crash 2023-05-29 15:17:13 +03:00
Rémi Verschelde 2f57da2907
Merge pull request #77578 from RedworkDE/invalidate-doccache-on-change
Invalidate the DocCache when updating the XML docs
2023-05-29 12:23:05 +02:00
Rémi Verschelde d3867e3a64
Merge pull request #77556 from MewPurPur/optimize-csgsvgs
Optimize CSG icons and more
2023-05-29 12:22:57 +02:00
Yuri Sizov 294b1a731a
Merge pull request #63732 from DarkMessiah/create-new-node-arrow-navigation
Add arrow navigation for the Create New Node window
2023-05-29 12:21:29 +02:00
VolTer 1f4c5a702c Optimize CSG icons and more 2023-05-29 11:26:10 +02:00
Rémi Verschelde 74f848a9c4
Merge pull request #77495 from MewPurPur/fix-environment-icon
Fix WorldEnvironment icon
2023-05-29 10:29:21 +02:00
Rémi Verschelde 02889c721f
Merge pull request #77492 from MewPurPur/optimize-more-svg
Manually optimize a lot of SVGs
2023-05-29 10:29:17 +02:00
Rémi Verschelde f37d82c0f7
Merge pull request #77376 from MewPurPur/input-event-icons
Add InputEvent icons
2023-05-29 10:29:12 +02:00
Rémi Verschelde aa739bae4f
Merge pull request #76616 from TokageItLab/implement-anim-node-sub2
Implement `AnimationNodeSub2` to `AnimationTree` and allow less or greater value in mathematical `AnimationNode`
2023-05-29 10:29:02 +02:00
Rémi Verschelde c97201babc
Merge pull request #76545 from JoNax97/gradient_color_spaces
Add Linear SRGB and OKLab color spaces to Gradient.
2023-05-29 10:28:58 +02:00
Rémi Verschelde 990943782a
Merge pull request #74959 from MewPurPur/nice-curves
Overhaul the Curve Editor
2023-05-29 10:28:53 +02:00
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
ajreckof 006e899bb3 sort code completions with rules
Fixups

Add levenshtein distance for comparisons, remove kind sort order, try to improve as many different use cases as possible

Trying again to improve code completion

Sort code autocompletion options by similarity based on input

To make it really brief, uses a combination `String.similiary`, the category system introduced in a previous PR, and some filtering to yield more predictable results, instead of scattering every completion option at seemingly random.

It also gives much higher priority to strings that contain the base in full, closer to the beginning or are perfect matches.

Also moves CodeCompletionOptionCompare to code_edit.cpp

Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
Co-Authored-By: Eric M <41730826+EricEzaM@users.noreply.github.com>
2023-05-23 05:12:34 +02: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
Rémi Verschelde f5d8a72e6d
Merge pull request #77034 from kleonc/spriteframes-editor-toolbar-flowcontainer
Make SpriteFrames editor toolbar a `FlowContainer`
2023-05-15 13:44:56 +02:00
Rémi Verschelde 9853da4bfe
Merge pull request #77009 from jpcerrone/fix_errors_while_reordering_input_maps
Fix errors that appear while reordering input map entries
2023-05-15 13:44:33 +02:00
Rémi Verschelde 591115dcde
Merge pull request #76989 from dalexeev/fix-draw-multiline-colors-usage
Fix `draw_multiline_colors` usage
2023-05-15 13:44:09 +02:00
Samuele Panzeri a103cd76bb Fix skeleton 3d editor crash in RC3
Control notifies a theme changed before the editor has entered the tree
2023-05-15 12:12:48 +02:00
Rémi Verschelde e2f27a2248
Merge pull request #77042 from dioptryk/obj-vertex-colors-master
Add support for non-standard OBJ vertex entries
2023-05-15 09:34:59 +02:00
Rémi Verschelde 716f788b98
Merge pull request #77033 from dalexeev/editor-help-fix-array-links
EditorHelp: Fix displaying typed `Array` links
2023-05-15 09:34:35 +02:00
Rémi Verschelde 0f5e9a52da
Merge pull request #77027 from brno32/hide-properties-when-overriden
Exclude overriden properties from Property Descriptions section
2023-05-15 09:33:48 +02:00
Danil Alexeev cc44d75cd8
Fix `draw_multiline_colors` usage 2023-05-15 09:56:13 +03:00
kobewi d1a114470c Print a warning when a nested project is detected 2023-05-15 02:04:58 +02:00
kobewi 61465ee9a1 Allow showing messages from threads in Editor Log 2023-05-15 01:58:27 +02:00
Alex Drozd 28f391f301 Exclude overriden properties from Property Descriptions section 2023-05-14 17:41:14 +02:00
Bartłomiej Karwacki 444d211a8d Add support for non-standard OBJ vertex entries 2023-05-13 22:37:38 +02:00
kleonc d58e832062 Make SpriteFrames editor toolbar a FlowContainer 2023-05-13 16:00:25 +02:00
Danil Alexeev a16b2fc3b6
EditorHelp: Fix displaying typed `Array` links 2023-05-13 16:09:35 +03:00
Summersay415 289af4f73c Add Vector4i icon 2023-05-13 16:20:56 +07:00
jpcerrone c6ea376842 fix errors while reordering input maps 2023-05-12 16:15:16 -03:00
Rémi Verschelde ca26d9dc48
Merge pull request #71280 from RandomShaper/fix_deadlock_windows
Enhance thread-safety of loaders and importers (a.k.a. fix editor deadlock)
2023-05-12 20:12:32 +02:00
kobewi 27dccf1b5e Enhance filesystem dock tooltips 2023-05-12 19:28:34 +02:00
Pedro J. Estébanez 45d0b38076 Enhance thread safety of loaders and importers 2023-05-12 17:44:48 +02:00
Pedro J. Estébanez 7537a0521f Simplify ResourceLoader error callbacks 2023-05-12 17:44:48 +02:00
ajreckof 6f596ee903 fix paste value not updated in dictionaries/arrays 2023-05-12 16:13:35 +02:00
Rémi Verschelde 65778525bf
Merge pull request #76967 from martinboue/export-mode-subheading
Fix include text when excluding resources to export
2023-05-12 12:46:50 +02:00
Rémi Verschelde c90654b565
Merge pull request #76530 from nongvantinh/fix-75982
Fixes Node arrays appear as Object arrays in the inspector
2023-05-12 12:46:23 +02:00
Rémi Verschelde f7374e2db7
Merge pull request #76897 from aaronfranke/debug-stack
Rename the Debugger's stack debug section
2023-05-12 11:17:55 +02:00
Rémi Verschelde 645fd5ed0c
Merge pull request #76979 from MewPurPur/unify-audio-bus-textures
Remove AudioBusEmpty.svg, use ProgressBar tint instead
2023-05-12 10:06:55 +02:00
Rémi Verschelde e4f81fb79e
Merge pull request #76964 from aaronfranke/addon-sort
Sort the list of addons before saving them
2023-05-12 10:05:44 +02:00
Rémi Verschelde cc48827e4a
Merge pull request #76946 from AThousandShips/shadow_warning
Enable shadow warnings and fix raised errors
2023-05-12 10:04:09 +02:00
Aaron Franke 74361b3d50
Rename the Debugger's stack debug section to Stack Trace 2023-05-11 21:22:24 -05:00
VolTer 7ee5cd26ef Remove AudioBusEmpty.svg, use ProgressBar tint instead 2023-05-12 01:55:52 +02:00
Martin Boué 886e73683d Fix include text when excluding resources to export 2023-05-11 21:29:08 +02:00
Aaron Franke b4129680fb
Sort the list of addons before saving them 2023-05-11 13:39:26 -05:00
Bram Stolk 4bc513edbc Add missing initializations for Node3DEditor.
Do not try to format fields with garbage values in _snap_update()
Initialize grid_enable[] before use.
Initialize previewing_camera before use.
These are all cases found live, with valgrind.
Fixes #76925
2023-05-11 08:16:04 -07:00
Ninni Pipping 71ee65dc57 Enable shadow warnings and fix raised errors 2023-05-11 16:00:59 +02:00
Rémi Verschelde f717cc0a38
Merge pull request #76926 from Sauermann/fix-call-to-unhandled-input
Propagate shortcut events to SubViewports
2023-05-11 11:48:46 +02:00
Rémi Verschelde 4020cc8acb
Merge pull request #76794 from Wiwip/inline-edit
Inline editor for the file system dock
2023-05-11 11:46:45 +02:00
Rémi Verschelde 3fdf555d43
Merge pull request #76592 from spanzeri/fix-skeletons-and-bones
Fix skeleton_3d & physical_bone_3d editor errors
2023-05-11 11:46:21 +02:00
Rémi Verschelde f7070a64e0
Merge pull request #72277 from Geometror/improve-editor-state-preservation
Improve editor state persistence
2023-05-11 11:45:52 +02:00
Hendrik Brucker dc46163b12 Improve editor state persistence 2023-05-11 04:17:03 +02:00
Wiwip b08a6084af Modifies the file system dock to use the inline editor instead of a dialog.
*Bugsquad edit:* Closes https://github.com/godotengine/godot-proposals/issues/4933
2023-05-10 18:49:35 -04:00
Markus Sauermann ac02086647 Propagate shortcuts to SubViewports
`push_unhandled_input` no longer propagates events to `SubViewports`.
2023-05-10 21:56:04 +02:00
Samuele Panzeri 679ff6da0e Fix skeleton_3d & physical_bone_3d editor errors 2023-05-10 18:03:30 +02:00
Rémi Verschelde 4e1d5be9d3
Merge pull request #76910 from AThousandShips/inspector_fix
Make `EditorPropertyNameProcessor` check `EditorSettings` validity
2023-05-10 14:19:15 +02:00
kobewi 04317e9ced Add metadata to resource previews 2023-05-10 14:03:10 +02:00
Ninni Pipping 6cd9d72abe Make `EditorPropertyNameProcessor` check `EditorSettings` validity 2023-05-10 13:35:05 +02:00
Rémi Verschelde 74e5ad5c60
Merge pull request #76165 from and-rad/safe-credentials
Store sensitive export options in dedicated credentials file
2023-05-10 12:47:07 +02:00
Rémi Verschelde 5271186f2f
Merge pull request #75901 from reduz/refactor-node-processing
Refactor Node Processing to allow Scene Multithreading
2023-05-10 12:46:44 +02:00
Rémi Verschelde 31fc7a8525
Merge pull request #62378 from trollodel/gsoc_2022_multiwindow
Add multi window code and shader editors (GSOC'22 Project)
2023-05-10 12:46:19 +02:00
Andreas Raddau fab160ce70 Store sensitive export options in dedicated credentials file 2023-05-10 11:40:17 +02:00
Rémi Verschelde 3b8c828159
Merge pull request #69988 from smix8/navigation_rvo_rework_4.x
Rework Navigation Avoidance
2023-05-10 10:19:12 +02:00
Rémi Verschelde 8e608e9467
Merge pull request #64388 from Rindbee/improve-ViewportTexture
Improve the UX of ViewportTexture in the editor
2023-05-10 10:18:43 +02:00
trollodel b4d6b47c17 Add multi window code and shader editors 2023-05-10 09:14:21 +02:00
smix8 a6ac305f96 Rework Navigation Avoidance
Rework Navigation Avoidance.
2023-05-10 05:01:58 +02:00
Rindbee af58f1e854 Improve the UX of ViewportTexture in the editor
The associated `ViewportTexture`s will update the `viewport_path`
in time when the `Viewport`'s nodepath is changed (caused by renaming
the node names or moving in the SceneTree dock).

If the target `Viewport` is changed by resetting the `viewport_path`,
the `ViewportTexture`s will be re-setup and emit `changed` signal in
time.
2023-05-10 09:13:43 +08:00
Rémi Verschelde ccf8029910
Merge pull request #76730 from AThousandShips/doc_order
Make documentation sorting use natural order
2023-05-09 19:28:38 +02:00
Rémi Verschelde 10ed1d87df
Merge pull request #76490 from dsnopek/dump-gdscript-docs
Dump API docs from inline GDScript comments using --doctool --gdscript-docs PATH
2023-05-09 19:28:30 +02:00
Rémi Verschelde de14109862
Merge pull request #73588 from smosages/resolve-display-shader-settings-in-settings-editor
Define shader language project settings before creation of `TextShaderEditor` object.
2023-05-09 19:28:17 +02:00
Juan Linietsky 98c655ec8d Refactor Node Processing
* Node processing works on the concept of process groups.
* A node group can be inherited, run on main thread, or a sub-thread.
* Groups can be ordered.
* Process priority is now present for physics.

This is the first steps towards implementing https://github.com/godotengine/godot-proposals/issues/6424.
No threading or thread guards exist yet in most of the scene code other than Node. That will have to be added later.
2023-05-09 19:17:51 +02:00
Ninni Pipping 6bccdec7a1 Make documentation sorting use natural order 2023-05-09 17:47:52 +02:00
Rémi Verschelde 72323a57d0
Merge pull request #57894 from Sauermann/fix-subviewport-1
Fix unrestricted mouse-event propagation to SubViewports for Physics-Picking
2023-05-09 10:43:49 +02:00
jmb462 d59cdb8327 Fix regression with right click on main selection 2023-05-08 21:56:16 +02:00
David Snopek a64137d5dd Dump API docs from inline GDScript comments using --doctool --gdscript-docs PATH 2023-05-08 11:00:29 -05:00
Rémi Verschelde b3bb92ae5e
CI: Use gh-cli for changed files, and workaround codespell skip list bug
For PRs, this should give a more accurate list, as the previous method would
diff to the tip of the `master` branch, which could include new commits (and
thus changed files) not present in the PR branch.

codespell's `--skip` option doesn't work at all with folders when used
together with an explicit list of paths to work with, so let's not use it.
2023-05-08 15:36:17 +02:00
Rémi Verschelde 491a437df5
Merge pull request #76540 from reduz/redo-remote-filesystem
Redo how the remote filesystem works
2023-05-08 13:52:51 +02:00
Rémi Verschelde 3e6a731904
Merge pull request #76418 from reduz/method-bind-validated-call
Add ValidatedCall to MethodBind
2023-05-08 13:52:42 +02:00
Rémi Verschelde 7f6b283212
Merge pull request #74264 from timothyqiu/self-awareness
Allow EditorInspector to change its property name style when necessary
2023-05-08 13:52:23 +02:00
Rémi Verschelde b791a7acb8
Merge pull request #70488 from KoBeWi/SNAP!
Add proper snapping to tile polygon editor
2023-05-08 13:52:11 +02:00
Rémi Verschelde 41f1ec1efe
Merge pull request #76798 from KoBeWi/race_condition_except_there_is_no_thread
Fix another collision shape editor crash
2023-05-08 12:20:57 +02:00
Rémi Verschelde eb6d6ab29f
Merge pull request #76658 from Paulb23/convert-indent-code-edit
Move convert_indent into CodeEdit
2023-05-08 12:20:37 +02:00
Rémi Verschelde 32fbba4bf6
Merge pull request #76472 from jmb462/multicarets_selection_popup
Fix right click in selection of additional caret
2023-05-08 12:20:25 +02:00
Rémi Verschelde e70777260d
Merge pull request #70911 from Chaosus/vs_custom_gdextension_support
Add handling of custom visual shader nodes from GDExtension
2023-05-08 12:20:00 +02:00
Rémi Verschelde b639076e04
Merge pull request #68800 from KoBeWi/tinfo
Add info label to TileMap editor
2023-05-08 12:19:52 +02:00
Juan Linietsky 273a6eeb66 Redo how the remote filesystem works
Instead of reading files over the network, the new version uses a local file cache and only updates files when it changes.

The original remote filesystem was created 14 years ago, when ethernet was faster than hard drives or even flash. Also, mobile devices have a very small amount of storage.
Nowadays, this is no longer the case so the approach is changed to using a persistent cache in the target device.

Co-authored-by: m4gr3d
2023-05-08 11:57:54 +02:00
Fredia Huya-Kouadio bd1bc68ba0
Merge pull request #75718 from m4gr3d/add_scale_editor_icons_main
Adds a `scale_gizmo_handles` entry to the `Touchscreen` editor settings
2023-05-07 17:05:12 -07:00
Fredia Huya-Kouadio 30824e9818 Adds a `scale_gizmo_handles` entry to the `Touchscreen` editor settings
When enabled, this scales the editor icons to improve usability on touchscreen devices.
In addition this commit fixes touch detection for the collision_shape_2d_editor_plugin so it scales with the icons size.
2023-05-07 15:55:28 -07:00
Jean-Michel Bernard 5c06c030f2 Fix right click in selection of additional caret 2023-05-08 00:02:56 +02:00
VolTer 39b79bbd1e Improvements to Gradient2D Editor 2023-05-07 22:45:11 +02:00
Paulb23 0b3fba45c6 Move convert_indent into CodeEdit 2023-05-07 13:08:37 +01:00
kobewi 01c32dffaf Fix another collision shape editor crash 2023-05-07 02:32:20 +02:00
RedworkDE 1324c7d06a Avoid making unnecessary copies of `LocalVector` 2023-05-06 20:39:03 +02:00
Max Hilbrunner 862cbe2fc6
Merge pull request #76761 from KoBeWi/this_file_ain't_big_enough_for_both_of_us 2023-05-06 15:07:35 +02:00
Max Hilbrunner 115fa34cb4
Merge pull request #76743 from HotHead007/master 2023-05-06 14:44:16 +02:00
Yuri Rubinsky 998b48f722 Add handling of custom visual shader nodes from GDExtension 2023-05-06 08:19:12 +03:00
kobewi 88ea3dd4db Remove erroneous signal connection 2023-05-05 22:26:19 +02:00
Clay John 610877e326
Merge pull request #72288 from MewPurPur/use-string-repeat
Use `String.repeat()` to optimize several String methods
2023-05-05 09:56:48 -07:00
Clay John 214a848e0f
Merge pull request #76700 from dsnopek/dedicated-server-mark-inherited
Explicitly mark inherited export mode when making a dedicated server export
2023-05-05 09:23:32 -07:00
Max Hilbrunner f6bf51ca49
Merge pull request #75864 from KoBeWi/assassin_of_shaders 2023-05-05 14:37:54 +02:00
Manik Sharma 3ce0ebb242 Make environment energy adjustable as a float in 3D editor's preview environment 2023-05-05 09:01:46 +05:30
Manik Sharma 5e1cb39101 Make sun energy adjustable as a float in the 3D editor's preview sun 2023-05-04 10:34:07 +05:30
Max Hilbrunner 2816825e44
Merge pull request #76555 from Tetane/master
Fix 2D shader preview draws over uniform
2023-05-03 20:07:00 +02:00
David Snopek 61f03daeeb Explicitly mark inherited export mode when making a dedicated server export 2023-05-03 09:47:33 -05:00
kobewi b732c2b341 Add background panel to new meta dialog 2023-05-03 00:21:05 +02:00
kleonc 82f6dae408 Unify setting tooltips for items in SceneTreeEditor 2023-05-02 12:34:44 +02:00
Rindbee fd75bb562e Do not cache the doc information written by user in the script in Inspector
The doc information of the edited object is cached to reuse it in the next `EditorInspector::update_tree()` call.

This is not suitable for doc information written by users in the script because it is easily changed.
2023-05-02 05:53:09 +08:00
kobewi 24224381ec Add proper snapping to tile polygon editor 2023-05-01 21:36:33 +02:00
VolTer 6b84e258d2 Use String.repeat() in more places 2023-05-01 02:27:46 +02:00
Juan Linietsky 1c93606e47 Add ValidatedCall to MethodBind
* This should optimize GDScript function calling _enormously_.
* It also should simplify the GDScript VM considerably.

NOTE: GDExtension calling performance has most likely been affected until going via ptrcall is fixed.
2023-04-30 20:01:26 +02:00
HolonProduction 7814dedc91 Preserve scene unique names when saving branch as scene. 2023-04-30 13:33:43 +02:00
Haoyu Qiu d24ee551ec Allow EditorInspector to change its property name style when necessary
Previously, an EditorInspector's property name can only be set from
outside. Inspectors used for settings needs to respond to changes in
editor settings. So a few boilerplate code is almost always needed,
including watching for a certain editor setting in `_notification()`.

This commit adds a `set_use_settings_style()` function to tell the
inspector to watch for editor settings changes on its own.
2023-04-29 10:51:00 +08:00
Tetane d3792a2373 Use a SubViewport for CanvasItem inspector preview 2023-04-28 22:43:47 +02:00
Rémi Verschelde e8f5d0f6e8
Merge pull request #76546 from KoBeWi/prevent_shape_editor_from_killing_Godot
Fix CollisionShape2D editor crash
2023-04-28 17:08:33 +02:00
Rémi Verschelde 012e2b7411
Merge pull request #76539 from anvilfolk/gddocsreg
Fix wrongly removing prefix when generating in-editor documentation
2023-04-28 17:08:05 +02:00
kobewi e5d0bb1605 Fix CollisionShape2D editor crash 2023-04-28 16:25:38 +02:00
ocean (they/them) 6f8113721d Fix wrongly removing prefix when generating in-editor documentation
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2023-04-28 07:38:36 -04:00
Nong Van Tinh 3ebf2264aa Fixes Node arrays appear as Object arrays in the inspector 2023-04-28 14:27:10 +07:00
Tefatika 09460cfaaf
Command Palette search now also uses original English command names
Both localized and non localized names will be used while filtering

The highest score between the two will be picked when determining
the entries order
2023-04-28 02:22:20 +02:00
Rémi Verschelde b81387d6b7
Merge pull request #76513 from YuriSizov/editor-dont-run-too-fast
Avoid accessing the theme too early in EditorRunBar
2023-04-27 23:57:00 +02:00
Samuele Panzeri 4aaa2e6477 Fix wait for thread not started 2023-04-27 20:28:22 +02:00
Yuri Sizov de1a1dd43e Avoid accessing the theme too early in EditorRunBar 2023-04-27 18:49:16 +02:00
Rémi Verschelde 240ed28291
Merge pull request #76503 from RandomShaper/fix_args_print
Fix formatting function not used when printing run arguments
2023-04-27 16:56:58 +02:00
Rémi Verschelde 0fc3ba2ea7
Merge pull request #76499 from lyuma/fix_silhouette_fixer
import: Fix Silhouette used incorrect index.
2023-04-27 16:56:33 +02:00
Rémi Verschelde f43b39a7c0
Merge pull request #50671 from winston-yallow/improve-editor-spin-slider
Add editor setting for spin slider sensibility
2023-04-27 16:55:16 +02:00
Winston Yallow 277e261acf
Add editor setting for spin slider sensibility 2023-04-27 13:45:24 +02:00
Pedro J. Estébanez cc92ba0d44 Fix formatting function not used when printing run arguments 2023-04-27 13:44:19 +02:00
Lyuma d33a734ac5 import: Fix Silhouette used incorrect index.
Fixes bind pose mistake from using i (mesh skin index) instead of bone_idx (skeleton bone index).
Fixes #76448
2023-04-27 01:41:28 -07:00
Rémi Verschelde fc27bc0306
Merge pull request #76492 from KoBeWi/shaped_up_nicely
Improve reliability of 2D shape editor redrawing
2023-04-27 08:21:06 +02:00
Rémi Verschelde cedd3378f5
Merge pull request #69053 from KoBeWi/grabbercentrism
Add center_grabber theme property to Slider
2023-04-27 08:18:37 +02:00
kobewi d8e39912f8 Improve reliability of 2D shape editor redrawing 2023-04-27 02:44:14 +02:00
Yuri Sizov 26fb911f79
Merge pull request #72095 from anvilfolk/gd-docs
Improve GDScript documentation generation & behavior
2023-04-26 16:54:25 +02:00
Rémi Verschelde e2e870c611
Merge pull request #76378 from KoBeWi/fix_typed_array_export_2-fix_harder
Fix typed array export... again
2023-04-26 14:11:52 +02:00
Rémi Verschelde e1075e9c7c
Fix various typos with codespell
Also includes the grammar fix from #76206.

Co-authored-by: Peter Anderson <BWPanda@users.noreply.github.com>
2023-04-26 13:57:09 +02:00
Rémi Verschelde 8f7b09916d
Merge pull request #76026 from YuriSizov/editor-running-up-that-gui
Extract editor run toolbar into its own component
2023-04-26 12:15:29 +02:00
kobewi 36b4ed4fa4 Prompt to confirm anim track delete on node delete 2023-04-25 17:55:05 +02:00
Rémi Verschelde aa622dae53
Merge pull request #76431 from RandomShaper/fix_doc_help_cache
Improve reliability of editor docs cache
2023-04-25 14:44:17 +02:00
Pedro J. Estébanez e1ce0340b7 Improve reliability of editor docs cache 2023-04-25 11:40:56 +02:00
Yuri Sizov 0562decf34 Unexpose AnimationTrackEditPlugin as not implemented 2023-04-25 11:38:17 +02:00
Rémi Verschelde e54ebaf0eb
Merge pull request #76421 from timothyqiu/editor-dialog
Fix inconsistent file dialog settings usage
2023-04-25 10:01:06 +02:00
Rémi Verschelde 7b2d142808
Merge pull request #76084 from timothyqiu/nested-folders
Make create folder popup support nested folders
2023-04-25 09:59:31 +02:00