Commit Graph

13208 Commits

Author SHA1 Message Date
Rémi Verschelde 9be0aab790
Merge pull request #75798 from KoBeWi/let's_fix_this_hack_with_yet_another_hack
Make sure script cache is created after reimport
2023-06-12 22:53:35 +02:00
Alex Drozd 454befc880 Prevent non-existent scene from being saved to persistent editor config 2023-06-12 22:49:49 +02:00
Marius Hanl 55ba34a6d2 Fix exported variables declaring or inferring the type were not converted correctly. 2023-06-12 19:19:51 +02:00
Marius Hanl bd599d0797 Improve function detection to avoid accidental conversion
When converting a function like "connect(", we do not want to detect a function like "reconnect(" as a possible candidate for conversion.
2023-06-12 19:19:19 +02:00
bruvzg 488626701d
Fix editor log flicker. 2023-06-12 20:15:23 +03:00
Yuri Sizov 593d5ca29f
Merge pull request #77962 from KoBeWi/some_hand-holding_is_ok,_probably
Improve some tile editor hint labels
2023-06-12 18:23:23 +02:00
MewPurPur a8412c12da Standardize and Optimize blue robot SVG
Co-authored-by: Andre Vallestero <39736205+AndreVallestero@users.noreply.github.com>
2023-06-12 18:12:40 +02:00
MewPurPur ecb7a9954b Optimize a few SVGs 2023-06-12 18:05:14 +02:00
Rémi Verschelde 6306eb4047
Merge pull request #76372 from sygi/dont_propagate_lock_view
Store lock view rotation whether its on or off
2023-06-12 17:09:38 +02:00
Rémi Verschelde c3e5e4ed4b
Merge pull request #68599 from Rindbee/update-edited_scene_root-in-time
Update the edit scene root in time after it is replaced
2023-06-12 17:08:50 +02:00
Rindbee eb74079dfb Update the edit scene root in time after it is replaced
When changing the type of the edited scene root node, it may be necessary
to update edited scene root in time for the child nodes to work properly.
2023-06-12 21:49:30 +08:00
Rémi Verschelde 2d6b880987
i18n: Sync translations with Weblate (now tracking 4.1 strings) 2023-06-12 14:57:08 +02:00
heppocogne f7f4e53763 Add relative path support for `EditorPlugin::add_autoload_singleton` 2023-06-12 21:27:46 +09:00
Rémi Verschelde 7b9df571b3
Merge pull request #78102 from MewPurPur/polyphonic-audio-icon
Add AudioStreamPolyphonic icon
2023-06-12 14:15:31 +02:00
Rémi Verschelde bb59def1af
Merge pull request #78097 from brno32/remove-assert-from-project-converter
Remove `assert` conversion from the project converter
2023-06-12 14:15:07 +02:00
Rémi Verschelde 055986c870
Merge pull request #78125 from KoBeWi/editing_gone_wrong
Fix some invalid plugin edit calls
2023-06-12 11:57:35 +02:00
Rémi Verschelde 2c5f259cf5
Merge pull request #78124 from KoBeWi/leave_MeshLibrary_alone
Fix problems reloading MeshLibrary
2023-06-12 11:57:07 +02:00
Rémi Verschelde d4951ead3a
Merge pull request #78093 from samar-01/fix-77944
Changed error tree initialization to allow reselection
2023-06-12 11:40:41 +02:00
Rémi Verschelde 7db29c04cd
Merge pull request #78057 from KoBeWi/PR_snatcher_strikes_back
Fix moving directories in filesystem
2023-06-12 11:40:18 +02:00
kobewi 366c9678ca Fix some invalid plugin edit calls 2023-06-11 22:15:54 +02:00
kobewi 0a4d0506d1 Fix problems reloading MeshLibrary 2023-06-11 19:42:24 +02:00
samar-01 d9e64d7001 Changed error tree initialization to allow reselection 2023-06-10 22:47:16 -04:00
MewPurPur e62c966f31 Add AudioStreamPolyphonic icon 2023-06-11 01:53:33 +02:00
Alex Drozd d053536b3b removing assert statement from the project converter 2023-06-10 23:33:11 +02:00
Rémi Verschelde c3a45e771b
Merge pull request #77699 from KoBeWi/an_indestructible_ratio_that_we_all_deserve
Preserve vector ratio when dragging through 0
2023-06-10 12:10:30 +02:00
kobewi 40d1791721 Fix moving directories in filesystem
Co-authored-by: Samuele Panzeri <samuele.panzeri@gmail.com>
2023-06-09 18:33:05 +02:00
Rémi Verschelde d3651ea455
Merge pull request #77834 from KoBeWi/I.M.G
Fix Image -> Texture2D inspector auto-conversion
2023-06-09 15:32:04 +02:00
Rémi Verschelde 0e0758c5cd
Merge pull request #75261 from AThousandShips/wav_trim
Fix trim when importing WAV
2023-06-09 15:31:15 +02:00
Rémi Verschelde a08aa9627c
Merge pull request #75226 from AThousandShips/file_dialog_default
Do not use editor setting for FileDialog hidden files
2023-06-09 15:30:48 +02:00
Rémi Verschelde a3a8d3463e
Merge pull request #74948 from AThousandShips/animation_key
Fix type check in AnimationTrackKeyEdit for methods
2023-06-09 15:30:16 +02:00
Rémi Verschelde a5de7e3820
Merge pull request #78046 from Calinou/editor-capitalization-add-textfile
Add TextFile to editor property capitalizations
2023-06-09 15:11:29 +02:00
Hugo Locurcio 695c69232e
Add TextFile to editor property capitalizations
This is used in the TextFile Extensions editor setting.
2023-06-09 14:27:46 +02:00
Rémi Verschelde b6bb244aad
Merge pull request #78042 from timothyqiu/phantom
Fix heap-use-after-free when editing project tags
2023-06-09 13:44:51 +02:00
Haoyu Qiu fade92e4a8 Fix heap-use-after-free when editing project tags 2023-06-09 18:34:07 +08:00
Haoyu Qiu 59f60dc4e5 Disable auto translate for some controls in Project Manager 2023-06-09 18:18:53 +08:00
Rémi Verschelde b083c1dbf5
Merge pull request #78005 from Sauermann/fix-some-simplifications
Some code simplifications
2023-06-09 11:06:26 +02:00
Rémi Verschelde 9b31d257ae
Merge pull request #77861 from ajreckof/fix-being-able-to-delete-new-key/value-from-dictionary-editor
Fix being able to delete new key/value from dictionary editor.
2023-06-09 11:05:36 +02:00
Rémi Verschelde 166643df32
Merge pull request #74937 from bitsawer/fix_uniform_storage
Fix shader uniform storage conversions and crash
2023-06-09 11:04:16 +02:00
Rémi Verschelde 577ab3c565
Merge pull request #75746 from ajreckof/order_autocomplete
Sort code autocompletion with rules
2023-06-08 18:14:31 +02:00
Markus Sauermann 5ddab1f363 Some code simplifications
AnimationNodeBlendSpace2DEditor:
- `!tree` is always false, because it is checked a few lines above

CurveEdit:
- grabbing != GRAB_NONE is redundant

GradientTexture2DEdit:
- grabbed != HANDLE_FROM is redundant
- grabbed != HANDLE_TO is redundant

Viewport:
- index is not used afterwards
- In these cases `gui.mouse_focus` is always valid. Move check to a DEV_ASSERT
- simplify `stopped` calculation
2023-06-08 16:15:22 +02:00
Fredia Huya-Kouadio b2cd6a8a95 Add setting to control the window used to run the project for the Android editor
The follow options were added to the (new) `run/window_placement/android_window` editor setting:

- `Same as Editor`: run the project in the same window as the editor
- `Side-by-side with Editor`: run the project in an adjacent window to the editor
- `Auto`: choose how to run the project based on the device screen size
2023-06-07 18:32:52 -07:00
kobewi 0972e15df5 Improve some tile editor hint labels 2023-06-07 15:59:19 +02:00
Rémi Verschelde ea6a141fff
Merge pull request #77939 from MewPurPur/optimize-default-theme-svg
Optimize and fix the default theme SVGs
2023-06-07 13:32:01 +02:00
Rémi Verschelde 9a489f4fdf
Merge pull request #77929 from MJacred/fix/gles_info_fetch
Replace get_rendering_device() call to prevent crashes on OpenGL.
2023-06-07 11:02:12 +02:00
VolTer 995880e60b Optimize and fix the default theme SVGs 2023-06-07 05:40:58 +02:00
kobewi 16ac217aa0 Draw materials in tile atlas view 2023-06-07 01:03:55 +02:00
MJacred 2c5e2196bd Replace get_rendering_device() call to prevent crashes on OpenGL.
And make OpenGL video adapter info align with Vulkan.
2023-06-06 23:29:36 +02:00
Rémi Verschelde 46c4068821
Merge pull request #77170 from lawnjelly/scu_build_master
Add support for single compilation unit builds
2023-06-06 17:58:09 +02:00
lawnjelly b69c8b4791 Single Compilation Unit build.
Adds support for simple SCU build (DEV_ENABLED only).
This speeds up compilation by compiling multiple cpp files within a single translation unit.
2023-06-06 15:36:51 +01:00
Yuri Sizov df38a53e05
Merge pull request #77756 from MewPurPur/In-my-ongoing-pursuit-of-optimization-I-undertook-the-task-of-meticulously-refining-and-streamlining-a-substantial-quantity-of-Scalable-Vector-Graphics-files-with-the-goal-of-maximizing-their-operational-effectiveness-and-resource-utilization
Reduce the total size of our SVGs by 15%
2023-06-06 12:41:16 +02:00
Yuri Sizov 2cec7e9ca6
Merge pull request #77849 from TokageItLab/add-spring-tween-to-track-editor
Add spring tween to `AnimationTrackEditor`
2023-06-06 12:37:35 +02:00
Yuri Sizov 70a82c0b2f
Merge pull request #77900 from bruvzg/key_conv
[Input Map] Generate missing values instead of disabling options.
2023-06-06 12:31:47 +02:00
Yuri Sizov 9fbbb4592d
Merge pull request #68697 from MewPurPur/dependency-editor-thinks-every-resource-is-scene
Fix "View Owners" dialog not acknowledging that some resources aren't scenes
2023-06-06 12:29:50 +02:00
bruvzg c3cb846f72
[Input Map] Generate missing values instead of disabling options. 2023-06-06 10:55:00 +03:00
Rémi Verschelde 67c0467e04
Merge pull request #77860 from ajreckof/add-move-control-points-button-for-Path3D
Add move control points button to Path3D Editor.
2023-06-05 18:05:02 +02:00
Rémi Verschelde 89ef3e2c16
Merge pull request #77852 from ajreckof/make-3Dview-pan-in-the-right-way-with-trackpads
Make panning the 3D view with trackpad goes the right way
2023-06-05 18:04:58 +02:00
Rémi Verschelde d214dc5a0c
Merge pull request #77796 from MewPurPur/yeah-no-one-needs-exaseconds
Fix profilers' GUI trees
2023-06-05 13:42:54 +02:00
Rémi Verschelde e3681eb05f
Merge pull request #77632 from Wiwip/inline-edit-fix
Inline edit for FileSystem dock in SPLIT_MODE
2023-06-05 13:42:11 +02:00
ajreckof 31022d96a5 Fix being able to delete new key/value from dictionary editor. 2023-06-05 05:38:09 +02:00
ajreckof 7f4f219a24 Add move control points button to PAth3D Editor 2023-06-05 04:54:48 +02:00
ajreckof 05dd9c0f8b Make panning the 3D view with trackpad goes the right way 2023-06-05 02:12:52 +02:00
Silc Lizard (Tokage) Renew 14205804a9 Add spring tween to AnimationTrackEditor 2023-06-05 05:02:27 +09:00
kobewi b958935550 Fix Image -> Texture2D inspector auto-conversion 2023-06-04 15:21:52 +02:00
VolTer 119456304b Reduce the total size of our SVGs by 15% 2023-06-04 15:11:48 +02:00
VolTer 6f1adb72db Fix profilers' GUI trees 2023-06-03 11:47:59 +02:00
Rémi Verschelde 5b3019dbca
Merge pull request #77782 from RandomShaper/fix_hc_bind_type
Use right type in the binding of DocCache::classes
2023-06-03 01:41:34 +02:00
kobewi 09d5884b0d Enable bookmarks gutter 2023-06-02 22:40:29 +02:00
Wiwip 28038feb04 Permits the renaming of files and folders inline for items in the FileSystemDock.
This is a continuation of: https://github.com/godotengine/godot/pull/76794 which didn't consider  DISPLAY_MODE_SPLIT.
Fixes: https://github.com/godotengine/godot/issues/77527 and https://github.com/godotengine/godot-proposals/issues/4933
2023-06-02 16:29:07 -04:00
Pedro J. Estébanez f9836fed72 Use right type in the binding of DocCache::classes 2023-06-02 22:03:21 +02:00
VolTer d7eefc3b1c Fix DependecyEditorOwners not acknowledging non-scene resources 2023-06-02 20:18:33 +02:00
kobewi 6e5a78ebb5 Preserve vector ratio when dragging through 0 2023-06-02 19:35:18 +02:00
kobewi bf02aabfe1 Simplify linked vector ratio logic 2023-06-02 16:05:28 +02:00
Yuri Sizov dc8a0c3cd1
Merge pull request #77674 from ProbablyWorks/77562-tilemap-center-view-button-offset-fix
Set the grow direction for the "Center View" button in the TileMap editor
2023-06-02 15:52:44 +02:00
Yuri Sizov 5b5186383e
Merge pull request #77148 from ajreckof/prevent_unselectable_editor_property_from_being_selected_on_RMB
Prevent selecting unselectable `EditorProperty` with RMB
2023-06-02 13:10:36 +02:00
ProbablyWorks 882ffdfaae set the grow direction of the center view button after setting the anchors 2023-06-01 21:44:16 -04:00
Kongfa Waroros aeb9b8381a Add null checking when finding a lightmap baking path 2023-06-02 04:06:19 +07:00
Rémi Verschelde 42775ff75b
Merge pull request #77705 from MewPurPur/less-code-for-mouse-exit
Use NOTIFICATION_MOUSE_EXIT instead of a signal for a few editor plugins
2023-06-01 15:52:12 +02:00
Rémi Verschelde 0b5c5022f2
Merge pull request #77663 from RedworkDE/audiostream-preview-crash
Fix crash in AudioStream preview
2023-06-01 15:52:08 +02:00
Rémi Verschelde f912457d10
Merge pull request #77640 from MewPurPur/improve-worldboundary-icon
Tweak WorldBoundaryShape icon
2023-06-01 15:52:04 +02:00
Rémi Verschelde f77dee90a6
Merge pull request #76389 from ajreckof/editor-property-nodepath-for-node
Fix typed array export
2023-06-01 00:40:40 +02:00
kobewi 53a15d85be Get rid of mouse wheel switch in scene tabs 2023-05-31 22:21:40 +02:00
VolTer 6566b96b63 Use NOTIFICATION_MOUSE_EXIT instead of a signal for a few editor plugins 2023-05-31 20:03:04 +02:00
Yuri Sizov 282f5ebda1
Merge pull request #47628 from Calinou/2d-editor-remove-contrained-view
Remove constrained view in the 2D editor
2023-05-31 16:35:54 +02:00
kobewi b8a136c385 Add Center View button to 2D editor 2023-05-31 12:56:18 +02:00
Yuri Sizov e7345c3e89
Merge pull request #77208 from KoBeWi/the_tooltip_centipede
Small rework of tooltip plugins
2023-05-31 12:37:42 +02:00
Yuri Sizov 7b379b1438
Merge pull request #74767 from davthedev/main_margins_themeable
Make main editor window border margin controllable by theme
2023-05-31 12:37:15 +02:00
Yuri Sizov 8d6c472f6a
Merge pull request #77135 from KoBeWi/Vector∞
Refactor vector editor properties
2023-05-31 12:36:37 +02:00
kobewi 267728a240 Refactor vector editor properties 2023-05-31 00:14:28 +02:00
kobewi 5baebf75f2 Small rework of tooltip plugins 2023-05-30 23:13:50 +02:00
VolTer c7c6b7aeaf Tweak WorldBoundaryShape icon 2023-05-30 20:36:53 +02:00
RedworkDE 301731c7e6 Fix crash in AudioStream preview 2023-05-30 20:26:10 +02:00
David Giardi a8fc343f80 Make main editor window border margin controllable by theme 2023-05-30 19:19:39 +02:00
Yuri Sizov c0ee762f46
Merge pull request #77655 from bitsawer/fix_strange_fragments
Fix suspicious code related to text rendering
2023-05-30 16:03:44 +02:00
Yuri Sizov 24f650574a
Merge pull request #77652 from MewPurPur/the-ultimate-svg-optimization-PR
Optimize even more SVG icons
2023-05-30 15:11:01 +02:00
Yuri Sizov f6db010f5d
Merge pull request #75047 from KoBeWi/#new_#feature_#tags_#much_#wow
Add project tags
2023-05-30 13:40:35 +02:00
bitsawer 78361370ec Fix issues found by a static analyzer 2023-05-30 12:47:50 +03:00
VolTer 829beafd57 Optimize many SVG icons 2023-05-30 10:40:07 +02:00
Rémi Verschelde 8f25cc2d13
Merge pull request #77621 from MewPurPur/fix-text-mesh-icon
Fix TextMesh icon and some related ones
2023-05-30 09:33:29 +02:00
Rémi Verschelde a65825cf72
Merge pull request #77597 from MewPurPur/highlighter-icons
Add syntax highlighter icons
2023-05-30 09:33:25 +02:00
Rémi Verschelde c79f96d23a
Merge pull request #77592 from nklbdev/fix_update_animation_duration_in_every_selected_tile
Fix update animation frame duration in every selected tile
2023-05-30 09:33:20 +02:00
Rémi Verschelde 60871fd4b7
Merge pull request #77574 from MJacred/editor/system_info_single_line
Make system information for issue reports single-line
2023-05-30 09:33:13 +02:00
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