Commit graph

35624 commits

Author SHA1 Message Date
Rémi Verschelde
45b66e91e7
Merge pull request #49985 from bruvzg/win_sign_temp_file
[Windows Export] Use temporary file for osslsigncode signing.
2021-06-29 10:08:55 +02:00
bruvzg
8f7c2ccefd [Windows Export] Use temporary file for osslsigncode signing. 2021-06-29 10:38:28 +03:00
Eric M
538a50ac19 EditorLog filter buttons are now enabled/on by default 2021-06-29 12:33:05 +10:00
PouleyKetchoupp
9758a75221 Fix move_and_collide causing sliding on slopes
Make sure the direction of the motion is preserved, unless the depth is
higher than the margin, which means the body needs depenetration in any
direction.

Also changed move_and_slide to avoid sliding on the first motion, in
order to avoid issues with unstable position on ground when jumping.

Co-authored-by: fabriceci <fabricecipolla@gmail.com>
2021-06-28 17:17:52 -07:00
Rémi Verschelde
eb318d3e04
Merge pull request #49966 from Faless/net/4.x_ws_timeout
[Net] Add WebSocketServer handshake_timeout property.
2021-06-29 02:00:00 +02:00
Rémi Verschelde
b2e7152180
Merge pull request #49973 from reduz/fix-validation-layers-errors
Fix Context Validation Layer Errors
2021-06-29 01:42:05 +02:00
reduz
4d19c052f7 Fix Context Validation Layer Errors
* Multisampling was wrongly selected, possibly fixes #49937
* Image semaphore acquisition is now per window, possibly fixes #41614

Please make sure to test the above two issues again, since I can't reproduce either anyway.
2021-06-28 17:43:10 -03:00
Paweł Fertyk
3dae9993ac Validate image formats, check if resize_to_po2 failed 2021-06-28 21:17:06 +02:00
trollodel
07c3b40aa2 Fix GraphNode port position when the control has the Expand flag 2021-06-28 18:52:13 +02:00
Rémi Verschelde
89f270f4c5
Merge pull request #49917 from groud/tree_disable_scroll
Allow disabling scrolling in Tree and implement horizontal scrolling
2021-06-28 18:41:23 +02:00
Rémi Verschelde
51350a951c
Merge pull request #49965 from Faless/net/4.x_fix_request
[Net] Fix WebSocketClient path parsing.
2021-06-28 18:38:51 +02:00
Rémi Verschelde
492d741a3e
Merge pull request #49951 from Calinou/standardmaterial3d-height-triplanar-print-warning
Print warning in StandardMaterial3D when height and triplanar are active
2021-06-28 18:36:59 +02:00
PouleyKetchoupp
3e4e530523 NodePath properly updated in the editor in more cases
Fix more cases of node path needing an update when nodes are renamed or
moved in the editor.

Built-in node properties:
Before, node paths were checked only for script export variables. Now
all properties are checked from the node, which includes built-in node
properties.
Allows proper node path updates for nodes like remote transform, physics
joints, etc.

Arrays and dictionaries:
Node paths nested in array and dictionary properties are now also
updated in the editor.

Also update the documentation to be clear about node path update in the
editor and at runtime.

Co-authored-by: latorril <latorril@gmail.com>
2021-06-28 09:28:29 -07:00
Rémi Verschelde
09254e970a
Merge pull request #49960 from fire/curve-interpolate-crash
Make curve interpolate crash less.
2021-06-28 18:24:35 +02:00
Gilles Roudière
d7d32ced5b Implement Tree's internal minimum width calculation 2021-06-28 15:54:31 +02:00
Fabio Alessandrelli
458437edef [Net] Add WebSocketServer handshake_timeout property.
Allows customization of the maximum time a client is allowed to stay in
the the "pending" state (i.e. awaiting HTTP handshake).

This used to be 1 second by before, the new default is 3 seconds.
2021-06-28 15:53:25 +02:00
Fabio Alessandrelli
d244dda597 [Net] Fix WebSocketClient path parsing.
Recent changes to parse_url caused the client to make invalid HTTP
requests if no path was specified.
2021-06-28 15:09:58 +02:00
Rémi Verschelde
ce7f599208
Merge pull request #49690 from Chaosus/vs_fix_input_connection
Fix auto-connection from output node to input (VisualShaders)
2021-06-28 14:53:23 +02:00
Hugo Locurcio
8fc96fc51a
Print warning in StandardMaterial3D when height and triplanar are active
Using both height mapping and triplanar mapping isn't supported.
2021-06-28 14:46:20 +02:00
Yuri Roubinsky
46cd36f009 Fix auto-connection from output node to input (VisualShaders) 2021-06-28 14:38:08 +03:00
Rémi Verschelde
f030b0c83d
Merge pull request #49953 from Calinou/reflectionprobe-tweak-default-extents
Increase the default ReflectionProbe extents to Vector3(10, 10, 10)
2021-06-28 13:30:02 +02:00
Rémi Verschelde
dae636cef5
Merge pull request #49823 from BastiaanOlij/move_render_sky
Move render_sky logic from effects into our sky object
2021-06-28 13:06:48 +02:00
Rémi Verschelde
20ca6c159a
Merge pull request #49949 from Calinou/standardmaterial3d-fix-triplanar-binormal
Fix flipped binormal in StandardMaterial3D triplanar mapping
2021-06-28 12:53:03 +02:00
Rémi Verschelde
02a830d684
Merge pull request #49945 from timothyqiu/adjust-bcs
Fix Image.adjust_bcs crash when image format is invalid
2021-06-28 12:50:11 +02:00
K. S. Ernest (iFire) Lee
d67c5afa95 Make curve interpolate crash less. 2021-06-27 22:07:50 -07:00
Rémi Verschelde
a738ddb9a4
Merge pull request #35536 from shroudedcode/keep-screen-on-linux
Make "Keep screen on" work on Linux
2021-06-27 19:33:23 +02:00
Hugo Locurcio
f28b55b551
Increase the default ReflectionProbe extents to Vector3(10, 10, 10)
On top of having a more realistic size out of the box, this matches
the default VoxelGI extents for better usability.
2021-06-27 16:46:03 +02:00
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