Commit Graph

24355 Commits

Author SHA1 Message Date
Rémi Verschelde 3cc94b2c0b Mono: Fix template build after #32732 2019-10-11 15:17:36 +02:00
Rémi Verschelde ebbbcd4e16
Merge pull request #32744 from qarmin/bytearray_compress_fix
Don't use in some functions empty PoolByteArrays
2019-10-11 15:16:35 +02:00
Rémi Verschelde e49b40a974
Merge pull request #32591 from HaSa1002/lsp-fatal-crash
fix #32588 out of range crash in language server
2019-10-11 15:16:10 +02:00
Rémi Verschelde 062650860a
Merge pull request #32731 from codecustard/fix_concaveshape_not_selecting
Fixes concaveshape not selecting in viewport
2019-10-11 14:55:47 +02:00
HaSa1002 d9dfc4496c fix #32588 crash in language server 2019-10-11 14:43:39 +02:00
Emmanuel Barroga 29690f6aec Fixes concaveshape not selecting in viewport
This PR resolves the issue of ConcaveShapes not being selectable in the Viewport.
2019-10-11 03:42:36 -07:00
qarmin 04c6579fd7 Don't use in some functions empty PoolByteArrays 2019-10-11 11:39:40 +02:00
Rémi Verschelde aad4d8648b
Merge pull request #32742 from Chaosus/fix_samplers
Added sampler port to CubeMap, fixed parsing in expresssions
2019-10-11 11:25:00 +02:00
Rémi Verschelde 7f075e519a
Merge pull request #32741 from qarmin/fix_string_utf_ascii
Don't use to_utf8() and to_ascii() on empty String
2019-10-11 11:24:40 +02:00
Paul Trojahn bdaedb601c Fix draw_rect
OpenGL uses the diamond exit rule to rasterize lines. If we don't shift
the points down and to the right by 0.5, the line can sometimes miss a
pixel when it shouldn't. The final fragment of a line isn't drawn. By
drawing the lines clockwise, we can avoid a missing pixel in the rectangle.
See section 3.4.1 in the OpenGL 1.5 specification.
Fixes #32279
2019-10-11 10:26:53 +02:00
Rémi Verschelde 197be41cca
Merge pull request #32740 from akien-mga/android-workaround-crash-fix-manifest
Android: Work around crash in _fix_manifest
2019-10-11 09:38:48 +02:00
Yuri Roubinsky b217babca2 [VShaders] Added sampler port to CubeMap, fixed parsing in expresssion s 2019-10-11 10:36:04 +03:00
qarmin c62da553cb Don't use to_utf8() and to_ascii() on empty String 2019-10-11 09:13:30 +02:00
Rémi Verschelde 82141729d2 Android: Work around crash in _fix_manifest
Works around #32553, not fixing the underlying cause but
preventing the crash.
2019-10-11 09:03:21 +02:00
Rémi Verschelde d655a7c097 doc: Sync classref with current source 2019-10-11 08:45:03 +02:00
Rémi Verschelde 30c3c33029
Merge pull request #32721 from groud/independant_grid_snap
Move grid snapping to an independent button
2019-10-11 08:35:01 +02:00
Rémi Verschelde be446038bb
Merge pull request #32683 from Faless/ws/improve_pr
WebSocket improvements, SSL server, custom headers.
2019-10-11 08:28:47 +02:00
Rémi Verschelde be0da31f7a
Merge pull request #32628 from Paulb23/issue_32609_set_text_scrollbar
Fixed inserting text at caret not updating scrollbar size
2019-10-11 08:24:13 +02:00
Rémi Verschelde 22d100ad3a
Merge pull request #32717 from qarmin/decompress_crash
Fix decompress PoolByteArray crash
2019-10-11 08:22:00 +02:00
Rémi Verschelde 25d1073f6e
Merge pull request #32696 from SamuelDeboni/doc-Skeleton2D
Added documentation for Skeleton2D
2019-10-11 08:21:50 +02:00
Rémi Verschelde 16dc6032dc
Merge pull request #32737 from volzhs/unused-outputstrings
Remove unused editor/OutputStrings
2019-10-11 08:21:21 +02:00
Rémi Verschelde 8a459c03dd
Merge pull request #32732 from neikeq/fix-release-api-assemblies-update-check
C#: Fix detection of outdated release Godot API assemblies
2019-10-11 07:33:34 +02:00
Rodolfo Ribeiro Gomes 58e5c650d7 fix #32711 : Spatial::look_at wrong re-scaling 2019-10-11 02:22:02 -03:00
Rémi Verschelde 4067028894
Merge pull request #32729 from Calinou/inspector-remove-string-conversion
Remove redundant `camelcase_to_underscore()` call in EditorInspector
2019-10-11 07:21:57 +02:00
Rémi Verschelde fc281dce57
Merge pull request #32728 from nekomatata/error-autosave-timer
Fixed ScriptEditor autosave timer causing errors on start
2019-10-11 07:20:07 +02:00
volzhs 52b21435e2 Remove unused editor/OutputStrings 2019-10-11 14:13:20 +09:00
Ignacio Etcheverry 8c438a2197 C#: Fix detection of outdated release Godot API assemblies 2019-10-11 01:46:06 +02:00
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
PouleyKetchoupp 7dc0e68a53 Optimized Dictionary hash() and duplicate() methods 2019-10-10 18:12:20 +02: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