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
2078dcbe15
Merge pull request #32640 from madmiraal/remove-circular-includes
...
Remove circular include between core/typedefs.h and core/error_macros.h
2019-10-08 15:39:05 +02:00
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
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
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
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
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
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
Yuri Roubinsky
d9087e1b44
Prevent shader crash if function call been used on constant
2019-10-06 18:20:05 +03:00
Osama El Hariri
90ea3787ec
Add angle to ruler tool
2019-10-06 18:04:49 +03:00
Yuri Roubinsky
09a3d8f5c4
Merge pull request #32590 from Chaosus/fix_shader_regression
...
Fix few redefinition name errors for variable/param/function in shaders
2019-10-06 17:46:24 +03:00
Yuri Roubinsky
5a5a062d61
Fix few redefinition name errors for variable/param/function in shaders
2019-10-06 17:27:28 +03:00