Raul Santos
67d058da30
C#: Use Span in Color to avoid string allocations
2022-10-03 12:11:37 +02:00
EricEzaM
272c297931
Improve MenuButton and OptionButton
...
* MenuButton + OptionButton: Add method `show_popup()` which performs required popup setup before showing (prefer use of this over `get_popup()->popup()`, otherwise GH #66308 occurs)
* MenuButton: Ensure that the menu can be opened with a shortcut, if one is set for the button. (GH #66403 ). Ensure that popupmenu item shortcuts are checked first before the MenuButton shortcut.
2022-10-03 20:07:39 +10:00
EricEzaM
cb6d7fd059
Add searching by event for Editor Settings shortcuts and Project Settings input map.
...
* Focus into the LineEdit, then perform input to search the list of events by the events assigned.
* New specialised editor-only control for this: EventListenerLineEdit. Line edit is a good candidate for such a control because you can focus it, override it's input handling, and show the event all in one control.
Update InputEventConfigurationDialog to use event listener line edit rather than the separate tabs.
* Cleaner look - no need for tabs.
* Simpler code.
2022-10-03 19:56:34 +10:00
Rémi Verschelde
54418ea659
Remove NO_THREADS fallback code, Godot 4 requires thread support
...
This also removes `OS::can_use_threads` from the public API since it's always
true.
2022-10-03 11:23:26 +02:00
Rémi Verschelde
82b87d7a17
Remove unsupported NO_SAFE_CAST
/-fno-rtti
from Android build
...
Android was the last platform to still attempt to disable RTTI (for binary
size), but both the Android editor and now the ICU library used by templates
need RTTI.
There could still be the possibility to support this for non-ICU template
builds (i.e. without the TextServerAdvanced module), but since this isn't one
of the build configurations we test regularly it's pretty risky to keep this
option only for that specific use case. And our code is already littered with
`dynamic_cast`s which weren't guarded with `!defined(NO_SAFE_CAST)`.
2022-10-03 11:18:31 +02:00
Rémi Verschelde
d331b803b8
Merge pull request #66750 from EricEzaM/62899-allow-shortcut-joypab-btn
...
Allow shortcut input to be JoypadButton.
2022-10-03 09:30:26 +02:00
Rémi Verschelde
4e237ed9ef
Merge pull request #66795 from manueldun/loadSavedMaterial
...
fix error dialog from appearing after loading material res
2022-10-03 09:30:11 +02:00
Rémi Verschelde
6609f1b09f
Merge pull request #66709 from MewPurPur/fix-unary-operators-being-STILL-broken
...
Fix more highlighting bugs
2022-10-03 09:30:01 +02:00
Rémi Verschelde
25481dbbc9
Merge pull request #66681 from clayjohn/RD-instance-flags
...
Update Instance flags in shaders to match instance flags in engine
2022-10-03 09:29:54 +02:00
Rémi Verschelde
5f83b14971
Merge pull request #66693 from aaronfranke/quote-codeowners
...
Fix CODEOWNERS and fix missing quote in "Building for platform" message
2022-10-03 09:29:33 +02:00
Rémi Verschelde
9d62d59293
Merge pull request #66784 from Geekotron/fix-nav3d-not-reachable-crash
...
Fix crash in navigation 3d when target is not reachable
2022-10-03 09:26:26 +02:00
Rémi Verschelde
9c2894180d
Merge pull request #66387 from aaronfranke/cs-basis-euler
...
C#: Update Basis Euler angle code to match core
2022-10-03 09:26:16 +02:00
Rémi Verschelde
498844f687
Merge pull request #65276 from aaronfranke/shader
...
Separate TextShaderEditor and ShaderEditorPlugin into different files
2022-10-03 09:24:51 +02:00
Rémi Verschelde
a377c5ca22
Merge pull request #66655 from MisterMX/feat/astargrid2d-vector2i
...
refactor(AStarGrid2D): Return `Vector2i` in `get_id_path`
2022-10-03 09:24:40 +02:00
Rémi Verschelde
2fba55e142
Merge pull request #66686 from crasy1/fix-methods-sys
...
fix methods.py ->NameError: name 'sys' is not defined
2022-10-03 09:24:02 +02:00
Rémi Verschelde
d9a3888cea
Merge pull request #66133 from aaronfranke/set-all
...
Delete `set_all`, `set_axis`, and `get_axis` methods from Vector2/3/3i/4/4i
2022-10-03 09:23:46 +02:00
Rémi Verschelde
5c4d07f952
Merge pull request #66728 from MatthewZelriche/x11-state-fix
...
Fix inconsistent window state on X11.
2022-10-03 09:23:36 +02:00
Rémi Verschelde
cf6978f286
Merge pull request #64833 from MarcusElg/naninfprinting
...
Improve string formatting (%f and %v) for inf and nan
2022-10-03 09:23:12 +02:00
Rémi Verschelde
adee79d7b5
Merge pull request #66715 from YeldhamDev/script_hide_port
...
Remember scripts panel's visibility state
2022-10-03 09:22:58 +02:00
Rémi Verschelde
dd7e19babd
Merge pull request #66714 from RedMser/patch-2
...
Remove LGTM badge from README
2022-10-03 09:22:53 +02:00
Rémi Verschelde
56918f25c8
Merge pull request #66689 from MewPurPur/property-editor-renames
...
Rename Copy/Paste Property –> Copy/Paste Value
2022-10-03 09:22:47 +02:00
Rémi Verschelde
f3e7f275c2
Merge pull request #66668 from Anutrix/allow-open-files
...
Fixed shader editor not allowing open files when there is no files already open
2022-10-03 09:20:38 +02:00
Rémi Verschelde
88f70dfacd
Merge pull request #66656 from magian1127/4.0DelAutotile
...
TileMap mouse right can delete autotile
2022-10-03 09:19:58 +02:00
clayjohn
3126619aa5
Update Instance flags in shaders to match instance flags in engine
2022-10-02 21:37:06 -07:00
Manuel Dun
e9d8847e29
fix error dialog from appearing after loading material res
2022-10-02 21:09:54 -04:00
Clay John
f2061f11fe
Merge pull request #66767 from jtnicholl/blend_visibility
...
Fix visibility filtering options for .blend imports
2022-10-02 18:07:31 -06:00
kobewi
7247606f64
Remember tile source sort between sessions
2022-10-02 22:41:12 +02:00
Sean
9b525da531
Fix crash in navigation 3d when target is not reachable
...
The code that resets variables to retry navigation to the closest possible poly was not resetting 1 variable, which caused it to exceed the vector bounds
2022-10-02 13:18:33 -06:00
David Snopek
ec5c4709bd
Fix rendering in the WebXR emulator
2022-10-02 13:49:53 -05:00
Ignacio Roldán Etcheverry
abf473e2d0
Merge pull request #66674 from pkdawson/fix-callable-delegate
...
Fix C# delegate signal not disconnected when Object is destroyed
2022-10-02 19:23:44 +02:00
VolTer
2d48bf0b88
Fix more highlighting bugs
2022-10-02 17:44:39 +02:00
Jonathan Nicholl
3086b1b79d
Fix visibility filtering options for .blend imports
2022-10-02 11:11:04 -04:00
Yuri Rubinsky
7822378293
Fix completion of parameters in function call (2)
2022-10-02 13:30:15 +03:00
Aaron Franke
252963166d
Separate TextShaderEditor and ShaderEditorPlugin into different files
2022-10-02 02:19:38 -05:00
Aaron Franke
38cb2f8afc
Rename ShaderEditor that edits text shaders to TextShaderEditor
2022-10-02 02:18:46 -05:00
EricEzaM
2a7e61457a
Allow shortcut input to be JoypadButton.
2022-10-02 17:11:18 +10:00
jwt
0e7b8cd356
fix methods.py ->NameError: name 'sys' is not defined
...
Update methods.py
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2022-10-02 09:15:46 +08:00
Matthew Munro (mam552)
0f5b448a9c
Fix inconsistent window state on X11.
...
Fixes #66413 .
DisplayServerX11 tracks some internal state about whether the window is
fullscreen, minimized, maximized or none. This commit queries the
display server when the window changes, so that this internal state can
be correctly updated.
2022-10-01 16:01:28 -06:00
Rafał Mikrut
2233624152
Remove usage of unitialized variables
2022-10-01 21:09:22 +02:00
Michael Alexsander
3f5086990a
Remember scripts panel's visibility state
2022-10-01 14:23:13 -03:00
RedMser
db687b1fcd
Remove LGTM badge
...
LGTM.com will be shut down in December 2022
2022-10-01 18:31:18 +02:00
Aaron Franke
267d267f3d
Fix CODEOWNERS and fix missing quote in "Building for platform" message
2022-10-01 01:57:50 -05:00
Patrick Dawson
161f295f52
ManagedCallable: use delegate target instead of middleman when possible
...
If the delegate target is an Object, the connected signal will be registered in that object instead of the middleman. So when that object is destroyed, the signal will be properly disconnected.
2022-10-01 02:09:58 +02:00
clayjohn
06d0e56559
Default CanvasItem materials to not convert uniform colors to linear space.
...
The 2D renderer in Godot is totally in sRGB space so it is appropriate
to keep 2D uniform colors in sRGB space
2022-09-30 15:15:11 -07:00
Markus Sauermann
c8106ca317
Fix creating Nodes from Recent list
...
- give shorter search matches more weight
- allow matching against "Node"
2022-09-30 22:40:10 +02:00
Anutrix
119e1a2937
Fixed shader editor when no files are currently in shader list
2022-10-01 00:33:13 +05:30
Micky
f4b58c6220
Improve AtlasTexture's Documentation
...
Reduces repetition, rearranges sentences to improve structure, attempts to be more impersonal ("clips" -> "is_clipped") and consistent with other more common classes.
Also remove outdated snippet from the description ("cannot be tiled in nodes such as TextureRect" is no longer true in master).
2022-09-30 20:27:52 +02:00
Rémi Verschelde
e69b7083d4
Merge pull request #65903 from groud/improve_terrain_painting
...
Right-click to erase TileSet terrains and bugfixes
2022-09-30 17:44:48 +02:00
Rémi Verschelde
ef8834a642
Merge pull request #64784 from yedpodtrzitko/yed/ci-add-mypy
...
ci: add Python static analysis check via mypy
2022-09-30 17:44:39 +02:00
Rémi Verschelde
28154b9a07
Merge pull request #66660 from Sauermann/fix-never-happening-error-condition
...
Remove ERR_FAIL_COND that never happens in _draw_sky
2022-09-30 17:44:26 +02:00