Commit graph

24162 commits

Author SHA1 Message Date
Rémi Verschelde
76ef250d09
Merge pull request #32638 from akien-mga/popupmenu-keep-name
PopupMenu: Fix inconsistency setting text/xl_text in add_* methods
2019-10-08 14:44:55 +02:00
PouleyKetchoupp
655694b394 Fixed RigidBody stuttering when changing collision layer/mask
- Changing collision layer/mask now only updates the broadphase proxy to avoid the velocity to be reset each time (also avoids unnecessary computations)
- No rigid body update at all when the collision layer/mask stays the same
- Same changes for Area for optimization purpose

Fixes #32577
2019-10-08 14:40:24 +02:00
Marcel Admiraal
c2aa3e2351 Remove circular include between core/typedefs.h and core/error_macros.h 2019-10-08 11:03:57 +02:00
Rémi Verschelde
98497ff719
Merge pull request #21621 from AlexHolly/android-pen-hover-support
Adds Pen support for Android
2019-10-08 10:05:39 +02:00
Rémi Verschelde
58dd5d0c78 PopupMenu: Fix missing text/xl_text when using add_shortcut
Use macros to ensure that `text`, `xl_text` and `id` are always set
using the same logic.

Fixes #25519.

Also fixes up #26914 when `p_id == -1` handling was only added for a
couple methods instead of all of them.
2019-10-08 09:33:26 +02:00
Rémi Verschelde
63a19df5e6 PopupMenu: Reorder add_* methods in more natural order
Also adds `add_icon_radio_check_shortcut` matching `add_icon_radio_check_item`,
binds them for scripting languages, and binds `add_multistate_item`.
2019-10-08 09:32:01 +02:00
Rémi Verschelde
02d75f99b9
Merge pull request #32616 from Faless/net/fix_close_exec
Disable socket descriptor sharing with subprocs.
2019-10-08 07:32:11 +02:00
Rémi Verschelde
9215e2ddf5
Merge pull request #32632 from groud/increase_grid_size_limit
Increase grid size limit
2019-10-08 07:08:56 +02:00
Rémi Verschelde
e43155b44f
Merge pull request #32454 from jeronimo-schreyer/disable_unix_socket
Optional Unix Socket disable for devices that do not support it
2019-10-08 06:40:17 +02:00
Rémi Verschelde
a65019f41a
Merge pull request #32606 from cbolgiano/bugfix/32294
Fixes Default Angular Damp in Project Settings Disallows Fractional Input #32294
2019-10-08 06:34:25 +02:00
Rémi Verschelde
d514bdff62
Merge pull request #32607 from Calinou/doc-gdnative-singleton-prefix
Document the GDNative singleton method prefix being changeable
2019-10-08 06:32:46 +02:00
devbox
f5bb9a98dc 32294: Changed the default_angular_damp value to a float.
32294: Added hints for both 2d/3d linear/angular.

32294: Added hints for both 2d/3d linear/angular.
2019-10-07 18:15:20 -04:00
Gianlluca
54cba54a45 Added a method to erase section key in ConfigFile 2019-10-07 18:11:19 -03:00
Gilles Roudière
0e834b3924 Increase grid size limit 2019-10-07 22:59:51 +02:00
Rémi Verschelde
31600f07d2
Merge pull request #32623 from madmiraal/remove-circular-includes
Remove circular dependency between Vector3 and Basis.
2019-10-07 20:36:20 +02:00
Paulb23
e5b18cea63 Fixed inserting text at caret not updating scrollbar size 2019-10-07 19:17:32 +01:00
Rémi Verschelde
667e464e64
Merge pull request #32626 from Paulb23/issue_27631_caret_draw_eol
Fixed drawing the caret at eol when at eol is not visible
2019-10-07 19:18:05 +02:00
Paulb23
6025a76c78 Fixed drawing the caret at eol when at eol is not visible 2019-10-07 17:24:58 +01:00
Hugo Locurcio
753eff2f68
Allow all Variant types to be added as project settings 2019-10-07 17:17:13 +02:00
Marcel Admiraal
40197685bb Remove circular dependency between Vector3 and Basis. 2019-10-07 16:26:27 +02:00
Hugo Locurcio
9499eef4da
Document the GDNative singleton method prefix being changeable
This also tweaks error messages to remove hardcoded references to
the default `godot_` prefix.
2019-10-07 15:59:57 +02:00
Valentin Zagura
100d05cbec GLES3 Fixes for ninepatch margins when patch size is smaller than the patch texture resolution
Scaled ninepatch margins in screen space to be relative of the ninepatch size when the patch size is smaller than the patch texture resolution.
2019-10-07 13:19:27 +01:00
PouleyKetchoupp
1e301479da Sprite to polygon conversion improvements
- No reduced Rect in march square algorithm, it was causing inconsistent cases near the borders and made the outline less accurate
- Ignore invalid generated polygons (under 3 points) to avoid unnecessary errors and crashes
- Error popup only when no polygon could be generated at all
- Added option to shrink pixels (to get rid of small separate islands)
- Fixed polygon preview (lines were sometimes not showing along the borders)

Fixes #32564, #29267
2019-10-07 13:19:30 +02:00
Fabio Alessandrelli
9c91b2051a Disable socket descriptor sharing with subprocs.
On Unix systems, sockets are like file descriptors, and file descriptors
are usually shared among child processes.
This means, that if we spawn a subprocess (or we fork) like we do in the
editor, open file descriptors will leak to the new process.
This causes issue with sockets as they might remain open and bound
(listening) when the original process closes.
2019-10-07 11:53:01 +02:00
Rémi Verschelde
234289de2b
Merge pull request #32613 from clayjohn/GLES2-canvas-bg-mode
Add canvas background mode to GLES2
2019-10-07 08:57:44 +02:00
Rémi Verschelde
f84bf7e8a8
Merge pull request #32351 from nekomatata/texture-rect-size-update
Update TextureRect when its Texture is modified directly
2019-10-07 08:57:17 +02:00
Rémi Verschelde
dcf46d311a
Merge pull request #32523 from hbina/hbina_fix_method_ordering
Applied the same kind of ordering to methods description
2019-10-07 08:34:10 +02:00
Rémi Verschelde
c825f76dec
Merge pull request #32567 from Calinou/increase-about-dialog-size
Increase the size of the About dialog
2019-10-07 08:26:57 +02:00
Rémi Verschelde
74c7866bba
Merge pull request #32594 from Calinou/project-editor-settings-search-shortcut
Focus the search box when pressing Ctrl+F in Project/Editor Settings
2019-10-07 08:26:27 +02:00
clayjohn
77939c6e2e add canvas background mode to GLES2 2019-10-06 23:26:11 -07:00
Rémi Verschelde
dfff210f6d
Merge pull request #32608 from cbscribe/kcc_doc_updates
[DOC] Fill in various missing method/member descriptions.
2019-10-07 07:24:32 +02:00
Rémi Verschelde
0d26a425da
Merge pull request #32589 from OsamaElHariri/add_angle_to_ruler
Add angle to ruler tool
2019-10-07 07:22:30 +02:00
Rémi Verschelde
41aac7c2df
Merge pull request #32605 from dankan1890/get_custom_color
Added missing bind_method to TreeItem::get_custom_color().
2019-10-07 07:21:03 +02:00
Rémi Verschelde
aece1fee8b
Merge pull request #32603 from clayjohn/GLES2-post-processing-bugs
Fix current issues with post-processing
2019-10-07 07:03:47 +02:00
Chris Bradfield
72b43d5ed6 [DOC] Fill in various missing method/member descriptions. 2019-10-06 16:26:15 -07:00
dankan1890
b469ff17e2 Added missing bind_method to TreeItem::get_custom_color().
Fix #32595
2019-10-06 22:07:50 +02:00
Rémi Verschelde
8c9358b5d0
Merge pull request #32602 from cbscribe/kcc_doc_rigid
[DOC] Add missing physics_material_override descriptions
2019-10-06 21:31:46 +02:00
clayjohn
cea1f13176 fix current issues with post-processing 2019-10-06 12:07:31 -07:00
Chris Bradfield
2092ebda9c [DOC] Add missing physics_material_override descriptions 2019-10-06 11:54:58 -07:00
Rémi Verschelde
7801fdfedb
Merge pull request #32599 from cbscribe/kcc_doc_clippedcamera
[DOC] Document ClippedCamera properties/methods.
2019-10-06 20:54:08 +02:00
Rémi Verschelde
c8f6661459
Merge pull request #32569 from qarmin/fix_control_crash
Fix crash in Control functions
2019-10-06 20:50:18 +02:00
Rémi Verschelde
8543cc2ff9
Merge pull request #32580 from sheepandshepherd/gdnativelibrary-doc
Document GDNativeLibrary
2019-10-06 20:44:20 +02:00
Rémi Verschelde
430181e6db
Merge pull request #32586 from jmorton06/master
Set tooltip to an empty string after removing texture/material
2019-10-06 20:39:10 +02:00
Chris Bradfield
6591008ac5 [DOC] Document ClippedCamera properties/methods. 2019-10-06 10:56:23 -07:00
Yuri Roubinsky
b54d1276e6
Merge pull request #32598 from Chaosus/fix_shader_crash
Prevents shader crash if name of variable overrides function name
2019-10-06 20:49:32 +03:00
Yuri Roubinsky
76324bec8d Prevent shader crash if name of variable overrides function name 2019-10-06 20:35:41 +03:00
Joe Morton
c017f3405e Set tooltip to an empty string when clearing
Format


Remove string conversion
2019-10-06 17:29:11 +01:00
Hugo Locurcio
724b9bc0ce
Focus the search box when pressing Ctrl+F in Project/Editor Settings 2019-10-06 17:56:34 +02:00
sheepandshepherd
04dbcd7f5a Document GDNativeLibrary 2019-10-06 17:38:51 +02:00
Yuri Roubinsky
b71f23169a
Merge pull request #32592 from Chaosus/fix_const_shader_crash
Prevent shader crash if function call been used for constant initialization
2019-10-06 18:35:07 +03:00