Juan Linietsky
a0ef77eaee
Merge pull request #51983 from reduz/remove-bind-vmethod
...
Entirely removes BIND_VMETHOD in favor of GDVIRTUAL
2021-08-23 09:46:19 -03:00
reduz
5cecdfa8af
Entirely removes BIND_VMETHOD in favor of GDVIRTUAL
...
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions.
* Everything else converted to GDVIRTUAL
* BIND_VMETHOD is gone, always use the new syntax from now on.
Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
2021-08-23 08:10:13 -03:00
Bastiaan Olij
2d446771d6
Merge pull request #51980 from BastiaanOlij/fix_multiview_tonemap
...
Fix multiview defines in tonemap shader
2021-08-23 12:02:18 +10:00
K. S. Ernest (iFire) Lee
bb1c930a41
Merge pull request #51991 from requizm/fix/51990
...
Fix 3d animations doesn't play
2021-08-22 17:12:08 -07:00
Michael Alexsander
b4cea10771
Merge pull request #49756 from Calinou/android-export-move-clear-previous-install-setting
...
Move the Android "clear previous install" setting to Editor Settings
2021-08-22 23:30:13 +00:00
K. S. Ernest (iFire) Lee
7560ba8aa1
Merge pull request #38210 from benjarmstrong/wasapi-audio-output-latency
...
Add support for variable output latency in WASAPI audio driver
2021-08-22 15:35:36 -07:00
K. S. Ernest (iFire) Lee
fe1d551543
Merge pull request #51989 from drcd1/non-uniform-scale-fix
...
Fixes non-uniform scaling of normals
2021-08-22 14:49:10 -07:00
K. S. Ernest (iFire) Lee
e63f7dcf03
Merge pull request #51992 from Jummit/fix-connections-colors
...
Fix GraphEdit connection colors
2021-08-22 14:25:56 -07:00
requizm
e4b29cb6be
Fix 3d animations doesn't play
...
Add comment
Fix
ff
2021-08-22 23:19:26 +03:00
Jummit
856d0b52e5
Fix GraphEdit connection colors
2021-08-22 21:09:16 +02:00
Duarte David
7e94c583e0
Fixed non-uniform scaling of normals
2021-08-22 19:28:18 +01:00
K. S. Ernest (iFire) Lee
fb176d5f6e
Merge pull request #50434 from QbieShay/particle-minmax
...
Particle params are expressed as min-max rather than value+range AND separate axes scaling
2021-08-22 10:07:08 -07:00
Michael Alexsander
2f8a58ad46
Merge pull request #51886 from Geometror/fix-layout-editor-file-dialog
...
Fix ItemList layout (+EditorFileDialog)
2021-08-22 16:47:11 +00:00
QbieShay
d6672096fc
moved particle parameters to minmax and split scale axis
...
This commit adds quite a chunk of modifications to particles
- particle (value + randomness) now use min and max instead
- passing a curveXYZtexture is now possible and will scale particles per-axis
- CPUParticle3D have an optional parameter to split the scale curve per-axis
2021-08-22 18:42:17 +02:00
Juan Linietsky
e42628cd99
Merge pull request #51982 from reduz/fix-doctool-merging-when-signatures-change
...
Fix doctool merges when method signatures don't match
2021-08-22 12:37:38 -03:00
K. S. Ernest (iFire) Lee
7cbf5a547f
Merge pull request #51700 from Geometror/fix-color-picker
...
Reimplement ColorPicker presets
2021-08-22 08:23:09 -07:00
K. S. Ernest (iFire) Lee
f303c2dfb5
Merge pull request #51945 from yjh0502/fix-bazier-error
...
Curve2D/Curve3D: exact linear interpolation
2021-08-22 07:55:21 -07:00
K. S. Ernest (iFire) Lee
51ec46e10f
Merge pull request #51975 from Jummit/consistent-graphedit-connections
...
Make GraphEdit connections consistent on zoom
2021-08-22 07:37:26 -07:00
reduz
431ba0ebb1
Fix doctool merges when method signatures don't match
...
If methods signature did not match, documentation is not merged. This is
a considerable source of annoyance for contributors and it happened as
a result of #4533 , otherwise the documentation for constructors would
not be properly merged.
This PR modifies the logic introduced to only do the signature test on
constructors and operators (which are the only types of members that can repeat).
2021-08-22 09:43:05 -03:00
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
Bastiaan Olij
74a647bddd
Fix multiview defines in tonemap shader
2021-08-22 21:30:58 +10: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
Jummit
7c1181116f
Make GraphEdit connections consistent on zoom
2021-08-22 11:08:37 +02: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
Jihyun Yu
8a6fc54ccd
Curve2D/Curve3D: exact linear interpolation
...
While calculating interpolated points, intervals between two baked
points has been assummed to be `baked_interval`. The assumption could
cause significant error in some extreme cases (for example #7088 ).
To improve accuracy, `baked_dist_cache` is introduced, which stores
distance from starting point for each baked points. `interpolate_baked`
now returns exact linear-interpolated position along baked points.
2021-08-21 16:57:59 +09: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
Hendrik Brucker
72e49eadec
Fix ItemList layout (+EditorFileDialog)
2021-08-21 00:22:09 +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