Commit Graph

28847 Commits

Author SHA1 Message Date
skyace65 a09aeefa1d Fix label percent visible doc description 2020-06-14 16:34:43 -04:00
Fabio Alessandrelli 5c75cb0133 Immediately run first iteration after JS FS sync.
Which is now run inside an animation frame.
This avoid a 1 frame black screen when setting up the canvas.
2020-06-14 16:04:45 +02:00
Hugo Locurcio f818a99d0b
Document how to resize a SubViewportContainer to avoid stretching
This closes #27534.
2020-06-14 15:26:51 +02:00
Hugo Locurcio 26161de739
Remove the obsolete "2D Pixel" import preset
Texture filtering is now defined on a per-node basis, thanks to
bindless textures provided by Vulkan.

This closes #37057.
2020-06-14 15:08:09 +02:00
Rémi Verschelde 79947dfef1
Merge pull request #39529 from ricardoprins/pr/39419
Add description to TileSet.is_tile_bound() method
2020-06-14 10:36:37 +02:00
Rémi Verschelde 98f47eaa62
Merge pull request #39524 from KoBeWi/follow_me_bro
Re-enable scroll follow on RichTextLabel clear
2020-06-14 10:13:21 +02:00
Rémi Verschelde 10b678a806
Merge pull request #39523 from 31/doc-renderpriority-depth
Fix Material.render_priority doc: claims opaque objects are sorted
2020-06-14 10:12:36 +02:00
Ricardo Prins 00398abf77 Add description to TileSet.is_tile_bound() method 2020-06-13 21:47:25 -06:00
Tomasz Chabora 46fd51056a Re-enable scroll follow on RichTextLabel clear 2020-06-14 01:23:32 +02:00
Lisandro Lorea 5123006f06 Fix TabContainer emitting spurious tab_selected signals when a theme is changed
- The repaint code was moved outside of set_current_tab() and to a "_repaint()" private function
- _on_theme_changed() will now only call _repaint() and update()
This means _on_theme_changed() will do only what it needs (repainting the TabContainer to account for the new theme)

fixes #39498
2020-06-13 20:06:19 -03:00
31 608bc8f3dc Fix Material.render_priority doc: no opaque sort
Opaque objects are rendered using the depth buffer, so the end result
appears sorted, but the opaque objects themselves are not sorted.
2020-06-13 17:35:09 -05:00
31 09b324b5b6 Fix Image.create_from_data use_mipmaps doc
The Image.create_from_data doc describes the "use_mipmaps" argument as a
way to generate mipmaps, but this method only allocates and loads data.
This can cause confusion, where this function reads more or less data
than expected. Update the doc to be more specific that create_from_data
is loading the mipmaps from the raw data.
2020-06-13 17:18:02 -05:00
Rémi Verschelde 58034f3982
Merge pull request #39505 from madmiraal/fix-39500
Ensure pair callback data is set to null when it's null.
2020-06-13 16:33:35 +02:00
Marcel Admiraal 62142c5416 Ensure pair callback data is set to null when it's null. 2020-06-13 14:43:25 +01:00
hilfazer 512aaf018c Fixed "Favourite Project" button in Project Manager 2020-06-13 12:43:54 +02:00
bruvzg 92352b1c23
Add keyboard layout enumeration / set / get functions (macOS, Windows, Linux/X11), remove latin variant function. 2020-06-13 11:02:00 +03:00
Hugo Locurcio b2ba78ff0f
Clarify Node virtual methdods not being called if node is orphan
This closes #39489.
2020-06-12 23:43:34 +02:00
Umang Kalra 88b30a29bf Fixes the stopping of animation effects in bbcode after appending 2020-06-13 00:20:52 +05:30
Andrea Catania 2331300989 - Added more euler rotation orders support.
- Fixed floating point issue on the old one.
- Fixed the equation on the get_euler_yxz function.
- Added unit tests.

This work has been kindly sponsored by IMVU.
2020-06-12 20:03:27 +02:00
Hugo Locurcio 7f01f68226
Document the `in` operator in String, Array and Dictionary classes
This also clarifies the `in` operator behavior in Object.
2020-06-12 19:22:35 +02:00
Rémi Verschelde b3bc5aafc5 Object: Add usage hint to instantiate Object properties in editor
Fixes #36372 as Path2D/Path3D's `curve` property no longer uses a Curve
instance as default value, but instead it gets a (unique) default Curve
instance when created through the editor (CreateDialog).

ClassDB gets a sanity check to ensure that we don't do the same mistake
for other properties in the future, but instead use the dedicated
property usage hint.

Fixes #36372.
Fixes #36650.

Supersedes #36644 and #36656.

Co-authored-by: Thakee Nathees <thakeenathees@gmail.com>
Co-authored-by: simpuid <utkarsh.email@yahoo.com>
2020-06-12 14:30:18 +02:00
Rémi Verschelde 84abf5a979
Merge pull request #39478 from mrushyendra/find_whole_word
Fix whole word search slowdown in editor
2020-06-12 12:58:31 +02:00
Maganty Rushyendra 2433287871 Fix whole word search slowdown in editor
Reduce repeated iteration through the full text
when counting the number of occurrences of whole
words while searching a file in the editor.
2020-06-12 17:43:50 +08:00
Rémi Verschelde 42bc9ba92f
Merge pull request #39468 from KoBeWi/cpp_type_the_sequel
Fix custom types in node list search
2020-06-12 10:46:21 +02:00
Rémi Verschelde ed4718285d
Merge pull request #39470 from aaronfranke/valid-image
Simplify some code in platform/uwp/export
2020-06-12 10:45:29 +02:00
Aaron Franke 068054002d
Simplify some code in platform/uwp/export 2020-06-11 17:19:45 -04:00
Rémi Verschelde 46e0e13252
Merge pull request #39450 from aaronfranke/gltf-light
Add GLTF light import
2020-06-11 22:40:22 +02:00
Tomasz Chabora 22f0de8a83 Fix custom types in node list search 2020-06-11 22:06:32 +02:00
bruvzg c3e615e21b
GDNative: merge API structs, bump version of merged structs. 2020-06-11 18:26:47 +03:00
Aaron Franke ff93bc6370
Add GLTF light import
Co-authored-by: K.S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2020-06-11 10:56:56 -04:00
Rémi Verschelde cbcc0eacd5 String: Use ABS macro in padding code
Follow-up to #39261.
2020-06-11 11:39:21 +02:00
Rémi Verschelde bcac39551d i18n: Sync translations with Weblate
(cherry picked from commit d68e631566)
2020-06-11 10:01:23 +02:00
Rémi Verschelde fef49bff0b doc: Sync classref with current source 2020-06-11 09:52:25 +02:00
Rémi Verschelde c4dd866a15
Merge pull request #38958 from lawnjelly/time_overflow_4
Fix overflow condition with QueryPerformanceCounter
2020-06-11 09:38:44 +02:00
Rémi Verschelde 7217a7edbd
Merge pull request #39230 from ntfshard/expression_string_singlequote
Fix for Expression class: string inside an expression can't be single quoted
2020-06-11 09:37:35 +02:00
Rémi Verschelde 786fc63faa
Merge pull request #39261 from mrushyendra/string_padding
Enable zero padding with float specifier for format strings
2020-06-11 09:37:16 +02:00
Rémi Verschelde fcf14da8d0
Merge pull request #39337 from Cevantime/add-text-deletion-methods-to-line-edit
Make text deletion methods public for LineEdit
2020-06-11 09:33:27 +02:00
Rémi Verschelde 2dae762e53
Merge pull request #39355 from SaviHex/better-docs-links
Added a "title" attribute for the link tag in the docs xml
2020-06-11 09:32:40 +02:00
Rémi Verschelde b38d3a731d
Merge pull request #39453 from vtoriafisher/master
Adds full description for AudioEffectRecord.xml.
2020-06-11 09:31:45 +02:00
Rémi Verschelde 1f3fa6e956
Merge pull request #39454 from mrushyendra/regex_unicode
Enable Unicode support for RegEx class
2020-06-11 09:30:56 +02:00
Rémi Verschelde 4af5dfb12f
Merge pull request #39434 from mrushyendra/export_update_files_master
Account for file deletion and renaming in Export Presets
2020-06-11 09:30:16 +02:00
Maganty Rushyendra 9f10f6779c Enable Unicode support for RegEx class
Build PCRE2 thirdparty library with unicode support. RegEx objects
in Godot can now be used to recognize unicode strings.
2020-06-11 14:49:02 +08:00
Victoria Fisher 718221a2ff
Adds full description for AudioEffectRecord.xml 2020-06-11 02:32:51 -04:00
Yuri Roubinsky c2b43403b4
Merge pull request #39438 from Chaosus/fix_custom_property_editor
Fix custom property editor layout
2020-06-11 08:30:04 +03:00
SaviHex 18c08f65d6 Added a "title" attribute for the link tag in the docs xml 2020-06-10 23:25:29 -03:00
Maganty Rushyendra 44094b082d Account for file deletion and renaming in Export Presets
Ensure that presets are updated with the latest files when
starting up or opening the Project Export dialog. Fixes the
error where Godot would attempt to export deleted files that
were previously selected.
2020-06-11 08:25:24 +08:00
Thibault Truffert 2bb44ea5bd Make text deletion methods public for LineEdit 2020-06-10 22:16:48 +02:00
Rémi Verschelde ffbea8aad1
Merge pull request #38508 from RandomShaper/fix_cleanup_info
Fix potential crash when listing leaked objects
2020-06-10 21:49:08 +02:00
Pedro J. Estébanez 4e4b1d7568 Fix potential crash when listing leaked objects
Note:
Casting to the C++ classes and calling the methods there would work as well,
but would require including he header files for the specific object types handled
here, which wouldn't be OK either.
2020-06-10 20:44:11 +02:00
Yuri Roubinsky f6ed465613 Fix custom property editor layout 2020-06-10 18:03:32 +03:00