Commit Graph

53157 Commits

Author SHA1 Message Date
aXu-AP bdfb10fb98 Rework code editor multiline operations
Fix bugs if 2 selections were on same line.
Fix bugs when selection ended at new line.
Make carets stay in place after operation and on undo.

Affects: delete lines, move lines, toggle comments, bookmarks and breakpoints.
2023-02-12 20:53:49 +02:00
Clay John 27af0f1413
Merge pull request #73151 from Withaust/master
Make present mode info message print only on change
2023-02-12 09:39:59 -08:00
Julien Reichardt e926e1bb34
Add PS3 controller guide button 2023-02-12 16:46:11 +01:00
Fabio Alessandrelli 27fb53024b
Merge pull request #73161 from Faless/mp/4.x_fix_spawner_connect
[MP] Fix MultiplayerSpawner not connecting to child_entered_tree.
2023-02-12 16:38:07 +01:00
Fabio Alessandrelli a77820ade0 [MP] Fix MultiplayerSpawner not connecting to child_entered_tree.
The connection used to happen during enter_tree, but this was causing
issues when setting the spawnable scenes from code.

The spawner now connects/disconnects to the signal during
add_spawnable_scene/clear_spawnable_scenes if the node is inside tree
and has a valid spawn_path.
2023-02-12 15:32:09 +01:00
Rémi Verschelde 77b415ab6d
Fix SurfaceTool crash with invalid bone/weight count
Fixes #53191.
2023-02-12 14:14:03 +01:00
Wiktor Kocielski b66f3846b4 Make present mode info message print only on change
Styling fix
2023-02-12 16:08:11 +03:00
Rémi Verschelde 3fcd989972
Merge pull request #73150 from MmAaXx500/meshlib-remove
Round 2: Fix mesh library remove selected item menu option
2023-02-12 13:47:35 +01:00
MmAaXx500 aa9d2149e7 Round 2: Fix mesh library remove selected item menu option
Previous pr: #46435
Fixes: #45969
2023-02-12 11:39:55 +01:00
Rémi Verschelde 1d0e7f0222
Merge pull request #73147 from timothyqiu/more-capitalization
Add more property capitalizations
2023-02-12 11:24:56 +01:00
Rémi Verschelde fd9f4d340b
Merge pull request #51789 from AndreaCatania/improve-mess-queu-failing
Improve error reporting when the Message Queue is out of Memory.
2023-02-12 10:46:29 +01:00
Rémi Verschelde c51639bf0a
Merge pull request #73142 from timothyqiu/missing-period
Add missing period for sentences in classref
2023-02-12 10:45:54 +01:00
Rémi Verschelde de31545f64
Merge pull request #73137 from Geometror/graphedit-hotzone-snapping-fix
Fix GraphEdit port hotzone snapping
2023-02-12 10:43:25 +01:00
Rémi Verschelde c3a04f71fd
Merge pull request #73136 from clayjohn/LightmapGI-exr
Set Default compression to VRAM uncompressed for LightmapGI
2023-02-12 10:35:58 +01:00
Haoyu Qiu 4e36fc9777 Add more property capitalizations
* glTF
* LODs (plural form of LOD)
* Skeleton modification algorithms: CCDIK and FABRIK
2023-02-12 15:25:39 +08:00
Haoyu Qiu cc384a8228 Add missing period for sentences in classref 2023-02-12 11:39:14 +08:00
Hendrik Brucker 3aab79914c Fix GraphEdit port hotzone snapping 2023-02-12 01:31:58 +01:00
clayjohn 340c3b84fd Set Default compression to VRAM uncompressed for LightmapGI
This increases the speed to be near instant and removes the perceived lightmap bake speed regression

We need to investigate the speed and quality issues with BPTC and re-enable compression when we can
2023-02-11 16:26:09 -08:00
AndreaCatania 02f2107620
Improve error reporting when the Message Queue is out of Memory.
The function `statistics()`, called when the MessageQueue is out of memory,
will still use the MessageQueue so it crashes.
Moving the error above will improve the behavior since the developer will
find the crash reasons and the instruction on how to fix it.
2023-02-11 22:45:14 +01:00
Rémi Verschelde a4c2d8dc7a
Merge pull request #73059 from akien-mga/corn-flakes
CI: Remove flaky packages.microsoft.com Ubuntu repository
2023-02-11 22:06:01 +01:00
Rémi Verschelde cb2e73d578
Merge pull request #73033 from akien-mga/gdscript-fix-gd4-renames-build
Clean up ProjectConverter3To4 architecture, move renames map to separate file
2023-02-11 22:05:38 +01:00
Rémi Verschelde 8f46656ae4
Merge pull request #72316 from 0xafbf/component-wise-minmax
Added component-wise `min` and `max` functions for vectors
2023-02-11 22:05:12 +01:00
Rémi Verschelde bc08b48b6a
Merge pull request #73119 from akien-mga/math-posmod-no-div0
Math: Prevent division by zero in posmod
2023-02-11 22:04:48 +01:00
Rémi Verschelde 9f7744ee0e
Merge pull request #46435 from Hassan-A/MeshLibrary-RemoveItem-Fix
Fix mesh library remove selected item menu option
2023-02-11 22:04:25 +01:00
Rémi Verschelde 5ba53d0b36
Merge pull request #71740 from Jummit/dict-array-missing-types
Support signals and callables in exposed dictionaries
2023-02-11 22:04:02 +01:00
Rémi Verschelde 9075d5e932
Merge pull request #73120 from TokageItLab/fix-transition-reset-fade
Fix remaining fade doesn't clear when reset in AnimationNodeTransition
2023-02-11 22:03:35 +01:00
Rémi Verschelde 775f460995
Merge pull request #73117 from TokageItLab/fix-nodeoneshot-fadeout
Fix NodeOneShot fade-out doesn't blend animations correctly
2023-02-11 22:03:10 +01:00
Rémi Verschelde 612533da80
Merge pull request #73112 from TokageItLab/more-animation-docs
Completion of parameters not described in some animation resources
2023-02-11 22:02:47 +01:00
Rémi Verschelde b601f7959b
Merge pull request #73106 from YuriSizov/editor-help-theming-2000
Improve EditorHelp theming and make font size settings work
2023-02-11 22:01:20 +01:00
Yuri Sizov c7d5596955
Merge pull request #71940 from RuthgerD/nullptrfixup
Fix nullptr dereference in AnimationTimelineEdit
2023-02-11 23:42:22 +03:00
Haz 189acbee60
Fix mesh library remove selected item menu option
Fixes #45969.
2023-02-11 21:40:50 +01:00
Andrés Botero a90e151b2a Added component-wise `min` and `max` functions for vectors 2023-02-11 15:03:11 -05:00
Rémi Verschelde f011d8ca9c
Math: Prevent division by zero in posmod
Fixes #43932.

Co-authored-by: David Hoppenbrouwers <david@salt-inc.org>
2023-02-11 20:44:45 +01:00
Silc Renew 6bc4d1cb73 Completion of parameters not described in some animation resources 2023-02-12 04:40:49 +09:00
Silc Renew 7bf83a8603 Fix NodeOneShot fade-out doesn't blend animations correctly 2023-02-12 04:32:40 +09:00
Ruthger Dijt e2a87ec28b fix nullptr dereference in AnimationTimelineEdit 2023-02-11 20:30:11 +01:00
Silc Renew 2a0beb1ef3 Fix remaining fade doesn't clear when reset in AnimationNodeTransition 2023-02-12 04:12:15 +09:00
Yuri Sizov dd6ac955c3 Increase default font sizes for EditorHelp 2023-02-11 20:09:57 +01:00
Yuri Sizov 0eb3b49c39 Make EditorHelp respect font size settings 2023-02-11 20:09:57 +01:00
Yuri Sizov bbbcd77217 Make use of a theme cache in EditorHelp and ensure it's updated
- Migrates the existing cache to the standard theme cache struct
- Moves some parts of the codebase to use cache instead of ad-hoc fetching
- Adds hooks to editor settings previously missing from theme regeneration
2023-02-11 20:09:35 +01:00
Rémi Verschelde 57d0afb365
CI: Remove flaky packages.microsoft.com Ubuntu repository
We don't need it.
2023-02-11 17:05:05 +01:00
Hugo Locurcio 11f6dc295d
Clarify `Font.get_string_size()` taking kerning into account
This makes a difference when using a single call per character/word
as opposed to using a single call for an entire string.
2023-02-11 16:24:52 +01:00
Hugo Locurcio db5e178aed
Document DirectionalLight2D not supporting cull masks 2023-02-11 16:13:31 +01:00
Rémi Verschelde 44b41ded82
Merge pull request #73098 from YuriSizov/editor-dont-hide-plugins
Avoid cleaning up editor plugins when property list changes
2023-02-11 15:35:56 +01:00
Rémi Verschelde 5a79d55560
Merge pull request #73015 from raulsntos/dotnet/build-csproj
Build C# csproj instead of the solution
2023-02-11 15:35:32 +01:00
Rémi Verschelde 532381562e
Merge pull request #72654 from RandomShaper/ptrcall_ret_raw_obj
Avoid losing references to objects in the native-scripting boundary
2023-02-11 15:35:01 +01:00
Rémi Verschelde beab9a7cf2
Merge pull request #73069 from brianwinterpixel/bugfix/linebuilder_box_uvs
Fix Line2D UVs when using BOX end cap mode
2023-02-11 14:40:09 +01:00
Rémi Verschelde ec55278415
Merge pull request #73092 from TokageItLab/ray-is-what
Remove WARNING "ray: index" for debug from SkeletonEditor
2023-02-11 14:38:42 +01:00
Rémi Verschelde 0e81e2a30f
Merge pull request #73091 from TokageItLab/fix-bezier-edit-button-update
Fix weird bezier edit button update timing in AnimationTrackEditor
2023-02-11 14:38:18 +01:00
Yuri Sizov 18d6c91e8e Avoid cleaning up editor plugins when property list changes
Also removes a usability hack from the Theme editor, as it doesn't work anymore,
and it confuses the Inspector.
2023-02-11 14:38:07 +01:00