Commit graph

35347 commits

Author SHA1 Message Date
Rémi Verschelde
bbf6d645fb
Merge pull request #48080 from aaronfranke/real-serialization
Binary serialization for reals
2021-06-20 00:33:30 +02:00
Rémi Verschelde
76fd91c084
Merge pull request #49737 from JFonS/fix_vis_range
Fix crash in visibility range system.
2021-06-20 00:32:42 +02:00
Rémi Verschelde
4effadc0ba
Merge pull request #48696 from madmiraal/fix-48692
Fix `InputMap.action_erase_event()` failing to erase events correctly.
2021-06-20 00:29:42 +02:00
Rémi Verschelde
d88be9b70c
Merge pull request #44806 from madmiraal/consolidate_json
Consolidate JSON, JSONParseResults and JSONParser into JSON
2021-06-19 21:45:34 +02:00
Rémi Verschelde
d7a42a44be
Merge pull request #49746 from madmiraal/fix-49588
Add adb output to error message when install fails
2021-06-19 21:39:35 +02:00
Marcel Admiraal
de2acbd495 Add adb output to error message when install fails 2021-06-19 17:46:57 +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
jfons
2c0819992c Fix crash in visibility range system. 2021-06-19 11:43:41 +02: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
Marcel Admiraal
2bafcd3422 Consolidate JSON, JSONParseResults and JSONParser into JSON
Renames JSON.parse_string() to parse()
Renames JSON.decode_data() to stringify()
2021-06-19 08:01:40 +01: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
Aaron Franke
29706651fe
Binary serialization for reals
Added new "encode_real" methods for handling real_t, and used them for vector types. Types are encoded based on compilation setting.

But for decoding, always check how it was encoded. This way, serialized data is cross-compatible with Godot compiled with singles and Godot compiled with doubles. At least, in theory.
2021-06-17 23:15:34 -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