Markus Sauermann
826e54fa73
Some code simplifications
...
1. `number_width` isn't used later
2. `return_type` is used only once
3. AudioServer::get_singleton()->get_channel_count() always returns a channel_count of 1 or larger
4. negative `aa->backward` conditional
5. `current_canvas` == `find_world_2d()->get_canvas()`
6. identical if `render_shadows`
2023-02-07 14:30:16 +01:00
Rindbee
c73844f117
Use min_size/max_size to limit the window size and the position while popup center
2023-02-07 21:28:26 +08:00
Haoyu Qiu
5d7e003b29
Prepare for moving editor and classref translations to godot-editor-l10n repo
...
- Separate editor interface and property translations.
- Add property translation in TranslationServer.
- The split and merge of the POT/PO/Makefiles and extract scripts is done
directly in godot-editor-l10n, the files will be removed in the next commit.
- Remove the hardcoded "to_include" lists from the SCsub, we'll only commit the
files which are ready to inclue.
2023-02-07 14:20:40 +01:00
kobewi
095c805079
Fix sub-resource IDs resetting when preloaded
2023-02-07 14:13:22 +01:00
Rémi Verschelde
bdad9770d6
Merge pull request #71865 from mihe/error-macros-gdext
...
Expose `_err_print_error` with message parameter to GDExtension
2023-02-07 14:08:29 +01:00
Rémi Verschelde
020ba92cfe
Merge pull request #72826 from bruvzg/x11_popup_focus
...
[X11] Do not suppress structure/focus events on popup close to correctly return focus.
2023-02-07 14:08:20 +01:00
Rémi Verschelde
1cd66a76fc
Merge pull request #72827 from RandomShaper/fix_slow_step
...
Pace debugger draw requests
2023-02-07 14:08:15 +01:00
Rémi Verschelde
5386289ee2
Merge pull request #72144 from adamscott/fix-super-class-check
...
Remove script class checks when getting function signature
2023-02-07 14:07:53 +01:00
Rémi Verschelde
f5a0e18015
Merge pull request #72821 from myaaaaaaaaa/bin-symlink
...
Change .gitignore's `bin/` to `bin`
2023-02-07 14:05:21 +01:00
Mikael Hermansson
99dba702f5
Expose _err_print_error
with message parameter to GDExtension
2023-02-07 14:02:18 +01:00
Markus Sauermann
5312d83f3b
Fix Viewport::get_mouse_position for SubViewports
...
SubViewports don't have a cached mouse position available.
This PR calculates the mouse position from the screen position of
the mouse cursor.
2023-02-07 13:54:47 +01:00
Pedro J. Estébanez
31a4a0002e
Pace debugger draw requests
2023-02-07 12:10:28 +01:00
Adam Scott
0fef203b1f
Remove script class checks when getting function signature
2023-02-07 11:48:10 +01:00
bruvzg
80dc7713f9
[X11] Do not suppress structure/focus events on popup close to correctly return focus.
2023-02-07 12:13:34 +02:00
Rémi Verschelde
3f02cf7ced
Merge pull request #72722 from TokageItLab/animtree-map
...
Fix AnimationNodeTransition initialization and AnimationNode remapping method
2023-02-07 08:36:00 +01:00
myaaaaaaaaa
b5c4bc8f31
Change .gitignore's bin/ to bin
2023-02-07 01:21:56 -05:00
S.V.I. Vilcrow
7eb6367d5c
Fixed the jumping to function definition using 'Ctrl+LMB'.
2023-02-07 05:29:48 +03:00
Rémi Verschelde
cd0f1e9b10
Merge pull request #72740 from Sauermann/fix-event-device-id
...
Fix mouse/drag/touch InputEvents having no device id
2023-02-06 23:51:26 +01:00
Rémi Verschelde
6a58f4e305
Merge pull request #72812 from salianifo/master
...
Fix AnimationEditor ignoring region of Sprite2D
2023-02-06 23:36:15 +01:00
Rémi Verschelde
f39eb330e9
Merge pull request #72741 from KoBeWi/connect!_but_where
...
Improve Connect Dialog navigation
2023-02-06 23:35:45 +01:00
kobewi
4b1d577b5c
Improve Connect Dialog navigation
2023-02-06 22:56:41 +01:00
Salia Nifo
3154872177
Fix AnimationEditor ignoring region of Sprite2D
2023-02-06 16:56:11 -05:00
Rémi Verschelde
bea2dea15d
Merge pull request #71677 from Sauermann/fix-emulate-touch-passthrough
...
Fix MOUSE_FILTER_STOP not affecting emulated mouse events
2023-02-06 22:52:01 +01:00
Rémi Verschelde
fe2cd2e6b1
Merge pull request #72770 from Kabiirk/Control-has-point-doc-update
...
Fix description and argument name in `Control._has_point`
2023-02-06 22:50:47 +01:00
Rémi Verschelde
09b2c5fd05
Merge pull request #72552 from m4gr3d/cleanup_custom_build_main
...
Rename Godot's 'custom build' to 'gradle build' to better reflect the underlying build process
2023-02-06 22:50:22 +01:00
Rémi Verschelde
4fcb8bc472
Merge pull request #72805 from TokageItLab/fix-ap
...
Fix AnimationTrackEditor doesn't open when selecting AnimationPlayer node while another Editor is open
2023-02-06 22:49:58 +01:00
Markus Sauermann
8748f4dcaa
Fix mouse/drag/touch InputEvents having no device id
...
Some internally created emulated/instantiated events didn't have a
device id. This PR sets for these cases a device id.
Also rename `DEVICE_ID_TOUCH_MOUSE` to the more generic
`DEVICE_ID_EMULATION`.
2023-02-06 22:49:42 +01:00
Rémi Verschelde
e0619a658e
Merge pull request #69185 from Sauermann/fix-optionpopup-screentransform
...
Fix Screen-Transform missing in Button Size in OptionButton::show_popup
2023-02-06 22:49:34 +01:00
Rémi Verschelde
33a83a5eef
Merge pull request #72810 from clayjohn/cull_mask
...
Implement cull_mask for decals and lights in mobile and compatibility backends
2023-02-06 22:48:25 +01:00
Rémi Verschelde
dcb1de1b6c
Merge pull request #72806 from m4gr3d/add_vulkan_filter_when_necessary
...
Improve logic to detect whether vulkan is used for rendering
2023-02-06 22:48:02 +01:00
Rémi Verschelde
632911ea1d
Merge pull request #72786 from timothyqiu/no-libc
...
Remove unnecessary `stdio.h` from gdextension interface
2023-02-06 22:47:14 +01:00
Rémi Verschelde
6e2b9b3bdc
Merge pull request #72802 from RedMser/blender-rpc-error-handling
...
Better error handling for Blender RPC import
2023-02-06 22:45:18 +01:00
Markus Sauermann
262d84fa90
Fix MOUSE_FILTER_STOP not affecting emulated mouse events
...
Touch and Drag events are now stopped by MOUSE_FILTER_STOP
2023-02-06 22:31:03 +01:00
Kabiir
17ee6fcf03
Fix description and argument name in Control._has_point
2023-02-07 02:29:28 +05:30
Yuri Sizov
945207885b
Merge pull request #72546 from vonagam/fix-typed-array-can-reference
...
GDScript: Fix can_reference check for typed arrays
2023-02-06 23:32:47 +03:00
Yuri Sizov
c0edea37ef
Merge pull request #72677 from dalexeev/gds-await-infer-type
...
GDScript: Fix `await` type inference
2023-02-06 23:32:28 +03:00
Yuri Sizov
5964e4c202
Merge pull request #72727 from TokageItLab/fix-audio-retrieve
...
Fixed animation audio to play considering time when seeking
2023-02-06 23:15:48 +03:00
clayjohn
56450fb179
Implement cull_mask for decals and lights in mobile and compatibility backends
2023-02-06 12:12:47 -08:00
Yuri Sizov
7b86a082be
Merge pull request #72804 from vnen/gdscript-no-onready-without-node
...
GDScript: Fix inheritance check of @onready for inner classes
2023-02-06 23:03:44 +03:00
Danil Alexeev
685db28e29
GDScript: Fix await
type inference
2023-02-06 23:02:14 +03:00
Yuri Sizov
9d16250353
Merge pull request #70002 from poohcom1/fix/static-subscript-autocomplete
...
Fix code-completion suggesting non-static members for custom classes
2023-02-06 23:02:12 +03:00
Yuri Sizov
de4369ca4b
Merge pull request #72708 from KoBeWi/PackedMultilineStringArray
...
Fix @export_multiline for PackedStringArray
2023-02-06 23:01:16 +03:00
Dmitrii Maganov
8400308ab3
GDScript: Fix can_reference check for typed arrays
2023-02-06 22:00:16 +02:00
Markus Sauermann
084a4addc4
Fix Screen-Transform missing in Button Size in OptionButton::show_popup
...
The button size is affected by the screen transform, which was previously
not taken into consideration.
2023-02-06 20:58:57 +01:00
Yuri Sizov
bcc3dff7f4
Merge pull request #72801 from akien-mga/ci-linux-custom-repos-swiftshader
...
CI: Remove custom Linux deps and SwiftShader
2023-02-06 22:50:49 +03:00
Fredia Huya-Kouadio
21e18c1c41
Improve logic to detect whether vulkan is used for rendering
2023-02-06 10:13:02 -08:00
Silc Renew
1f9dbbe07b
Fix AnimationTrackEditor doesn't open when selecting AnimationPlayer
2023-02-07 03:08:06 +09:00
Yuri Sizov
5eb2011423
Merge pull request #71523 from YeldhamDev/dserver_doc_recoms
...
Make `DisplayServer` docs tell users to change some window values in the `Window` node
2023-02-06 21:07:37 +03:00
George Marques
ed5ddab7e5
GDScript: Fix inheritance check of @onready for inner classes
2023-02-06 14:52:13 -03:00
RedMser
8f099c7de3
Better error handling for Blender RPC import
...
- If RPC import fails, then try a direct import as well. While it's
slower, it may be better than failing the import completely.
- Connection errors will disable RPC automatically, to avoid having to
wait the full 30 seconds timeout each time.
This should be properly fixed by allowing to override the timeout
per HTTPClient.
2023-02-06 18:23:20 +01:00