Marcel Admiraal
b8fe576355
Ensure KinematicBodies only interact with other Bodies with matching mask.
2021-07-19 17:03:43 +01:00
Haoyu Qiu
8c4cb53d21
Minor enhancements for the resource options button
2021-07-19 22:58:47 +08:00
Rémi Verschelde
dfc1ec7fb9
Merge pull request #50606 from Chaosus/textedit_fix_guttertype
...
Fixed typos in `TextEdit::GutterType` enum
2021-07-19 16:40:42 +02:00
kobewi
5faf51a5aa
Assign value to property by dropping to scene tree
2021-07-19 16:16:50 +02:00
Rémi Verschelde
855c7c7414
Merge pull request #50566 from reduz/optimize-stringname-usage
...
Optimize StringName usage
2021-07-19 15:20:25 +02:00
Juan Linietsky
54b598ffe4
Merge pull request #50501 from reduz/fix-forward-mobile
...
Fixes to forward mobile
2021-07-19 08:54:02 -03:00
Joseph Davies
136567ebcf
Fix grammar in MultiMesh documentation.
2021-07-19 02:16:27 -07:00
Yuri Roubinsky
e1547798d6
Merge pull request #50413 from Chaosus/vs_cleanup_warnings
2021-07-19 11:22:28 +03:00
Yuri Roubinsky
1597045b09
Fixed typos in TextEdit::GutterType
enum
2021-07-19 11:18:54 +03:00
Rémi Verschelde
95def293a6
Merge pull request #48186 from EricEzaM/PR/tooltip-improvements
...
Made default tooltips (non-custom ones) disappear on mouse enter.
2021-07-19 09:02:06 +02:00
Hugo Locurcio
abc38b8d66
Use C++11 raw literals for shader code to improve readability
...
In files that have lots of branching, `\t` was replaced with a
tab character instead.
2021-07-19 08:19:50 +02:00
Aaron Franke
09f0596eb2
Explicitly cast to float when creating a float array
2021-07-19 01:21:22 -04:00
bruvzg
1ac7a126f1
Optimize LineEdit and TextEdit menu item generation.
2021-07-19 08:19:09 +03:00
reduz
6631f66c2a
Optimize StringName usage
...
* Added a new macro SNAME() that constructs and caches a local stringname.
* Subsequent usages use the cached version.
* Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time.
* Replaced all theme usages by this new macro.
* Replace all signal emission usages by this new macro.
* Replace all call_deferred usages by this new macro.
This is part of ongoing work to optimize GUI and the editor.
2021-07-18 21:20:02 -03:00
Hugo Locurcio
0098e9243c
Improve tooltips in the editor profiler to mention the script name
...
Co-authored-by: CrispyPin <crispin@tasa.se>
2021-07-19 01:43:58 +02:00
Hugo Locurcio
6cfcbbbb93
Improve the 3D editor manipulation gizmo
...
- Allow some tolerance when clicking the plane move/scale,
even if the click is actually slightly outside the plane
(similar to Blender).
- Make the rotate manipulation circles visually thinner to be
less distracting.
- Make the hovered color less saturated to be more distinguishable
from the non-hovered state.
- Don't set brightness above 1.0 to prevent the gizmo from glowing
when hovered.
2021-07-19 00:46:27 +02:00
Nick Huelin
a45713ccdd
Fix Illegible text in audio bus editor
...
This pull request fixes an issue with the audio bus editor where the text would be illegible regardless of the theme being used.
2021-07-18 17:53:52 -04:00
Lightning_A
8aaa41ec97
Remove unnecessary get_editor_theme() in SubViewportPreview
2021-07-18 14:48:37 -06:00
Yuri Roubinsky
88088f351a
Prevents some warnings from appearing in visual scripts
2021-07-18 19:41:51 +03:00
David Cambré
aefde680a4
VisualScript-Drop-Custom-Nodes
...
Allows to drop custom node scripts directly in VisualScript
2021-07-18 15:48:35 +02:00
Rémi Verschelde
b76dfde329
Merge pull request #50573 from KoBeWi/editor_spin_crasher
...
Fix crash in EditorSpinSlider
2021-07-18 09:58:19 +02:00
Yuri Roubinsky
35dc0db296
Merge pull request #50562 from Chaosus/vs_fix_funcs
...
Prevents function generation in visual shader if no connections to output are provided
2021-07-18 10:17:35 +03:00
Fabio Alessandrelli
5ee0d16565
Merge pull request #50575 from dsnopek/webrtc-idhandler-get-prop
...
Fix "IDHandler.get_prop is not a function" error when calling some methods on WebRTCDataChannel
2021-07-18 03:27:37 +02:00
David Snopek
756ed308ee
Fix "IDHandler.get_prop is not a function" error when calling some methods on WebRTCDataChannel
2021-07-17 20:03:37 -05:00
kobewi
110236f761
Fix crash in EditorSpinSlider
2021-07-18 01:04:27 +02:00
Fabio Alessandrelli
afc59ae84b
Merge pull request #50567 from Faless/js/4.x_joy_psff_snes
...
[HTML5] Add 2 controllers to the godot database.
2021-07-18 01:02:32 +02:00
Fabio Alessandrelli
5717118bcc
[HTML5] Add 2 controllers to the godot database.
...
Sony PlayStation DualShock 4 (054c:05c4 first gen).
Unofficial Switch controller.
2021-07-17 23:51:48 +02:00
David Snopek
3963a11b2f
Re-enable building WebXR in GitHub Actions
2021-07-17 15:37:35 -05:00
Yuri Roubinsky
d63a284dff
Prevent function gen in visual shader if no out connection is provided
2021-07-17 22:51:22 +03:00
Juan Linietsky
6263f58d69
Merge pull request #50559 from reduz/fix-scene-tree-duplicate-selection
...
Fix duplicate selection in SceneTree
2021-07-17 15:58:41 -03:00
Rémi Verschelde
51a10feb9d
Merge pull request #50509 from Calinou/editor-tweak-select-mode-drag-threshold
...
Tweak editor select mode drag threshold for better usability
2021-07-17 19:37:11 +02:00
reduz
7d20d78847
Fix duplicate selection in SceneTree
...
* It seems both cell_selected and multi_selected were being triggered,
* This caused inspector updating twice.
* cell_selected connection and callback were removed.
This may be a bug in Godot 3.x too, recommend checking.
2021-07-17 13:35:28 -03:00
Juan Linietsky
deeec8894a
Merge pull request #50530 from reduz/create-popups-on-demand
...
Create many types of popups on demand
2021-07-17 12:28:41 -03:00
reduz
a3fb76cd45
Create many types of popups on demand
...
* LineEdit popups created on demand.
* TextEdit popups created on demand.
* SpinSlider popups created on demand.
* ResourcePicker popups created on demand.
Improves editor responsiveness.
2021-07-17 10:57:14 -03:00
Rémi Verschelde
7537875d86
Merge pull request #50547 from pycbouh/editor-theme-eagerly-grab-focus-on-popup-and-never-let-go
...
Fix focus behavior in the Add Item Type dialog of the Theme editor
2021-07-17 14:39:13 +02:00
Yuri Sizov
4bcdbf1280
Fix focus behavior in the Add Item Type dialog of the Theme editor
2021-07-17 13:20:10 +03:00
Fabio Alessandrelli
76b0030821
Merge pull request #39610 from Meriipu/master_resourcename
...
WebSocketServer: Expose the resource name the client used
2021-07-17 10:55:11 +02:00
Rémi Verschelde
b079715563
Merge pull request #50520 from pycbouh/editor-theme-fixup
...
Fix control picker in the Theme editor
2021-07-17 09:29:56 +02:00
Rémi Verschelde
dfe2630b41
Merge pull request #50513 from Geometror/displayserver-add-override
...
Modernize display_server_... headers and make style consistent (use override keyword)
2021-07-17 07:54:18 +02:00
Meriipu
1475f617a3
Expose the resource name the client used to the websocket server
...
This information is exposed to the websocket server through the
client_connected-signal.
example.com/chat?id=10 gives the resource name "/chat?id=10"
2021-07-17 07:48:18 +02:00
Hugo Locurcio
9fc2849a57
Add error marking to the shader error console output
...
This makes it possible to see where the shader error is without
having to look at the trace printed below the source code.
2021-07-17 03:05:11 +02:00
Fabio Alessandrelli
de83ee57e5
Merge pull request #38313 from Calinou/hlm-default-enable-compression
...
Enable range coder compression by default in NetworkedMultiplayerENet
2021-07-16 22:26:34 +02:00
Hugo Locurcio
97d8608c7d
Enable range coder compression by default in NetworkedMultiplayerENet
...
From empirical testing, this seems to provide the best compression
compared to other compression algorithms when used in the
Multiplayer Bomber demo.
Other algorithms may provide better compression ratios for more
complex games, but some compression is probably better than
no compression.
Zstandard was also not very efficient in my testing, so I added
a note in the documentation.
2021-07-16 21:49:02 +02:00
Hendrik Brucker
38578a8095
Modernize Display server to use override keyword
2021-07-16 21:39:13 +02:00
Yuri Sizov
d82ec336d9
Fix control picker in the Theme editor
2021-07-16 21:32:58 +03:00
Lightning_A
e3e8c234e4
Add shift + [1-5] keyboard shortcuts to zoom out
2021-07-16 12:20:08 -06:00
Fabio Alessandrelli
0e265b047e
Merge pull request #46554 from likeich/is_server_quiet_failure
...
MultiplayerAPI is_network_server Fails Silently
2021-07-16 20:04:41 +02:00
Hugo Locurcio
523d6b2ae8
Merge pull request #47395 from sygi/shape_idx_collision
...
Add shape_idx to CollisionObject2D mouse_entered signal
2021-07-16 19:05:08 +02:00
Haoyu Qiu
7eec8334d4
Fix missing locale names
2021-07-16 23:07:07 +08:00
Hugo Locurcio
ac52178850
Tweak editor select mode drag threshold for better usability
...
- Use a smaller drag threshold (8 pixels instead of 10 pixels).
- Scale the 2D editor drag threshold with the zoom to make it
work the same regardless of the current zoom level.
2021-07-16 06:17:40 +02:00