Fabio Alessandrelli
17be67b8c7
WebSocketServer now sanitize destination peers.
...
When relaying messages in multiplayer mode.
Could cause a crash in case a malicious client sends a bogus packet and
for those cases where a peer has just disconnected and a message arrive
from another peer with the disconnected one as destination.
2019-08-19 17:26:07 +02:00
Rémi Verschelde
cce148b024
Merge pull request #31473 from Chaosus/shader_bug
...
Fix ternary operator shader compiler expression
2019-08-19 10:15:22 +02:00
Rémi Verschelde
e71cf83fbd
Merge pull request #31470 from clayjohn/GLES2-skeleton-memory-leak
...
Check if skeleton texture is already allocated before reallocating
2019-08-19 10:05:42 +02:00
Yuri Roubinski
9abf5578ee
Fix ternary operator shader compiler expression
2019-08-19 08:40:54 +03:00
clayjohn
99de3906ba
check if skeleton texture is already allocated before reallocating
2019-08-18 22:02:57 -07:00
Rémi Verschelde
bcd2f248ec
Merge pull request #31460 from YeldhamDev/textedit_readonly_syntax_fix
...
Keep syntax highlighting on TextEdit in readonly mode
2019-08-18 22:24:01 +02:00
Rémi Verschelde
76837e2163
Merge pull request #31462 from YeldhamDev/shader_preview_text_simplification
...
Simplify structure of preview text in visual shader editor
2019-08-18 22:21:57 +02:00
Michael Alexsander Silva Dias
2fa32d69a5
Keep syntax highlighting on TextEdit in readonly mode
2019-08-18 14:00:12 -03:00
Michael Alexsander Silva Dias
c19a66d72f
Simplify structure of preview text in visual shader editor
2019-08-18 13:27:08 -03:00
Rémi Verschelde
ef37f00525
Merge pull request #31453 from Chaosus/vs_code_preview
...
Added code preview to visual shader
2019-08-18 17:32:49 +02:00
Rémi Verschelde
9cd58b6916
Merge pull request #31449 from Chaosus/vs_global_expression
...
Added global expressions to visual shaders
2019-08-18 17:31:39 +02:00
Yuri Roubinski
808e44df6d
Added code preview to visual shader
2019-08-18 17:28:19 +03:00
Rémi Verschelde
909d611b33
Merge pull request #31456 from Calinou/travis-use-stages
...
Travis CI: Use a multi-stage build to run static checks first
2019-08-18 16:09:17 +02:00
Rémi Verschelde
2920c8fbaa
Merge pull request #31447 from Calinou/spatial-editor-use-shortcut-tooltips
...
Use shortcut tooltips in the spatial editor
2019-08-18 16:07:05 +02:00
Hugo Locurcio
1b7be55bac
Travis CI: Use a multi-stage build to run static checks first
...
This prevents Travis CI from performing full builds if static checks
have failed.
This also removes `sudo: false` as it is deprecated.
2019-08-18 15:08:21 +02:00
Rémi Verschelde
fb5e8b509b
Merge pull request #31448 from Calinou/improve-snap-object-to-floor
...
Improve "Snap Object to Floor" functionality
2019-08-18 11:07:12 +02:00
Rémi Verschelde
80c2f303ae
Merge pull request #31445 from KoBeWi/how_to_input
...
Clarify usage of action_press
2019-08-18 11:04:59 +02:00
Rémi Verschelde
d154e55f45
Merge pull request #31442 from KoBeWi/grounded_grabber
...
Update Slider grabber position when using mouse wheel
2019-08-18 11:03:28 +02:00
Rémi Verschelde
7f7e0f9dfc
Merge pull request #31439 from YeldhamDev/node_dock_minor_improvements
...
Minor improvements to the Node dock
2019-08-18 11:02:50 +02:00
Rémi Verschelde
5c853a45e6
Merge pull request #31423 from Calinou/improve-node-signal-group-tooltip
...
Improve the scene tree signals/groups tooltip
2019-08-18 10:55:16 +02:00
Rémi Verschelde
343466c015
Merge pull request #31440 from akien-mga/diraccesspack-dir_exists
...
DirAccessPack: Fix dir_exists and file_exists for res:// paths
2019-08-18 10:52:55 +02:00
Yuri Roubinski
e3b43771aa
Added global expressions to visual shaders
2019-08-18 08:49:56 +03:00
Michael Alexsander Silva Dias
96a256557c
Minor improvements to the Node dock
2019-08-17 23:05:58 -03:00
Hugo Locurcio
78878fbc97
Improve "Snap Object to Floor" functionality
...
- Display an error message if no selected nodes could be snapped
- Only register an undo/redo action if at least one node
could be snapped
- Increase the maximum snapping height to 20
- Increase the negative snapping limit to 0.2
2019-08-18 01:50:25 +02:00
Hugo Locurcio
35ad0475c3
Use shortcut tooltips in the spatial editor
...
This makes the tooltips display the correct shortcuts in case
they are changed, as is done automatically by `set_shortcut()`.
Button shortcuts are now used to apply shortcut actions,
which makes for cleaner code.
2019-08-17 23:39:28 +02:00
Tomasz Chabora
b950867df8
Clarify usage of action_press
2019-08-17 23:20:06 +02:00
Rémi Verschelde
cc9f2a2d8b
Merge pull request #31401 from aaronfranke/no-init-scripts
...
Allow plugins to not have an init script
2019-08-17 22:09:17 +02:00
Tomasz Chabora
8a0e6e23a7
Update Slider grabber position when using mouse wheel
2019-08-17 21:12:05 +02:00
Rémi Verschelde
ad8746e0de
DirAccessPack: Fix dir_exists and file_exists for res:// paths
...
Both methods check against containers using relative paths as index,
so the `res://` part needs to be stripped.
Fixes #26009 .
2019-08-17 19:03:28 +02:00
Rémi Verschelde
86371b7298
Merge pull request #31435 from godotengine/revert-31367-add_minmax_winsize_setting
...
Revert "Add Min/Max Window Size Setting"
2019-08-17 16:19:51 +02:00
Rémi Verschelde
0743a07447
Revert "Add Min/Max Window Size Setting"
2019-08-17 16:19:18 +02:00
Rémi Verschelde
f7e57df6a2
Merge pull request #31431 from akien-mga/err_explain
...
Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'
2019-08-17 14:44:47 +02:00
Hugo Locurcio
c62302a432
Improve the scene tree signals/groups tooltip
...
The tooltip now displays the number of connections and groups
that are assigned to the hovered node.
2019-08-17 14:20:16 +02:00
Rémi Verschelde
d3153c28f0
Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'
...
The last remaining ERR_EXPLAIN call is in FreeType code and makes sense as is
(conditionally defines the error message).
There are a few ERR_EXPLAINC calls for C-strings where String is not included
which can stay as is to avoid adding additional _MSGC macros just for that.
Part of #31244 .
2019-08-17 13:31:22 +02:00
Rémi Verschelde
de4aabe89b
Merge pull request #31244 from Unholydeath/BB_ChangeErrorMacros
...
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'
2019-08-17 13:31:08 +02:00
Braden Bodily
71d71d55b5
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'
...
Condensed some if and ERR statements. Added dots to end of error messages
Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?),
core/os/memory.cpp,
drivers/png/png_driver_common.cpp,
drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
2019-08-17 12:33:15 +02:00
Rémi Verschelde
40640a01dc
Merge pull request #31424 from Calinou/improve-animation-editor-timeline
...
Improve timeline drawing in the animation editor
2019-08-17 12:05:42 +02:00
Rémi Verschelde
fe8f73c939
Merge pull request #31422 from sparkart/attachscript_by_scripteditor
...
Adds Attaching Script via Script Editor
2019-08-17 11:55:48 +02:00
Rémi Verschelde
be42f1bf6c
Merge pull request #31399 from Calinou/box-selection-add-borders
...
Add an outline to box selection rectangles for better visibility
2019-08-17 11:26:05 +02:00
Rémi Verschelde
c7a7163dff
Merge pull request #31398 from KoBeWi/1000_ways_to_make_scene
...
Allow to create scene from FileSystem dock
2019-08-17 11:25:33 +02:00
Rémi Verschelde
9ab02761d7
Merge pull request #31396 from Calinou/low-processor-mode-editor-restart
...
Set the low processor mode sleep editor settings to require a restart
2019-08-17 11:23:27 +02:00
Rémi Verschelde
822a41a8c0
Merge pull request #31367 from sparkart/add_minmax_winsize_setting
...
Add Min/Max Window Size Setting
2019-08-17 11:21:56 +02:00
Hugo Locurcio
a341c65f65
Improve timeline drawing in the animation editor
...
A small arrow-like icon is now drawn at the top of the timeline.
The timeline is now also wider as to be more visible.
2019-08-17 00:20:21 +02:00
Rémi Verschelde
afecc0bc22
Merge pull request #31309 from raphael10241024/fix_dof
...
DOF can effect transparent objects now,
2019-08-16 23:20:22 +02:00
Emmanuel Barroga
c9445a0faa
Adds Attaching Script via Script Editor
...
Allows you to attach a script by dragging the name in the script list of the script editor to the node in the scene tree.
2019-08-16 12:22:18 -07:00
Aaron Franke
ceb61fb784
Allow plugins to not have an init script
2019-08-15 17:52:07 -04:00
Hugo Locurcio
108f9646f5
Add an outline to box selection rectangles for better visibility
...
This also refactors selection box color definitions
to avoid repetition.
2019-08-15 22:27:32 +02:00
Emmanuel Barroga
a7bf643a7b
Add Min/Max Window Size Setting
...
Add project settings to easily set the minimum and maximum window size.
2019-08-15 12:19:09 -07:00
Rémi Verschelde
de8ce3e625
Merge pull request #31392 from YeldhamDev/autocomplete_width_limit_fix
...
Fix autocompletion widget having its text leak outside
2019-08-15 20:51:11 +02:00
Michael Alexsander Silva Dias
f8a986c094
Fix autocompletion widget having its text leak outside
2019-08-15 14:52:37 -03:00