Commit graph

24072 commits

Author SHA1 Message Date
Hugo Locurcio
8c79b4f5e9
Remove redundant camelcase_to_underscore() call in EditorInspector
Calling `String::capitalize()` already calls
`String::camelcase_to_underscore()` under the hood.
2019-10-10 22:57:46 +02:00
PouleyKetchoupp
30f2100d59 Fixed ScriptEditor autosave timer causing errors on start
Fixes #32685
2019-10-10 22:20:15 +02:00
Gilles Roudière
fff953ac8b Move grid snapping to an independent button 2019-10-10 21:10:08 +02:00
SamuelDeboni
1767370e7c Added documentation for Skeleton2D 2019-10-10 13:42:34 -03:00
qarmin
684156f711 Fix decompress PoolByteArray crash 2019-10-10 17:15:10 +02:00
Rémi Verschelde
f4afaecdd1
Merge pull request #32714 from Calinou/gdscript-lsp-decrease-polling-frequency
Decrease polling frequency to 20 Hz in the GDScript language server
2019-10-10 17:11:53 +02:00
Hugo Locurcio
7f49c5dd42
Decrease polling frequency to 20 Hz in the GDScript language server
This decreases the language server's CPU usage.
2019-10-10 16:42:05 +02:00
Yuri Roubinsky
0148112730
Merge pull request #32708 from Chaosus/vs_fix
Prevents folding of member tree on drag&drop in visual shader
2019-10-10 14:39:34 +03:00
Yuri Roubinsky
b76ae23392 Prevents folding of member tree on drag&drop in visual shader 2019-10-10 14:19:48 +03:00
Rémi Verschelde
2c84a9651f
Merge pull request #32707 from Chaosus/vs_lod_textures
Uses LoD even if UV slot is not used in visual shader textures
2019-10-10 12:37:12 +02:00
Rémi Verschelde
cfc26f53d6
Merge pull request #32705 from qarmin/validate_array_index_stylebox
Validate array indexes in StyleBox
2019-10-10 12:14:09 +02:00
Yuri Roubinsky
d2fd2f32fc Uses LoD even if UV slot is not used in visual shader textures 2019-10-10 13:11:04 +03:00
qarmin
00b86b29f1 Validate array indexes in StyleBox 2019-10-10 11:48:58 +02:00
Rémi Verschelde
ed9fe4587d
Merge pull request #32704 from Chaosus/vs_remove_rebuild
Removed "rebuild" function from public interface of VisualShader
2019-10-10 11:44:56 +02:00
Yuri Roubinsky
0ec352213d Removed "rebuild" function from public interface of VisualShader 2019-10-10 12:15:55 +03:00
Rémi Verschelde
f0f972076a
Merge pull request #32686 from MarqusJonsson/master
Add shortcut Shift + F3 to search pervious in the built-in docs
2019-10-10 11:14:18 +02:00
Marqus
c84e73bf92 Add shortcut Shift + F3 to search pervious in the built-in docs
When using the built-in docs, Godot would not support the shortcut "Shift + F3"
to search for the previous occurrence of the search entry text, thus causing an
inconsistent behaviour when using shortcuts in the "ScriptEditor" compared to
using them in the "ScriptTextEditor".

The previous parameter of the function "EditorHelp::_search()" in the class
"editor_help" seems to be unused, thus replaced with a bool representing to
search for previous search entry text or not. By adding the shortcut to
Godot's "ScriptEditor", this commit now improves Godot's consistensy when
using shortcuts.

Fixes #31147.

Co-Authored-By: Oscar Ferm <oscfer-6@student.ltu.se>
2019-10-10 11:01:04 +02:00
Rémi Verschelde
220ee9281f
Merge pull request #32674 from Chaosus/vs_fix_cubemaps
Makes cubemaps to be works in visual shaders
2019-10-10 10:16:50 +02:00
Rémi Verschelde
f82c9f5300
Merge pull request #32697 from madmiraal/remove-editor-dependency
Remove editor dependency
2019-10-10 09:21:54 +02:00
Marcel Admiraal
a8836ba28d Remove dependency on the editor directory being in the build's include path.
- Add or remove the necessary subdirectorires to the includes to remove
dependency on the editor directory being in the build's include path.
- Ensure includes in modified files conform to style guideline.
- Remove editor from the build include path.
2019-10-10 08:57:00 +02:00
Rémi Verschelde
781e4f8673
Merge pull request #32673 from aaronfranke/vs-inheritance
Make VisualScript check inheritance for port info
2019-10-09 17:52:51 +02:00
Rémi Verschelde
123a6b8019
Merge pull request #32682 from Calinou/fix-nodepath-crash
Fix crash when using `Node.get_as_property_path()`
2019-10-09 16:52:52 +02:00
Rémi Verschelde
08725bdc28
Merge pull request #32684 from Faless/crypto/self_signed_cert_key_check
Fix crash when passing invalid key to Crypto.
2019-10-09 16:52:20 +02:00
Fabio Alessandrelli
e9abcbac3b Fix crash when passing invalid key to Crypto.
In generate_self_signed_certificate
2019-10-09 15:59:17 +02:00
Hugo Locurcio
0528ce0a2a
Fix crash when using Node.get_as_property_path()
This closes #32679.
2019-10-09 15:44:00 +02:00
Rémi Verschelde
dd23d0b635
Merge pull request #32662 from SamuelDeboni/docs-reflection-probe
Add documentation for ReflectionProbe
2019-10-09 14:00:36 +02:00
Fabio Alessandrelli
2c557787c1 Document all this new improvements. 2019-10-09 13:53:04 +02:00
Fabio Alessandrelli
67a4c3033b Custom headers support in WebSocketClient.
This commit also converts all PoolVector<String> parameters to
`const Vector<String>` in both WebSocketServer and WebSocketClient.
2019-10-09 13:53:04 +02:00
Fabio Alessandrelli
c723a8b6aa Implement WebSocketServer SSL support. 2019-10-09 13:53:04 +02:00
Fabio Alessandrelli
33644d7118 WebSocketClient can now use custom SSL certificate
Via the `trusted_ssl_certificate` property.
2019-10-09 13:53:04 +02:00
Fabio Alessandrelli
025cc04d9e Re-implement WebSocket get host/port.
Was lost during library switch
2019-10-09 13:53:04 +02:00
SamuelDeboni
eb6e3003d5 Add documentation for ReflectionProbe
Update doc/classes/ReflectionProbe.xml

Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>

Apply suggestions from code review

Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>

Update ReflectionProbe.xml
2019-10-09 08:21:46 -03:00
Yuri Roubinsky
fec8da3c5e Makes cube maps to be works in visual shaders 2019-10-09 12:13:53 +03:00
Rémi Verschelde
564a258831
Merge pull request #32672 from codecustard/fix_merge_scene_not_deselecting
Fixes deselection not working when merging scene
2019-10-09 08:42:16 +02:00
Rémi Verschelde
55ef6a0f25
Merge pull request #32671 from GodotExplorer/lsp-send-godot-class-tree
lsp: Send godot class tree to clients
2019-10-09 08:35:05 +02:00
Rémi Verschelde
a39aeade5b
Merge pull request #32170 from puthre/ninepatch-fix
GLES2 & GLES3 Fixes ninepatch margins for high resolution textures.
2019-10-09 08:33:56 +02:00
Rémi Verschelde
b540d17fe3
Merge pull request #32667 from GodotExplorer/lsp-fix-native-func-sign
LSP: Fix signature of void returned functions in native methods
2019-10-09 08:25:22 +02:00
Rémi Verschelde
87552e79ce
Merge pull request #32663 from jabcross/remove_toggle_ruler_shortcut
Remove Show Ruler shortcut (fixes  #32639)
2019-10-09 08:08:50 +02:00
Aaron Franke
13779b70e0
Make VisualScript check inheritance for port info 2019-10-09 01:47:05 -04:00
Emmanuel Barroga
b5ff31a433 Fixes deselection not working when merging scene
Fixes the issue of multiselection retaining its selection when deselecting in the merge scene dialog
2019-10-08 22:42:47 -07:00
Geequlim
1ab34bc3c2 lsp: Send godot class tree to clients 2019-10-09 13:40:50 +08:00
Geequlim
2b5b5874a2 lsp: Fix signature of void returned functions in native methods 2019-10-09 10:01:48 +08:00
Pedro Ciambra
afdfe651a1 Remove Show Ruler shortcut (fixes #32639)
Removed default shortcut because of the conflict mentioned in the issue.
Command + Shift + T would conflict with Soft Reload Script,
and this shortcut doesn't seem to be needed very often.
2019-10-08 18:26:21 -03:00
Rémi Verschelde
bb41f0b0cb
Merge pull request #32652 from Chaosus/shader_fix_autocompletion
Fixed invalid autocompletion pasting of shader param name
2019-10-08 22:52:46 +02:00
Rémi Verschelde
2d6b9f5034
Merge pull request #32649 from qarmin/another_crash_fix_for_tile_map
Fix crash in TileMap::update_cell_bitmask
2019-10-08 22:52:29 +02:00
Rémi Verschelde
9a929a7e4d
Merge pull request #32647 from Calinou/doc-improve-os-screen
Improve the OS `get_screen_*` methods' documentation
2019-10-08 22:52:13 +02:00
Rémi Verschelde
c84aafdac2
Merge pull request #32646 from SamuelDeboni/master
Fixed AttributeError bug on doc_status.py
2019-10-08 22:51:54 +02:00
Yuri Roubinsky
ada4bcbe30 Fix invalid autocompletion pasting of shader param name 2019-10-08 18:33:22 +03:00
Rémi Verschelde
f46bf8e721
Merge pull request #32411 from YeldhamDev/fix_grid_overflow
Fix GridContainer's children overflowing it when not all slots of a row are occupied
2019-10-08 17:05:32 +02:00
Rémi Verschelde
e1243f75b2
Merge pull request #32444 from lupoDharkael/center-template
Project Manager: Update template dialog position after window resize
2019-10-08 17:04:46 +02:00