Juan Linietsky
a73b5fa112
Merge pull request #51970 from reduz/implement-gdvirtuals-everywhere
...
Replace BIND_VMETHOD by new GDVIRTUAL syntax
2021-08-22 09:31:44 -03:00
reduz
3682978aee
Replace BIND_VMETHOD by new GDVIRTUAL syntax
...
* New syntax is type safe.
* New syntax allows for type safe virtuals in native extensions.
* New syntax permits extremely fast calling.
Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`.
These will require API rework on a separate PR as they work different than the rest of the functions.
Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
2021-08-22 08:23:58 -03:00
Juan Linietsky
2a5c64f2a1
Merge pull request #51979 from godotengine/revert-41850-cumulative-time_issue_6999
...
Revert "Add Node processing and physics processing cumulative (as opposed to delta) time"
2021-08-22 08:22:10 -03:00
Juan Linietsky
1990721d1b
Revert "Add Node processing and physics processing cumulative (as opposed to delta) time"
2021-08-22 08:21:34 -03:00
K. S. Ernest (iFire) Lee
51800eebc6
Merge pull request #51965 from theoway/fix_node_arranger_origin_bug
...
Fixes position offset of node groups set by arrange_nodes() in GraphEdit
2021-08-22 01:52:30 -07:00
K. S. Ernest (iFire) Lee
8cae1294b8
Merge pull request #51952 from Jummit/refactor-graphedit-connections
...
Refactor GraphEdit connections
2021-08-22 01:33:58 -07:00
Hugo Locurcio
fb94b2e656
Merge pull request #41850 from MohammadKhashashneh/cumulative-time_issue_6999
...
Add Node processing and physics processing cumulative (as opposed to delta) time
2021-08-22 10:33:20 +02:00
Hugo Locurcio
337574d7f2
Merge pull request #37260 from Calinou/define-minimum-window-size
...
Define a default minimum window size to workaround rendering issues
2021-08-22 09:08:33 +02:00
Hugo Locurcio
57e3a1a951
Merge pull request #47673 from Calinou/improve-editor-window-title
...
Improve the editor window title for better usability
2021-08-22 08:42:43 +02:00
Hugo Locurcio
9396d408c8
Merge pull request #36872 from Calinou/default-stretch-aspect-expand
...
Use the `keep` stretch aspect by default
2021-08-22 08:30:21 +02:00
Hugo Locurcio
f02a040d48
Define a default minimum window size to workaround rendering issues
...
The minimum window size can still be set to `Vector2(0, 0)` in a script
if needed.
This closes #37242 .
2021-08-22 08:19:49 +02:00
Umang Kalra
aee3de7b79
Fixes position offset of node groups set by arrange_nodes() in GraphEdit
2021-08-22 03:57:58 +05:30
Aaron Franke
ba96f31fad
Merge pull request #51919 from raulsntos/csharp-renames
...
Rename C# string extensions to follow GDScript
2021-08-21 16:55:37 -05:00
Hugo Locurcio
b43a1691ee
Merge pull request #51958 from requizm/fix/37772
...
Fix camera override not working
2021-08-21 22:22:10 +02:00
Jummit
e9ef6f9815
Refactor GraphEdit connections
...
Remove duplicate bezier code and use Curve instead.
Add an overridable method for retrieving the points of a connection line, which
makes it posible to create custom connections lines.
2021-08-21 22:15:26 +02:00
requizm
3d3f64f949
Fix camera override not working
2021-08-21 21:24:09 +03:00
Fredia Huya-Kouadio
2cfe0e5af0
Merge pull request #51953 from mbrlabs/android-vibration
...
Check if vibration duration is > 0 on Android
2021-08-21 09:25:13 -07:00
Marcus Brummer
47f338fc12
Check if vibration duration is > 0 on Android
2021-08-21 17:33:25 +02:00
Rémi Verschelde
0a001afec5
Merge pull request #51836 from akien-mga/string-remove-NO_USE_STDLIB
...
String: Remove old NO_USE_STDLIB code path
2021-08-21 09:18:47 +02:00
Hugo Locurcio
e599f1bdf0
Merge pull request #51933 from requizm/fix/p51866
2021-08-21 00:09:11 +02:00
Menderes
31face36e7
Fix line_separation working incorrectly in find_click of RichTextLabel
...
Apply suggestions from code review
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2021-08-21 00:59:44 +03:00
Hugo Locurcio
2daef0400a
Merge pull request #51866 from requizm/fix/49455
...
Fix `line_separation` working incorrectly in `RichTextLabel`
2021-08-20 23:24:42 +02:00
requizm
39b90802d0
Fix line_separation constant working incorrectly in RichTextLabel
2021-08-20 23:03:13 +03:00
Camille Mohr-Daurat
78bf06ea41
Merge pull request #51899 from fabriceci/motion-mode-2d
...
Add a custom physics for Top Down games in CharacterBody2D node to support slopes.
2021-08-20 09:27:22 -07:00
fabriceci
68f0cf97bc
add motion mode to handle TPS
2021-08-20 17:32:33 +02:00
Camille Mohr-Daurat
21cf7e8617
Merge pull request #50282 from mortarroad/master-fix-convex-hull-winding
...
Fix winding of new convex hull implementation.
2021-08-20 08:20:23 -07:00
Rémi Verschelde
f5422c55fc
Merge pull request #49105 from vnen/gdscript-inner-preload-type
...
GDScript: Fix inner classes and preloaded scripts as types
2021-08-20 17:07:18 +02:00
George Marques
2e84a46a0f
GDScript: Make singleton functions be seen as static
...
Since those can be called without an instance.
2021-08-20 10:52:58 -03:00
Morris Tabor
054c7a125f
Fix winding of new convex hull implementation.
2021-08-20 14:44:56 +02:00
Raul Santos
f6a700e264
Rename C# string extensions to follow GDScript
...
Follow up to d9d77291bc
.
Renames `String.Extension` -> `String.GetExtension()` and
`String.BaseName()` -> `String.GetBaseName()`.
This makes those methods more consistent with GDScript and with
the `GetBaseDir` method.
2021-08-20 13:52:57 +02:00
Rémi Verschelde
75697c0dfd
Merge pull request #51916 from mhilbrunner/vs-fix
...
Fix VisualScriptEditor after namespaces
2021-08-20 13:32:39 +02:00
Max Hilbrunner
2c98eede23
Fix VisualScriptEditor after namespaces
2021-08-20 13:11:29 +02:00
Rémi Verschelde
dc6ed31675
Merge pull request #51910 from neikeq/csharp-callable-defval
...
C#: Fix bindings generator for Callable argument default value
2021-08-20 12:23:30 +02:00
Ignacio Roldán Etcheverry
d2c3a86844
C#: Fix bindings generator for Callable argument default value
...
Previously there weren't any Callable arguments with a default value,
but d4dd859991
introduced one.
2021-08-20 11:18:04 +02:00
Rémi Verschelde
0168699d7a
Merge pull request #51905 from Calinou/doc-string-get-extension
...
Improve documentation for `String.get_extension()`
2021-08-20 09:24:01 +02:00
Rémi Verschelde
a264f75846
Merge pull request #51903 from nekomatata/shapes-fix-warnings
...
Fix compilation warnings in Shape2DSW/Shape3DSW
2021-08-20 08:31:08 +02:00
Rémi Verschelde
603502c11c
Merge pull request #51902 from vnen/variant-internal-constructor
...
Fix initialization of objects in VariantInternal
2021-08-20 08:10:38 +02:00
Hugo Locurcio
09eb98c530
Improve documentation for `String.get_extension()`
2021-08-20 03:07:15 +02:00
PouleyKetchoupp
dafb6edacf
Fix compilation warnings in Shape2DSW/Shape3DSW
2021-08-19 16:19:49 -07:00
George Marques
a685535ad5
Fix initialization of objects in VariantInternal
2021-08-19 20:19:47 -03:00
Rémi Verschelde
4f640762f7
Merge pull request #51881 from KoBeWi/zz__iinnddeexx
...
Fix z_index applied twice for TileMap layers
2021-08-19 21:30:10 +02:00
Rémi Verschelde
5b30685976
Merge pull request #51583 from nekomatata/capsule-height-radius-setters
...
Fix capsule height/radius setters with linked properties
2021-08-19 20:48:54 +02:00
Rémi Verschelde
fb8487e011
Merge pull request #51890 from fabriceci/crash-animation-blend-tree
...
Fix 51889 that cause a crash when you click on an AnimationTree that contains an invalid node
2021-08-19 20:46:33 +02:00
PouleyKetchoupp
645bc94bfc
Fix capsule height/radius setters with linked properties
...
Capsule height and radius setters can modify each other, rather than
using clamping, to avoid cases where values are not set correctly when
loading a scene (depending on the order of properties).
Inspector undo/redo:
Added the possibility to link properties together in the editor, so
they can be undone together, for cases where a property can modify
another one.
Gizmo undo/redo:
Capsule handles pass both radius and height values so they can be undone
together.
2021-08-19 10:31:19 -07:00
Rémi Verschelde
93dac1c7db
Merge pull request #51804 from ThreeRhinosInAnElephantCostume/fixundoredo
2021-08-19 17:49:01 +02:00
JFonS
276d1e4844
Merge pull request #51335 from JFonS/fix-omni-shadow-bias
...
Improvements to SpotLight3D and OmniLight3D's shadows
2021-08-19 16:33:24 +02:00
Fabio Alessandrelli
4f53e8a9e8
Merge pull request #51885 from akien-mga/html5-GODOT_VERSION_STATUS
...
HTML5: Handle `GODOT_VERSION_STATUS` env var in `@GODOT_VERSION@`
2021-08-19 16:29:22 +02:00
fabriceci
f871f13340
Avoid a crash when an node of the AnimationTree is invalid
2021-08-19 16:05:35 +02:00
ThreeRhinosInAnElephantCostume
0aa13ecd30
fixed popup_menu buttons getting triggered by lmb press instead of release.
2021-08-19 15:56:33 +02:00
Rémi Verschelde
30a5cdc093
Merge pull request #51876 from ThreeRhinosInAnElephantCostume/fixcameracurrent
...
Fixed Camera2d's "current" property getting reset when switching scenes
2021-08-19 15:41:46 +02:00