Commit Graph

25565 Commits

Author SHA1 Message Date
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 ad9a5ee6f1 Disable file descriptor sharing with subprocs.
On Unix systems, 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 any open file descriptor will leak to the new process.
This PR sets the close-on-exec flag when opening a file, which causes
the file descriptor to not be shared with the child process.
2019-10-07 11:57:44 +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
qarmin 17344337a9 Fix crash in Control functions 2019-10-05 19:17:07 +02:00
PouleyKetchoupp c7834ee566 Update TextureRect and Sprite when their Texture is modified directly.
Modified Sprite to use "changed" signal instead of _changed_callback to make it work when tool is disabled (change receptors are editor only).

Fixes #32349
2019-10-05 17:32:46 +02:00
Hugo Locurcio 0550c41ab6
Increase the size of the About dialog
This makes third-party license texts display without any soft
wrapping.

The About dialog still fits in the editor when using the smallest
window size permitted (1024x600).
2019-10-05 17:18:25 +02:00
Rémi Verschelde 1d9233c388
Merge pull request #32566 from Calinou/document-non-resource-folder-filter
Document the ability to include/exclude non-resource export folders
2019-10-05 17:13:33 +02:00
Rémi Verschelde 7f1672586a
Merge pull request #32565 from noname1477/patch-2
Fixed some typos in iteration error messages
2019-10-05 16:55:54 +02:00
Hugo Locurcio 1739ef5fd7
Document the ability to include/exclude non-resource export folders
This closes #3646.
2019-10-05 16:54:13 +02:00
David Sichma f73e1fae37 Correctly flip texture src region 2019-10-05 16:51:06 +02:00
noname1477 3659e3db9d
Fixed some obvious typos in error messages
In some errors, there were closing quotation marks but no opening (e. g. "Unable to iterate on object of type  " + 
Variant::get_type_name(container->get_type()) + "'."
2019-10-05 15:33:30 +02:00