Commit graph

28836 commits

Author SHA1 Message Date
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
Rémi Verschelde
cb3ca99b13
Merge pull request #39430 from Calinou/doc-3d-light-radius
Improve the 3D light documentations
2020-06-10 16:41:18 +02:00
Rémi Verschelde
1aeb88205d
Merge pull request #37248 from Xrayez/env-dump
SCons: Dump construction environment to a file
2020-06-10 15:20:59 +02:00
bruvzg
f5c856ea40
macOS export, add notarization support and id / signing / notarization config check. 2020-06-10 15:58:30 +03:00
Andrii Doroshenko (Xrayez)
42bee75e86 SCons: Dump construction environment to a file
A new `methods.dump(env)` is added to dump the construction environment
used by SCons to build Godot to a `.scons_env.json`. The file can be used
for debugging purposes and any external tool.
2020-06-10 15:05:43 +03:00
Rémi Verschelde
1760c13db9
Merge pull request #39431 from Calinou/contributing-documentation
Document the requirement to update the class reference when contributing
2020-06-10 13:34:46 +02:00
Hugo Locurcio
f7e21d8e88 Improve the 3D light documentations
See https://github.com/godotengine/godot-docs/issues/3670.
2020-06-10 11:19:11 +02:00
Rémi Verschelde
8b79f2aad4
Merge pull request #39350 from giulianob/improve-tree-redraw
Tree: Calling update in _gui_input less frequently
2020-06-10 10:49:54 +02:00
Rémi Verschelde
f25f0c54d6
Merge pull request #39390 from mrushyendra/duplicate_signals_master
Fix signal duplication bug when duplicating node with instanced children
2020-06-10 10:47:17 +02:00
Rémi Verschelde
47f1faf512
Merge pull request #39409 from akien-mga/astar-get_closest_point-deterministic
AStar: Make get_closest_point() deterministic for equidistant points
2020-06-10 10:46:35 +02:00
Rémi Verschelde
a7d0ed9725
Merge pull request #39413 from akien-mga/doc-file-store-signed-ints
doc: Make File store/get integer methods clearer
2020-06-10 10:45:04 +02:00