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
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
Lyuma
c21aa9196e
Consider a thread done if current_work is null
2021-06-17 05:22:43 -07:00
Rémi Verschelde
0943ec632c
ThemeEditor: Fix text_submitted connections after #49258
2021-06-17 13:14:06 +02:00
Gromph
c87e49d7bc
UWP: Keep upstream names for capabilities preset settings to avoid mismatch
...
The previous code used `camelcase_to_underscore` to prettify the names for
display in the export preset, but it leads to inconsistencies if we don't make
sure to do the reverse operation when writing to the `AppxManifest.xml`.
It's simpler to keep the same names as in the manifest, which is also what
users will see referenced in MS documentation.
Fixes #47900 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-06-17 12:59:17 +02:00
Rémi Verschelde
dd39855c0a
Merge pull request #47796 from Calinou/editor-add-save-on-focus-loss-option
...
Add a "save on focus loss" editor setting (disabled by default)
2021-06-17 12:50:36 +02:00
Rémi Verschelde
ba9ffbe5d7
Merge pull request #47813 from Calinou/editor-decrease-unfocused-fps-limit
...
Decrease the editor FPS limit when unfocused from 20 to 10
2021-06-17 12:46:29 +02:00
Rémi Verschelde
82eb4cfc00
Merge pull request #47894 from Calinou/project-manager-add-keyboard-shortcuts
...
Add keyboard shortcuts to the project manager
2021-06-17 12:41:47 +02:00
Rémi Verschelde
bcd21b2957
Merge pull request #48070 from KoBeWi/greedmap
...
Fix GridMap still drawing when Alt+Tabbing
2021-06-17 12:29:13 +02:00
Rémi Verschelde
b3e333bcf2
Merge pull request #48331 from Faless/net/4.x_enet_relay_lax
...
[Net] ENet non-relaying server now process broadcasts.
2021-06-17 12:26:54 +02:00
Rémi Verschelde
74850b3511
Merge pull request #38261 from pycbouh/adjust-graph-edit-zoom-levels
...
Make zoom limits and step adjustable in `GraphEdit`
2021-06-17 12:12:34 +02:00
Rémi Verschelde
afd4cc702d
Merge pull request #49661 from akien-mga/main-fallback-to-projectmanager
...
Main: Fixup bogus fallback to project manager with more bolognese
2021-06-17 11:42:24 +02:00
Rémi Verschelde
af3091d291
Merge pull request #49654 from akien-mga/editorsettings-auto-display-scale-factor
...
EditorSettings: Factor code to compute auto display scale
2021-06-17 09:56:47 +02:00
reduz
ab2456b740
Rename VisibilityNotifierXD to VisibleOnScreenNotifierXD
...
* Renames for 2D and 3D
* Class name was confusing, given both 2D and 3D have a "visible" property that is unrelated to actual on-screen visibility.
* New name makes it clear that this is about visibility on screen.
2021-06-16 22:01:39 -03:00
Rémi Verschelde
bb4c464fec
Merge pull request #49258 from megalobyte/editor-fix
...
Fixes for documentation search
2021-06-17 02:25:41 +02:00