Commit graph

35338 commits

Author SHA1 Message Date
Paulb23
ab49ea032c Remove redundant keywords from TextEdit 2021-06-19 13:56:54 +01:00
Bastiaan Olij
0a6a71973e
Merge pull request #49615 from BastiaanOlij/inverse_xr_camera_offset
Inverse XR camera offset for stereoscopic rendering
2021-06-19 20:19:53 +10:00
Bastiaan Olij
b1bbbb4439 Inverse XR camera offset for stereoscopic rendering 2021-06-19 19:33:40 +10:00
Rémi Verschelde
d587ea6020
Merge pull request #48544 from Calinou/expose-data-dirs
Expose OS data directory getter methods
2021-06-19 10:19:51 +02:00
Rémi Verschelde
f3c35f63e6
Merge pull request #49724 from Calinou/raycast3d-draw-double-sided
Use double-sided material for RayCast3D
2021-06-19 09:07:36 +02:00
Hugo Locurcio
aa0976f47c
Expose OS data directory getter methods
This can be used by editor plugins and non-game applications to
store data in the correct directories according to the
XDG Base Directory specification.
2021-06-19 08:56:20 +02:00
Hugo Locurcio
e98f5a53ad
Use double-sided material for RayCast3D
This makes RayCast3Ds visible if the camera is fully inside one
(e.g. a RayCast3d parented to the current Camera3D).
2021-06-19 05:05:58 +02:00
Rémi Verschelde
a9c53fa599
Merge pull request #49287 from reduz/expose-variant-internal-binders
Make some Variant internal functions public.
2021-06-19 01:11:03 +02:00
Rémi Verschelde
9b0800cbf9
Merge pull request #49715 from JFonS/fix_ignore_occlusion_culling
Fix "Ignore Occlusion Culling" flag.
2021-06-18 22:21:54 +02:00
George Marques
c4fcc678df
Merge pull request #49449 from SpectralDragon/fix-enum-equal-operation
Fix equal operation for typed enums
2021-06-18 17:18:44 -03:00
jfons
a0b19d2561 Fix "Ignore Occlusion Culling" flag. 2021-06-18 21:42:03 +02:00
Rémi Verschelde
df170c8af0
Merge pull request #49474 from nekomatata/line-2d-upward
Make LineShape2D normal point upwards by default
2021-06-18 18:38:48 +02:00
PouleyKetchoupp
2bf145fa5d Make LineShape2D normal point upwards by default
Allows line shapes to collide with objects falling from the top by
default, which makes more sense for the most common cases.
2021-06-18 09:14:06 -07:00
Rémi Verschelde
c5e1b23e55
Merge pull request #49711 from Faless/js/4.x_fix_callback_return
[HTML5] JS callback functions now returns passed value.
2021-06-18 18:13:40 +02:00
George Marques
b5f1e88b2e
GDScript: Fix setting type of operator return value
Also write type adjust when needed for binary operators.
2021-06-18 13:09:35 -03:00
Fabio Alessandrelli
ad5bdaf5aa [HTML5] JS callback functions now returns passed value.
JavaScript callbacks created via the `JavaScript.create_callback` method
used to always return void.

With this patch they return the value returned by the Godot function as
one would expect.
2021-06-18 17:47:48 +02:00
Rémi Verschelde
92f20fd70e
Merge pull request #49659 from LightningAA/string-valid-integer-to-int 2021-06-18 16:14:14 +02:00
Rémi Verschelde
98b5280d1f
Merge pull request #49683 from lyuma/remove_late_added
Remove thread-unsafe and unused late_added_files.
2021-06-18 14:23:44 +02:00
Rémi Verschelde
7aebb8f81c
Merge pull request #44156 from aaronfranke/quat-angle-to
Add Quaternion angle_to method
2021-06-18 12:35:58 +02:00
Rémi Verschelde
3fc39954ec
Merge pull request #49638 from aaronfranke/multiply-transforms
Allow multiplying Transforms and Basis by numbers
2021-06-18 12:35:14 +02:00
Rémi Verschelde
3e8620c275
Merge pull request #49475 from nekomatata/kinematic-collision-rid
Expose collider RID in 2D/3D kinematic collision
2021-06-18 12:32:26 +02:00
Rémi Verschelde
671c58362a
Merge pull request #40525 from KoBeWi/fastest_close_in_the_west
Make closing current scene faster
2021-06-18 12:30:56 +02:00
Rémi Verschelde
43755eada4
Merge pull request #47802 from Calinou/editor-sprite-frames-select-hold-mouse
Allow selecting frames by holding down the mouse in SpriteFrames editor
2021-06-18 12:28:35 +02:00
Rémi Verschelde
f6756e2bf5
Merge pull request #49698 from aaronfranke/prop-no-usage
Add PROPERTY_USAGE_NONE and use it
2021-06-18 12:28:05 +02:00
Rémi Verschelde
86aff37722
Merge pull request #32313 from YeldhamDev/format_args_values
Better format arguments in variant parser
2021-06-18 12:27:14 +02:00
Rémi Verschelde
4c8872b12f
Merge pull request #46462 from aaronfranke/sun-angle
Allow setting the preview sun angle with angular altitude and azimuth numbers
2021-06-18 09:40:19 +02:00
Rémi Verschelde
0458e403fe
Merge pull request #49703 from aaronfranke/cs-bind-gen-def-val-typo
Fix a typo in C# bindings generator for default value types
2021-06-18 09:34:01 +02:00
Aaron Franke
e6c7567da7
Fix a typo in C# bindings generator for default value types 2021-06-18 01:13:00 -04:00
Aaron Franke
93b494d4ae
Add Quaternion angle_to method 2021-06-17 23:57:00 -04:00
Aaron Franke
6565191660
Allow setting the preview sun angle with numbers 2021-06-17 23:28:02 -04:00
Michael Alexsander Silva Dias
0ff4095b36 Better format arguments in variant parser 2021-06-18 00:06:40 -03:00
Rémi Verschelde
8ffb631cdb
Merge pull request #49695 from kleonc/animation-track-editor-multi-edit-easing
AnimationMultiTrackKeyEdit Allow editing easing if it's possible for all edited tracks
2021-06-18 02:04:01 +02:00
Aaron Franke
8b692e8872
Add PROPERTY_USAGE_NONE and use it 2021-06-17 19:10:26 -04:00
reduz
2c81e5fa0e Make some variant internal functions public.
-Make constructors, ops and setget inline functions public
-Should help optimizing the GDScript VM
2021-06-17 19:59:28 -03:00
Rémi Verschelde
407229aeeb
Merge pull request #49672 from aaronfranke/box-extents-compat
Add extents get/set override to BoxShape3D and RectangleShape2D for compatibility
2021-06-18 00:09:58 +02:00
kleonc
1d890e16f7 AnimationMultiTrackKeyEdit Allow editing easing if it's possible for all edited tracks 2021-06-17 23:28:04 +02:00
Aaron Franke
1a9e6cba2f
Re-add extents property to box shapes for compatibility 2021-06-17 17:10:52 -04:00
Rémi Verschelde
b02f42def7
Merge pull request #49043 from theoway/missing_description_vs_search_window_fixed
Fixes missing descriptions in Visual Script search window when adding nodes
2021-06-17 23:04:07 +02:00
Hugo Locurcio
5e8eb20ad6
Allow selecting frames by holding down the mouse in SpriteFrames editor
This complements the existing (Ctrl +) Shift + Left mouse button
multiple frame (de)selection.
2021-06-17 20:11:50 +02:00
Rémi Verschelde
13c4796693
Merge pull request #49685 from reduz/implement-drawing-animation-slices-in-canvas
Implement animation slice drawing in CanvasItem
2021-06-17 18:15:11 +02:00
Rémi Verschelde
17ded9a152
Merge pull request #49687 from Razoric480/lsp-symbol-translate
Translate file path to URI on LSP symbol requests
2021-06-17 17:59:46 +02:00
reduz
94d31ac327 Implement animation slice drawing in CanvasItem
* Added a function to ignore subsequent commands if they don't fall within the slice.
* This will be used by the new TileMap to properly provide animated tiles.
2021-06-17 12:42:27 -03:00
Rémi Verschelde
bf5fa0c77f
Merge pull request #47986 from LightningAA/graphedit-quality-of-life-changes-4.0 2021-06-17 16:48:52 +02:00
Francois Belair
a56c2e459b Translate file path to URI on LSP symbol requests 2021-06-17 10:36:41 -04:00
Lightning_A
13ba788b63 Scrollwheel (w/o ctrl) to zoom, mouse warping when panning
Now uses Ctrl + Scrollwheel for vertical scrolling
Ctrl + Shift Scrollwheel for horizontal scrolling
Also converts some macros to constants
2021-06-17 08:21:32 -06:00
Rémi Verschelde
085e1d3c03
Merge pull request #49670 from reduz/rename-visibility-notifiers
Rename VisibilityNotifier2D/3D to VisibleOnScreenNotifier2D/3D
2021-06-17 15:14:44 +02:00
Rémi Verschelde
7e4c466fff
Merge pull request #49682 from lyuma/thread_work_done
Consider a thread done if current_work is null
2021-06-17 15:12:12 +02:00
Rémi Verschelde
2b0bf20dc0
Merge pull request #49680 from akien-mga/fix-uwp-export-capabilities
UWP: Keep upstream names for capabilities preset settings to avoid mismatch
2021-06-17 14:34:16 +02:00
Rémi Verschelde
22006709a0
Merge pull request #49681 from akien-mga/themeeditor-text_submitted
ThemeEditor: Fix text_submitted connections after #49258
2021-06-17 14:34:09 +02:00
Lyuma
6c94b2cb9e Remove thread-unsafe and unused late_added_files.
_reimport_file is called from multiple threads as part of the threaded importer.
Inserting to this set from a thread could hit a race condition leading to memory corruption or hangs.
It seems to be unused, intentionally or unintentionally
2021-06-17 05:30:24 -07:00