Commit graph

35494 commits

Author SHA1 Message Date
Hugo Locurcio 9a4c76ea12
Fix flipped binormal in StandardMaterial3D triplanar mapping
This made normal maps on triplanar materials use an inverted Y direction
compared to non-triplanar materials.
2021-06-27 16:28:57 +02:00
Haoyu Qiu 0b7ffd4f68 Fix Image.adjust_bcs crash when image format is invalid 2021-06-27 20:52:42 +08:00
Bastiaan Olij a9604b425f Move render_sky logic from effects into our sky object, and some minor cleanup 2021-06-26 18:46:47 +10:00
Rémi Verschelde 92f7504637
Merge pull request #49891 from Calinou/3d-editor-add-grid-toggle-shortcut
Use Ctrl + G to toggle the 3D editor grid visibility by default
2021-06-26 08:46:33 +02:00
Nick H ea94aeac48
Amend Label.clip_text() Method Description
This update fixes an inconsistencies in the documentation about the `clip_text()` method.
2021-06-25 23:33:00 -04:00
Rémi Verschelde 56dafe9164
Merge pull request #49744 from reduz/implement-native-extensions
Implement native extension system
2021-06-25 23:29:30 +02:00
reduz b1d15c51bc Implement native extension system
* Deprecates GDNative in favor of a simpler, lower level interface.
* New extension system allows registering core engine classes.
* Simple header interface in gdnative_interace.h
2021-06-25 17:32:45 -03:00
Gilles Roudière b2dddc3c82 Allow disabling scrolling in Tree 2021-06-25 21:19:46 +02:00
Fabio Alessandrelli c12fca57f4 [HTML5] Add option to focus canvas on start.
Enabled by default.
2021-06-25 19:07:17 +02:00
Rémi Verschelde c8444c3ee0
Merge pull request #49908 from KoBeWi/📎🔫
Remove clips_input() method and use clip_content
2021-06-25 16:53:00 +02:00
Rémi Verschelde 258cee7600
Merge pull request #49906 from EricEzaM/fix-richtextlabel-array-export
Fix RichTextLabel custom_effects export to be properly filtered in the Editor
2021-06-25 16:27:40 +02:00
kobewi 452e10ba7b Remove clips_input() method and use clip_content 2021-06-25 15:46:37 +02:00
Rémi Verschelde e4430771db
Merge pull request #49885 from reduz/implement-render-pass-support
Implement Framebuffer Subpass support
2021-06-25 15:00:01 +02:00
Eric M cfbdaa2eb7 Fix RichTextLabel custom_effects export to be properly filtered in the Editor 2021-06-25 22:58:46 +10:00
Fabio Alessandrelli fdccc0b219
Merge pull request #49889 from timothyqiu/url-path
Strip query string when parsing HTTP request line for path
2021-06-24 23:52:53 +02:00
reduz bde6f5eed1 Implement Framebuffer Subpass support
* Required for better optimizing mobile platforms
* Will be used by the Vulkan mobile renderer.
2021-06-24 15:59:15 -03:00
Hugo Locurcio 2cc053c64b
Use Ctrl + G to toggle the 3D editor grid visibility by default
The 2D editor grid toggle shortcut has been changed to use
`KEY_MASK_CMD` for consistency. This means it will now use Cmd
on macOS instead of Ctrl.
2021-06-24 20:01:47 +02:00
Rémi Verschelde a01ea509f5
Merge pull request #49826 from groud/fix_mesh_transform
Keep the drawing transform when drawing meshing in CanvasItem
2021-06-24 19:38:56 +02:00
K. S. Ernest (iFire) Lee d8f284532a
Merge pull request #49854 from kleonc/visual_script_editor-fix-position-when-zooming-master
VisualScriptEditor Fix in graph position calculation (do not skip zoom)
2021-06-24 10:38:20 -07:00
Rémi Verschelde a7a923412c
Merge pull request #49872 from m4gr3d/update_config_versions 2021-06-24 19:37:13 +02:00
Rémi Verschelde 40d571a3a2
Merge pull request #49886 from KoBeWi/small_step_for_tweens
Correct the description of Tween.custom_step
2021-06-24 19:24:18 +02:00
Rémi Verschelde cb8f045de8
Merge pull request #49650 from KoBeWi/FindReplaceCrash
Fix crash with FindReplaceBar
2021-06-24 19:21:01 +02:00
Haoyu Qiu 91477cd4a9 Strip query string when parsing HTTP request line for path 2021-06-25 00:20:28 +08:00
ne0fhyk d1a9363c4c Update config versions and deprecate the use of the jcenter maven repo. 2021-06-24 08:58:56 -07:00
Rémi Verschelde f6336de946
Merge pull request #49876 from Calinou/tweak-script-export-text
Tweak script export text in the export dialog to be more explicit
2021-06-24 17:52:49 +02:00
kobewi 678827bebc Correct the description of Tween.custom_step 2021-06-24 16:01:12 +02:00
kobewi 35a38717e2 Fix crash with FindReplaceBar 2021-06-24 15:38:29 +02:00
Hugo Locurcio 4df24861fe
Tweak script export text in the export dialog to be more explicit 2021-06-24 10:00:48 +02:00
Rémi Verschelde 8ccadfabf2
Merge pull request #49874 from groud/fix_polygon2D_rendering_black
Fix polygon 2D rendering black
2021-06-24 09:48:25 +02:00
Rémi Verschelde f1bcc641dd
Merge pull request #49583 from timothyqiu/texture-crash
Fix crash when freeing GradientTexture and NoiseTexture
2021-06-24 09:40:42 +02:00
Gilles Roudière f8c03151be Fix polygon 2D rendering black 2021-06-24 09:26:51 +02:00
kleonc 921e6efe0d VisualScriptEditor Fix in graph position calculation (do not skip zoom) 2021-06-23 22:01:15 +02:00
Rémi Verschelde 9ace46a7d2
Merge pull request #49864 from Calinou/cylindermesh-allow-zero-radius
Allow a top and bottom radius equal to 0 in CylinderMesh
2021-06-23 19:58:18 +02:00
Hugo Locurcio b4ed84ba2b
Allow a top and bottom radius equal to 0 in CylinderMesh
The CylinderMesh generation code handles this special case and
avoids generating the top and bottom faces if their radius is equal
to 0. This improves performance by reducing the number of vertices
to draw.

If both values are set to 0, nothing will be visible but the mesh
generation will still succeed.

This also improves the CylinderMesh class documentation.
2021-06-23 18:50:10 +02:00
Rémi Verschelde 3cb153f746
Merge pull request #49863 from groud/fix_mesh2d_modulation
Fixes Mesh2D drawn without modulation
2021-06-23 18:14:59 +02:00
Gilles Roudière ccbf31685d Fixes Mesh2D drawn without modulation 2021-06-23 17:38:31 +02:00
Rémi Verschelde d00632b6a2
Merge pull request #49860 from pulawskig/master
Fixing mono build after instance() -> instanciate() name change
2021-06-23 17:10:07 +02:00
Grzegorz Puławski fa82727f5b Fixing mono build after instance() -> instanciate() name change 2021-06-23 16:07:23 +02:00
Rémi Verschelde 52984a3915
Merge pull request #49857 from Calinou/occluder-generation-improve-error-message
Improve error message when there are no meshes to bake for 3D occlusion
2021-06-23 15:52:17 +02:00
Hugo Locurcio 30fcf3045a
Improve error message when there are no meshes to bake for 3D occlusion 2021-06-23 15:32:48 +02:00
Rémi Verschelde e55be041d8
Merge pull request #49833 from m4gr3d/add_support_for_custom_debug_keystore_master
Add support for custom debug keystore
2021-06-23 15:28:25 +02:00
Rémi Verschelde 49df7c0bc1
Merge pull request #49853 from AndreaCatania/AndreaCatania-patch-4
Remove early return from gizmo intersect_ray
2021-06-23 15:22:05 +02:00
Rémi Verschelde c866d4f6d4
Merge pull request #49831 from m44615/fix_49412
VisualScript: Fix mislabeled logic operators #49412
2021-06-23 15:17:25 +02:00
Rémi Verschelde 21f31c642b
Merge pull request #47308 from Faless/net/4.x_http_client_request_and_custom
[Net] Unify HTTPClient `requests` make it a custom class.
2021-06-23 15:11:52 +02:00
Fabio Alessandrelli b00c4a4360 [Net] Makes HTTPClient a custom instance class. 2021-06-23 14:10:45 +02:00
Fabio Alessandrelli 421e771012 [Net] Unify HTTPClient request and request_raw. 2021-06-23 13:53:43 +02:00
AndreaCatania 2c12297ee1 Remove early return from gizmo intersect_ray
Remove early returns from `EditorNode3DGizmo::intersect_ray` that is preventing to have gizmos that use Mesh collision + Segment collision + Icon.
2021-06-23 13:06:45 +02:00
Martin 2e217a724e Fix logic operators mislabeled #49412 2021-06-23 12:04:55 +02:00
Rémi Verschelde 659178e85f
Merge pull request #49848 from bruvzg/ccur_macos_fix
[macOS] Fix custom mouse cursor not set after mouse mode change.
2021-06-23 10:56:28 +02:00
bruvzg f7797bf1b3 [macOS] Fix custom mouse cursor not set after mouse mode change. 2021-06-23 10:51:01 +03:00