Commit graph

35722 commits

Author SHA1 Message Date
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
PouleyKetchoupp
a65cdca894 Fix and clean disabled shapes handling in godot physics servers
In 3D, disabled shapes are now not added to the broadphase anymore.
Since they are removed right away when disabled, no need to check for
disabled shapes for any query that comes from the broadphase.
Also Fixes raycast queries returning disabled shapes.

In 2D, disabled shapes where already not added to the broadphase.
Remove the same unnecessary checks as in 3D.

Overall harmonized API for disabled shapes in the physics servers and
removed duplicate method.
2021-06-22 16:51:47 -07:00
ne0fhyk
532b0e3462 Add support for custom debug keystore. 2021-06-22 10:05:55 -07:00
Rémi Verschelde
277db14b64
Merge pull request #49803 from naithar/feature/ios-plugin-multitype-plist-4.0
[4.0] [iOS] Support multiple `plist` types in plugin
2021-06-22 12:48:55 +02:00
Gilles Roudière
e8476c994d Keep the drawing transform when drawing meshing in CanvasItem 2021-06-22 11:41:28 +02:00
Rémi Verschelde
8d4f56a4f2
Merge pull request #38972 from Calinou/scons-add-release-option
Print a notice when compiling with `target=debug`
2021-06-21 20:58:33 +02:00
Rémi Verschelde
b9bf01a9b0
Merge pull request #49798 from pycbouh/tree-lines-items-draw-order
Make relationship lines draw on top of `TreeItem`s
2021-06-21 20:54:51 +02:00
Rémi Verschelde
06a0d033a1
Merge pull request #49795 from timothyqiu/label-min-size
Update min size on Label::set_text
2021-06-21 19:09:56 +02:00
Sergey Minakov
771e3aae1e [iOS] Support multiple plist types 2021-06-21 18:17:41 +03:00
Hugo Locurcio
89b5a569fb
Print a notice when compiling with target=debug
Debug builds are considerably slower than release builds or even
release_debug builds. `target=debug` is still the default SCons
target option, so unsuspecting users may be compiling unoptimized
debug builds for their personal use.
2021-06-21 16:55:43 +02:00
Lightning_A
899e5f8685 Rename is_a_parent_of() to is_ancestor_of() 2021-06-21 08:39:28 -06:00
Yuri Sizov
483f8ffbe4 Make relationship lines draw on top of TreeItems 2021-06-21 16:46:43 +03:00
Rémi Verschelde
0638ca0037
Merge pull request #49792 from EricEzaM/improve-object-errors
Improved some error messages (from ERR_FAIL_*) in Object.
2021-06-21 15:00:39 +02:00
Haoyu Qiu
a57a51750a Update min size on Label::set_text 2021-06-21 19:54:40 +08:00
Eric M
f96d9f5ae1 Improved some error messages (from ERR_FAIL_*) in Object. 2021-06-21 20:20:59 +10:00
Rémi Verschelde
9da7f06900
Merge pull request #49665 from Paulb23/code_edit_indent
Move indentation into CodeEdit
2021-06-21 09:13:15 +02:00
Rémi Verschelde
0d0afca058
Merge pull request #45815 from floppyhammer/master
Improve nine patch behavior of TextureProgressBar
2021-06-21 09:05:56 +02:00
floppyhammer
b08dc1ea35 Improve nine patch behavior of TextureProgressBar 2021-06-21 10:07:49 +08:00
Rémi Verschelde
d696bd17ed
Merge pull request #49772 from pycbouh/editor-theme-pin-new-stylebox
Fix pinned `StyleBox` incorrectly reacting to several actions in the new `Theme` editor
2021-06-20 23:48:57 +02:00
Yuri Sizov
304c9b995b Fix pinned StyleBox incorrectly reacting to several actions in the new Theme editor 2021-06-20 23:04:56 +03:00
Niklas Higi
0c83a23ab5
Add "Keep screen on" feature to DisplayServerX11 2021-06-20 21:57:33 +02:00
Paulb23
1a0cfc219b Move indent management to CodeEdit 2021-06-20 20:00:54 +01:00
Rémi Verschelde
953de68cfc
Merge pull request #35608 from golfinq/master 2021-06-20 18:51:15 +02:00
Rémi Verschelde
50a0a401a1
Merge pull request #49281 from aaronfranke/use-enums-mouse-joypad 2021-06-20 18:50:40 +02:00
Aaron Franke
0ce49800ac
Use mouse and joypad enums instead of plain integers
Also MIDIMessage
2021-06-20 11:54:24 -04:00
Aaron Franke
e919d894f8
Move many input enums to their own file 2021-06-20 11:53:01 -04:00
golfinq
0c1d10d1ca Rich Text Label now allows for foreground colors and background colors 2021-06-20 11:29:37 -04:00
Rémi Verschelde
1acc76fecc
Merge pull request #49760 from Calinou/doc-projectsettings-stdout-stderr
Improve descriptions for ProjectSettings' `disable_stdout`/`disable_stderr`
2021-06-20 17:26:33 +02:00
Hugo Locurcio
e3ef50db38
Improve descriptions for ProjectSettings' disable_stdout/disable_stderr 2021-06-20 16:44:58 +02:00