Commit graph

61568 commits

Author SHA1 Message Date
Paul Joannon
5981886fb7
Clean diagnostic rules
Move the following diagnostics into static readonly fields: GD0101, GD0102, GD0103, GD0104, GD0105, GD0106, GD0107, GD0201, GD0202, GD0203, GD0301, GD0302, GD0303, GD0401, GD0402.

To be more consistent, the titles for the following diagnostics were modified: GD0101, GD0105, GD0106, GD0302, GD0303, GD0401, GD0402. A subsequent update of the documentation repo is needed.

Tests for the following diagnostics were created: GD0201, GD0202, GD0203.
2024-02-18 16:47:20 +01:00
Silc Lizard (Tokage) Renew
3d6d5a6a36 Make CallbackModeDiscrete.Dominant be default for AnimationPlayer 2024-02-18 20:02:20 +09:00
Bastiaan Olij
5a98845655 Implement hooks into renderer 2024-02-18 21:54:21 +11:00
Silc Lizard (Tokage) Renew
c9fc29ae86 Fix some condition for BezierTrack to distinguish between ValueTrack 2024-02-18 19:42:46 +09:00
Rémi Verschelde
5f05e2b9b1
Merge pull request #88475 from raulsntos/dotnet/fix-open-visual-studio
C#: Fix building OpenVisualStudio executable
2024-02-18 11:23:52 +01:00
Rémi Verschelde
7bc2605f02
Merge pull request #88436 from AThousandShips/editor_ellipses
[Editor] Add missing ellipses to menu options that open dialogs
2024-02-18 11:23:48 +01:00
Rémi Verschelde
bc45802201
Merge pull request #88435 from AThousandShips/quick_load_fix
[Editor] Improve clarity and style of `ResourcePicker` menu
2024-02-18 11:23:45 +01:00
Rémi Verschelde
4002ea7e15
Merge pull request #88350 from CookieBadger/animation-cut-keyframe
Implement Cut Selected Keys in AnimationPlayer
2024-02-18 11:23:41 +01:00
Rémi Verschelde
d318177c5e
Merge pull request #88308 from Mickeon/editor-plugin-settings-list-display-woohoo
Improve Project Settings' Plugin display
2024-02-18 11:23:36 +01:00
Rémi Verschelde
e8755b380a
Merge pull request #84792 from scriptsengineer/distance-fog
Add optional depth fog to Environment
2024-02-18 11:23:29 +01:00
passivestar
c2a4a0d4cb Fix LineEdit delete all the way to the left/right when something is selected 2024-02-18 11:58:37 +04:00
jsjtxietian
b7028e5f94 Tweak property order in the inspector for TabBar 2024-02-18 12:54:51 +08:00
Raul Santos
dcb411daee
C#: Fix building OpenVisualStudio executable
Since moving the TFM to .NET Core we need to add some configuration to cross-compile a Windows executable from Linux.
2024-02-18 05:40:06 +01:00
Markus Sauermann
8de39911c8 Fix global position for InputEventMouse in viewport::push_input
Global position doesn't get adjusted within `InputEventMouse::xformed_by()`.
2024-02-18 03:26:09 +01:00
Eidolon
08f4560e69 Add optional depth fog 2024-02-17 22:39:34 -03:00
Malcolm Nixon
7d1a1abe76 Initial XRFaceTrackingProvider and XRFaceTracker work.
Updated to XRFaceModifier3D.
2024-02-17 20:12:47 -05:00
Sabs, like Sobs
3475156ae3 Expose pixel snapping settings add pixel-art notes
This small in-engine documentation change aims to make it easier to
discover ways to handle pixel art aesthetics.

- I have moved 2D pixel snapping settings out of "Advanced." This now matches other pixel-art-friendly settings for
GUI Snapping and Default Texture filtering.
- I've added notes to the project settings and Sprite/AnimatedSprite sources to hint users towards better understanding of why pixelated sprites may not work correctly and what to do about it. This should help users make informed decisions for their needs.

Context: Proper handling of pixel art in Godot is routinely frustrating for new users: I, like others, assumed that Godot would act on pixels, not subpixels, when I was working a pixel art game. I was confused when my interpolations would appear blurry, and when pixel textures would be distorted for no apparent reason (this was because of centering).
I had naively thought that setting Linear interpolation would be the single "it's a pixel art game" toggle, but that only hid the underlying issues until later. I had no idea there was a snap-to-pixel option because it was hidden in the Advanced options, since my default assumption was that a pixel art game would want no subpixels at all.

Some references for the frustration:

- https://github.com/godotengine/godot/issues/82696
- https://www.reddit.com/r/godot/comments/fah25e/best_way_to_achieve_pixel_perfect_rendering/
- https://shaggydev.com/2021/09/21/project-setup-for-pixel-art/
2024-02-17 23:40:53 +00:00
Micky
1a08cba82e Improve look of Donors list in Editor's About 2024-02-17 23:43:17 +01:00
Micky
5080c62fce Improve Project Settings' Plugin display 2024-02-17 23:21:25 +01:00
Micky
f9a758772a Update many Deprecated/Experimental descriptions for consistency 2024-02-17 21:33:12 +01:00
RedMser
159bd47c69 Show keywords in EditorHelpSearch 2024-02-17 20:31:47 +01:00
Rémi Verschelde
8f0c20ee8d
Merge pull request #88457 from AThousandShips/report_fix
Fix formatting in bug report template
2024-02-17 19:57:56 +01:00
Rémi Verschelde
59f966646c
Merge pull request #88453 from Repiteo/dotnet/stringextensions-match-core
C#: Match Core implementation of `BinToInt` & `HexToInt`
2024-02-17 19:57:46 +01:00
A Thousand Ships
c7dee690cd
Fix formatting in bug report template
Unescaped backtics caused visual bugs
2024-02-17 19:43:15 +01:00
Rémi Verschelde
9ae8a0e9cd
Merge pull request #88455 from akien-mga/revert-68420-get_configuration_warnings-compat-breakage
Revert #68420 to undo `get_configuration_warnings` compat breakage
2024-02-17 19:31:09 +01:00
Rémi Verschelde
4f59a77c51
Merge pull request #88449 from AThousandShips/test_tool_fix
[Tests] Fix test regression without editor
2024-02-17 19:31:00 +01:00
Rémi Verschelde
92fcbe2f5c
Revert "Allow configuration warnings to refer to a property"
This reverts commit bf37a9bac6.
2024-02-17 19:04:18 +01:00
Rémi Verschelde
21f0529aa9
Revert "Update Node::get_configuration_warnings signature"
This reverts commit d3852deaa4.
2024-02-17 19:03:21 +01:00
Rémi Verschelde
9f76398781
Revert "Only update inspector if configuration warning change relevant"
This reverts commit a53793472e.
2024-02-17 19:00:04 +01:00
Thaddeus Crews
48428bd087
C#: Match Core implementation of BinToInt & HexToInt 2024-02-17 11:59:14 -06:00
Rémi Verschelde
4ce5e261b3
Merge pull request #88446 from AThousandShips/audio_key_fix
Fix crash with animation audio track offset
2024-02-17 18:31:53 +01:00
Rémi Verschelde
02f4a66c1f
Merge pull request #88145 from Ratamacue9112/tweak-option-button-property-order
Tweak property order in the inspector for OptionButton
2024-02-17 18:31:47 +01:00
Rémi Verschelde
ccd9cefa8e
Merge pull request #87137 from /dotnet/nullable-godot-tools 2024-02-17 18:31:37 +01:00
A Thousand Ships
d5212b4b7d
[Tests] Fix test regression without editor 2024-02-17 18:06:57 +01:00
A Thousand Ships
fc3a2933de
Fix crash with animation audio track offset 2024-02-17 17:42:45 +01:00
A Thousand Ships
dde5368dee
[Editor] Add missing ellipses to menu options that open dialogs 2024-02-17 17:09:17 +01:00
Dalton
c9bc54637b
Fix function description for Font.get_char_size()
Removed description implying you can pass a second char in order to account for kerning
2024-02-17 10:00:01 -06:00
Rémi Verschelde
9283d0d65c
Merge pull request #86661 from TokageItLab/fix-audio-playback
Make the retrieval of audio tracks consistent and implement trimming to AnimationTrackEditor shortcut and clean-up
2024-02-17 16:58:50 +01:00
A Thousand Ships
e5b751b6eb
[Editor] Improve clarity and style of ResourcePicker menu
* Adds ellipses to options opening a new menu
* Adds a descriptive tooltip to `Quick Load`
2024-02-17 16:26:31 +01:00
Silc Lizard (Tokage) Renew
4659090543 Make consistent the retrieval of audio tracks 2024-02-18 00:15:33 +09:00
Rémi Verschelde
0a89888cba
Merge pull request #88401 from dalexeev/doc-deprecated-experimental-as-documented
Documentation: Treat deprecated/experimental members as documented
2024-02-17 15:55:11 +01:00
Rémi Verschelde
4731958174
Merge pull request #88380 from Calinou/editor-move-settings-to-central-location
Move EditorNode setting registration so they are in class reference
2024-02-17 15:54:59 +01:00
Rémi Verschelde
e697774f61
Merge pull request #87823 from KoBeWi/ban_adb
Don't invoke adb with no runnable Android preset
2024-02-17 15:54:49 +01:00
Rémi Verschelde
2c5fa95aea
Merge pull request #87530 from YeldhamDev/atr_inheritance
Rework the auto translation system
2024-02-17 15:54:31 +01:00
Rémi Verschelde
e31b253241
Merge pull request #86629 from TokageItLab/callback-mode-discrete
Add a `CallbackModeDiscrete` property to `AnimationMixer` to handle the case of blending Continuous and Discrete tracks
2024-02-17 15:53:27 +01:00
Rémi Verschelde
dcd11cce6b
Merge pull request #85978 from Calinou/editor-tweak-help-menu-icons
Tweak Help menu icons for better visibility of commonly used items
2024-02-17 15:53:11 +01:00
Ratamacue9112
45b9cbd904 Tweak property order in the inspector for OptionButton 2024-02-17 11:03:16 +00:00
Hugo Locurcio
6ae54fd787
Move EditorNode setting registration so they are in class reference
Co-authored-by: Micky <micheledevita2@gmail.com>
2024-02-17 11:33:22 +01:00
Silc Lizard (Tokage) Renew
bc20fdf16f Add CallbackModeDiscrete to AnimationMixer 2024-02-17 18:25:56 +09:00
Rémi Verschelde
8ff8216705
Merge pull request #88418 from dsnopek/gdextension-unbind-methods
Unbind GDExtension methods that can't reasonably be used
2024-02-17 00:27:37 +01:00