Rémi Verschelde
3ff56719fc
Merge pull request #46706 from fabriceci/improvement-raycast2d-debug-shape2
...
Raycast2D debug Shape: fix a regression + improvement on tiny ray (fix #46680 )
2021-03-05 22:38:49 +01:00
Rémi Verschelde
aaeb07d50f
Merge pull request #43929 from HaSa1002/docs-lang-6
...
Docs: Port Code Examples to C# (R, S, T, U)
2021-03-05 22:36:05 +01:00
Rémi Verschelde
848f3bba7c
Link to Godot Contributors Chat instead of IRC
2021-03-05 22:32:48 +01:00
Rémi Verschelde
f9dad47478
Merge pull request #46701 from HaSa1002/fix-lossy-cursor
...
Move cursor shape loading after module loading
2021-03-05 22:29:06 +01:00
fabriceci
af041adb06
add responsive arrows when the size is very small + fix a regression: missing a translation on the line
2021-03-05 22:14:06 +01:00
Fabio Alessandrelli
44a662a149
[HTML5] Rename heapCopy to heapSlice.
...
New heapCopy function copies a TypedArray to the heap.
2021-03-05 20:17:58 +01:00
Fabio Alessandrelli
cb1b89dac5
[HTML5] Export process writes sizes in template.
...
This allow the loading bar to be much more reliable, even in cases where
realible stream loading status is not detectable (server-side
compression, chunked encoding).
2021-03-05 20:15:38 +01:00
Fabio Alessandrelli
272e491f52
[HTML5] Preloader fetch, streaming instantiation.
2021-03-05 20:11:18 +01:00
HaSa1002
bae843a1c9
Docs: Port Code Examples to C# (R, S, T, U)
...
* RenderingServer
* RichTextEffect
* SceneTree
* SceneTreeTimer
* ScriptCreateDialog
* SpinBox
* Sprite2D
* StreamPeer
* String
* SurfaceTool
* TextEdit
* TileMap
* Tree
* Tween
* UDPServer
* UndoRedo
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2021-03-05 18:57:28 +01:00
Johannes
2ac9f37b17
Move cursor shape loading after module loading
...
fixes #46685
2021-03-05 17:22:06 +01:00
Rémi Verschelde
4de0768cdb
Merge pull request #46663 from Calinou/doc-margincontainer-theme-constant
...
Use safer `add_theme_constant_override()` in MarginContainer code sample
2021-03-05 15:11:56 +01:00
Rémi Verschelde
bc6713ef50
Merge pull request #46516 from HaSa1002/scrollcontainer-embed
...
Fix Window returning `INVALID_WINDOW_ID` when being embedded
2021-03-05 13:46:44 +01:00
Rémi Verschelde
bd9799e9f0
Merge pull request #46675 from fabriceci/improvement-raycast2d-debug-shape
...
Improving the Raycast2D debug Shape
2021-03-05 00:59:21 +01:00
fabriceci
90ca587281
Highlight collision, correct the size and make the arrow a bit less thick for low-res game
2021-03-05 00:32:49 +01:00
Rémi Verschelde
1eabeec680
Merge pull request #46677 from W4RH4WK/fix-canvas-renderer-line-width
...
Fix canvas renderer line width
2021-03-05 00:14:42 +01:00
Alex Hirsch
426ef4b1ee
Fix canvas renderer line width
...
fix #46644
2021-03-04 21:37:06 +01:00
Rémi Verschelde
e556ec0c5a
Merge pull request #46529 from jmb462/improvement-raycast3d-debug-shape
...
Adding Raycast3D custom debug shape thickness and color
2021-03-04 20:38:32 +01:00
Rémi Verschelde
86fba08427
Merge pull request #46669 from W4RH4WK/add-fail-check-variant-construct
...
Add missing ERR_FAIL_INDEX check to Variant::construct
2021-03-04 20:35:39 +01:00
Rémi Verschelde
a3dece960f
Merge pull request #46668 from nekomatata/fix-errors-polygon-2d
...
Fix errors with invalid CollisionPolygon2D
2021-03-04 20:33:22 +01:00
Rémi Verschelde
6b2577599f
Merge pull request #46665 from nekomatata/fix-crash-convex-shape-2d
...
Fix errors and crash with empty ConvexPolygonShape2D
2021-03-04 20:19:16 +01:00
Alex Hirsch
6985967c3b
Add missing ERR_FAIL_INDEX check to Variant::construct
...
Other functions in the same file validate parameters using the ERR_FAIL
macros. This validation was missing for Variant::construct resulting in
a crash when called with invalid data (p_type < 0).
fix #46067
2021-03-04 18:50:37 +01:00
PouleyKetchoupp
2217e477b9
Fix errors with invalid CollisionPolygon2D
...
Fixed internal errors when the shape is invalid and made warnings more
descriptive.
2021-03-04 10:44:37 -07:00
PouleyKetchoupp
6fb6090748
Fix errors and crash with empty ConvexPolygonShape2D
2021-03-04 09:46:32 -07:00
Hugo Locurcio
af513344ce
Use safer `add_theme_constant_override()` in MarginContainer code sample
...
Control has magic setters to set custom theme items, but using the
dedicated Control methods is less prone to typos so it should be favored.
2021-03-04 17:17:40 +01:00
Rémi Verschelde
4c10d31bc4
Merge pull request #46652 from akien-mga/remote-debugger-fix-div-by-zero
...
RemoteDebugger: Fix possible division by zero
2021-03-04 14:14:00 +01:00
Rémi Verschelde
614566ddb5
RemoteDebugger: Fix possible division by zero
2021-03-04 12:55:53 +01:00
Rémi Verschelde
372b1b8f68
Revert "Add size check in Control._edit_set_state to prevent crash"
...
This reverts commit ef1d58f034
.
2021-03-04 12:06:58 +01:00
jmb462
068300c7c9
Adding Raycast3D custom debug shape thickness and color
2021-03-04 11:17:26 +01:00
Rémi Verschelde
dd1881ae19
Merge pull request #46524 from kuruk-mm/lineedit_triple_click
...
LineEdit: Now double click to select a word, and triple click to sele…
2021-03-04 10:18:20 +01:00
Rémi Verschelde
b7c9c730d6
Merge pull request #46635 from Calinou/doc-itemlist-remove-examples
...
Remove trivial examples in the ItemList class documentation
2021-03-04 08:53:23 +01:00
Rémi Verschelde
484ad8d362
Merge pull request #46640 from pdfrod/fix-crash-in-image-texture
...
Fix crash trying to destroy an ImageTexture object containing a null texture
2021-03-04 08:15:23 +01:00
Rémi Verschelde
8ff25ffb78
Merge pull request #46620 from sps1112/fix-control.edit_set_state-crash
...
Add size check in Control::_edit_set_state() to fix crash
2021-03-04 07:46:16 +01:00
sps1112
ef1d58f034
Add size check in Control._edit_set_state to prevent crash
2021-03-04 10:55:42 +05:30
Bastiaan Olij
760be46a81
Renamed SDGIShader to SDFGIShader and moved a bunch of things to private
2021-03-04 11:53:09 +11:00
Pedro Rodrigues
46218d8c37
Fix crash trying to destroy an ImageTexture object containing a null texture
...
The problem happened when `ImageTexture::create_from_image` was called
with an empty image. In this situation an RID was allocated despite the
texture being null. The destructor would then crash trying to acess this
null texture.
Fixes #46274
2021-03-03 23:54:27 +00:00
Michael Alexsander
4be282a269
Hide more options of disabled properties
2021-03-03 20:51:35 -03:00
Rémi Verschelde
44e73473c6
Merge pull request #46573 from pdfrod/fix-crash-on-httpclient-poll
...
Fix crash on HTTPClient::poll method
2021-03-03 23:07:34 +01:00
Hugo Locurcio
a5b5ac47b8
Remove trivial examples in the ItemList class documentation
...
See https://github.com/godotengine/godot-docs/issues/4712 .
2021-03-03 22:58:45 +01:00
Rémi Verschelde
338fa05acc
Merge pull request #43768 from sjml/mac-mono-export-fix
...
Mono/macOS: Separate data dir into frameworks and resources for codesigning
2021-03-03 22:42:44 +01:00
Rémi Verschelde
0599e5f07a
Merge pull request #46621 from bruvzg/macos_export_entitlemenst_4
...
[macOS] Add entitlements config and export template `dylib` signing to the export.
2021-03-03 22:41:01 +01:00
Rémi Verschelde
23ea8498b0
Merge pull request #46629 from KoBeWi/tree_column_men
...
Deselect column only if belongs to deselected item
2021-03-03 22:24:58 +01:00
Pedro Rodrigues
a3a731ed92
Fix crash on HTTPClient::poll method
...
The problem happened because `poll` assumed that when the SSL flag was
true, the `connection` would be a subclass of StreamPeerSSL. However
that invariant could be broken by calling HTTPClient::set_connection
with a `connection` that is not a subclass of StreamPeerSSL.
Fixes #46138
2021-03-03 21:00:30 +00:00
kobewi
5cd5722f6a
Deselect column only if belongs to deselected item
2021-03-03 19:39:29 +01:00
jmb462
f05d6f66b0
fix incorrect iauto-indentation in mutliline bracket ( fix #46384 )
2021-03-03 18:59:59 +01:00
Rémi Verschelde
864caf5711
Merge pull request #46617 from sps1112/fix-navigationmesh-crash
...
Add null check in NavigationMesh.new().create_from_mesh(BoxShape.new())
2021-03-03 17:01:35 +01:00
Rémi Verschelde
f3e98c286a
Merge pull request #46616 from sps1112/fix-bakedlightmap-crash
...
Add size check in BakedLightmapData::_set_user_data()
2021-03-03 17:00:38 +01:00
Rémi Verschelde
d0e62518a8
Merge pull request #46578 from nekomatata/fix-joint-remove-body-regression
...
Fix Joint2D/Joint3D node path reset on scene switch
2021-03-03 16:41:37 +01:00
Shane Liesegang
42eb09ddcc
Mono/macOS: Separate data dir into frameworks and resources for codesigning
...
Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
2021-03-03 13:54:34 +01:00
bruvzg
df267f90cc
[macOS] Add entitlements config and export template `dylib` signing to the export.
2021-03-03 14:13:55 +02:00
sps1112
cf6bfea93f
Add null check for NavigationMesh.create_from_mesh()
2021-03-03 15:59:30 +05:30