Rémi Verschelde
65eb05384a
Merge pull request #43347 from bruvzg/ubsan_uninit3
...
Fix uninitialised variables in the BaseMaterial3D.
2020-11-06 10:10:20 +01:00
bruvzg
061f65e410
Fix uninitialised variables in the BaseMaterial3D.
2020-11-06 10:17:11 +02:00
Andrii Doroshenko (Xrayez)
34ca426851
Remove unused PHI
define in math funcs
2020-11-05 18:05:58 +02:00
Michael Alexsander
d7f2c31a05
Disallow setting the AudioServer's 'global_rate_scale' to a value equal or inferior to 0
2020-11-05 08:44:53 -03:00
Rémi Verschelde
494bf38c76
Merge pull request #43318 from akien-mga/doc-rng-seed
...
doc: Override default value for RandomNumberGenerator.seed
2020-11-05 08:47:37 +01:00
Rémi Verschelde
c35517f07e
Merge pull request #42724 from theoway/error_message_fix_call_recursive
...
Fixes the misleading message when a non-existing function name is passed to TreeItem.call_recursive()
2020-11-05 00:46:28 +01:00
Rémi Verschelde
35e6070a35
doc: Override default value for RandomNumberGenerator.seed
...
It's non-deterministic so it's better to show a fixed value like 0 instead of
having it potentially change whenever `randomize()` is called.
Fixes #43317 .
2020-11-05 00:41:24 +01:00
Michael Alexsander
04ebe4e7a4
Fix WAV resources ignoring the AudioServer's 'global_rate_scale' value
2020-11-04 17:03:54 -03:00
Rémi Verschelde
8e13b93bf7
Merge pull request #43310 from akien-mga/doc-classref-sync
...
doc: Sync classref with current source
2020-11-04 16:20:48 +01:00
Rémi Verschelde
424cd00f8b
doc: Sync classref with current source + fixup some bindings
...
Includes various changes triggered by the refactoring of method bindings.
2020-11-04 15:38:26 +01:00
Rémi Verschelde
89f605c717
Merge pull request #43297 from reduz/directional-light-2d
...
Implement DirectionalLight2D
2020-11-04 14:51:47 +01:00
reduz
f123981a96
Implement DirectionalLight2D
...
Also separated Light2D in PointLight2D and DirectionalLight2D.
Used PointLight2D because its more of a point, and it does not work
the same as OmniLight (as shape depends on texture).
Added a few utility methods to Rect2D I needed.
2020-11-04 10:03:01 -03:00
Rémi Verschelde
3ec10bb07c
Merge pull request #43307 from aaronfranke/update-grid
...
Move call to update the 3D grid into check for updating the view
2020-11-04 10:49:23 +01:00
Aaron Franke
a4f963f2c9
Move call to update the 3D grid into check for updating the view
2020-11-04 04:03:28 -05:00
Rémi Verschelde
cc8503430d
Merge pull request #43301 from rcorre/tab-doc-typo
...
Fix typo in Tabs doc.
2020-11-04 07:19:08 +01:00
Ryan Roden-Corrent
3826f3348f
Fix typo in Tabs doc.
...
I don't know enough about grammar to say why the "ing" suffix is
correct, but I'm reasonably sure it is :)
2020-11-03 18:26:48 -05:00
Rémi Verschelde
afef8e30ea
Merge pull request #39635 from Meriipu/master_nodrop
...
do not drop mouseover on WM_MOUSE_EXIT
2020-11-03 20:28:11 +01:00
Rémi Verschelde
0fc84b7c63
Merge pull request #43280 from akien-mga/custom-tooltips-cleanup
...
Tooltips: Improve code clarity and docs
2020-11-03 13:09:10 +01:00
Rémi Verschelde
bd13e82080
Merge pull request #41516 from Lunatoid/allow-object-new
...
Fixed ParseError when calling Object.new()
2020-11-03 13:08:48 +01:00
Hugo Locurcio
7adb6b91b3
Remove Color.contrasted()
as its behavior is barely useful
...
Returning the most contrasting color isn't a trivial task, as there
are often many possible choices. It's usually best left for the user
to implement using a script.
2020-11-03 04:46:08 -05:00
Rémi Verschelde
c5d8dafec4
Tooltips: Improve code clarity and docs
...
The return type for `_make_custom_tooltip` is clarified as Control, and users
should make sure to return a visible node for proper size calculations.
Moreover in the current master branch, a PopupPanel will be added as parent
to the provided tooltip to make it a sub-window.
Clarifies documentation for `Control._make_custom_tooltip`, and shows how to
use the (until now undocumented) "TooltipPanel" and "TooltipLabel" theme types
to style tooltips.
Fixes #39677 .
2020-11-03 09:19:03 +01:00
Rémi Verschelde
873d461785
Merge pull request #40364 from marstaik/alpha2coverage_up
...
Alpha Hash and Alpha2Coverage Implementation
2020-11-03 07:50:49 +01:00
Marios Staikopoulos
e5d7c7d5fc
Alpha Hash and Alpha2Coverage Implementation
2020-11-02 20:11:20 -08:00
Rémi Verschelde
be14d9d644
Merge pull request #42979 from Mallos/fix/tilemap-floodfill
...
fix(editor): TileMap floodfill with same tile ID and different variation
2020-11-02 17:05:43 +01:00
Rémi Verschelde
e8794b24bd
Merge pull request #43260 from HaSa1002/mainloop-remove-deprecated-methods
...
MainLoop: Remove deprecated methods
2020-11-02 14:26:49 +01:00
Rémi Verschelde
0b910cd8b7
Merge pull request #43267 from Calinou/doc-ninepatchrect-tile-stretch-mode
...
Correct documentation about NinePatchRect stretch modes
2020-11-01 19:43:08 +01:00
Hugo Locurcio
82bfb6273b
Correct documentation about NinePatchRect stretch modes
...
This closes https://github.com/godotengine/godot-docs/issues/4333 .
2020-11-01 18:41:10 +01:00
Rémi Verschelde
223e361c4e
Merge pull request #42703 from RandomShaper/fix_anim_backwards
...
Fix premature end of animation playing backwards
2020-11-01 15:47:39 +01:00
Rémi Verschelde
efbaa4d366
Merge pull request #43258 from lyuma/get_parent_class_reentrancy
...
Avoid reentrant OBJTYPE_RLOCK in ClassDB
2020-11-01 12:56:22 +01:00
Lyuma
37b6a36cc4
Avoid reentrant OBJTYPE_RLOCK in ClassDB
...
Fixes #43020 when a thread uses ClassDB while main thread calls is_parent_class().
2020-11-01 03:40:06 -08:00
HaSa1002
f8ac4c4d75
MainLoop: Remove deprecated methods
2020-11-01 12:38:30 +01:00
Rémi Verschelde
7bc74b0fc8
Merge pull request #43241 from Calinou/doc-httprequest-fix-code-sample
...
Fix a variable being redeclared in the HTTPRequest code sample
2020-11-01 12:30:49 +01:00
HaSa1002
8fb113bb4c
Port code examples to C# (D)
...
Includes:
* Decal
* Dictionary
* Directory
* DisplayServer
* DTLSServer
* DynamicFont
* EditorImportPlugin
* EditorPlugin
* EditorScenePostImport
* EditorScript
* EditorSettings
* EditorTranslationParserPlugin
* Engine
* Expression
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-11-01 09:05:17 +01:00
Vaughan Ling
d658063833
Change android orientations from sensor to user
...
# Conflicts:
# platform/android/java/lib/src/org/godotengine/godot/GodotIO.java
2020-10-31 17:14:32 -07:00
Hugo Locurcio
d7025c4167
Fix a variable being redeclared in the HTTPRequest code sample
2020-10-31 19:20:18 +01:00
Marcel Admiraal
f9bb8de3fc
Remove unneeded filter on joy_axis()
2020-10-31 09:13:17 +00:00
Michael Alexsander
0176fc2f32
Add icons for the 'CanvasGroup' and 'CodeEdit' nodes
2020-10-30 16:42:18 -03:00
bruvzg
4efcec3545
[iOS] Add missing ARC flag to the simulator build.
2020-10-30 18:47:42 +02:00
Rémi Verschelde
41f66761fd
Merge pull request #37158 from thebestnom/android-click-support
...
Support mouse events on Android
2020-10-30 16:00:03 +01:00
Rémi Verschelde
f98db723b9
Merge pull request #43184 from Chaosus/fix_randi_range_biased
...
Fix biased output of randi_range
2020-10-30 15:00:44 +01:00
Rémi Verschelde
b1ed10da1b
Merge pull request #43197 from jzulauf-lunarg/zulauf_sync_fix_cleanup
...
Synchronization - Clean subpass dependency init
2020-10-30 15:00:16 +01:00
Juan Linietsky
704d06d00f
Merge pull request #43194 from reduz/pixel-snap-refactor
...
Refactor pixel snapping.
2020-10-30 09:37:43 -03:00
reduz
0e6664539d
Refactor pixel snapping.
...
-Rename pixel_snap to snap_2d_to_vertices
-Added snap_2d_to_transforms which is more useful
Fixes #41814
Solves proposal https://github.com/godotengine/godot-proposals/issues/1666
Supersedes #35606 , supersedes #41535 , supersedes #41534
2020-10-30 08:57:32 -03:00
Rémi Verschelde
debb67918e
Merge pull request #43173 from volzhs/fix-tab-container
...
Fix crash in TabContainer in case of no content at all
2020-10-30 12:27:41 +01:00
John Zulauf
784f8fbbe5
Synchronization - Clean subpass dependency init
...
Fix incorrect subpass dependency initialization
2020-10-29 15:53:47 -06:00
Rémi Verschelde
f6f38ac086
Merge pull request #42811 from Calinou/doc-packetpeerudp-wait-interrupt
...
Document how to interrupt `PacketPeerUDP.wait()`
2020-10-29 22:38:36 +01:00
Rémi Verschelde
9ab6cef2ad
Merge pull request #43192 from YeldhamDev/poly2deditor_buttons_flat
...
Set previous tool buttons in the Polygon2D editor to be flat again
2020-10-29 21:35:34 +01:00
Rémi Verschelde
6bdcaff1e2
Merge pull request #43191 from YeldhamDev/poly2deditor_move_button_fix
...
Fix "Move Points" button sometimes not showing up on UV mode in the Polygon2D editor
2020-10-29 21:02:16 +01:00
Michael Alexsander
3b0cb48bcd
Set previous tool buttons in the Polygon2D editor to be flat again
2020-10-29 16:53:41 -03:00
Michael Alexsander
4b74019ca3
Fix "Move Points" button sometimes not showing up on UV mode in the Polygon2D editor
2020-10-29 16:45:17 -03:00