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
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
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
Rémi Verschelde
7c48155bbb
Merge pull request #39423 from Phischermen/fix-new-text-file-crash
...
Fix crash when creating new text file with no name
2020-06-10 10:43:23 +02:00
Rémi Verschelde
abae0757ac
Merge pull request #39424 from YeldhamDev/scene_root_select
...
Fix scene tree showing up when the root selection is present
2020-06-10 10:38:22 +02:00
Hugo Locurcio
6d0e8f9fb7
Document the requirement to update the class reference when contributing
...
Documenting new additions has been an informal requirement for
a few months now. This makes it official.
2020-06-10 10:36:59 +02:00
Rémi Verschelde
60db9f906c
Merge pull request #39429 from Calinou/doc-dictionary-hash-order
...
Mention ordering caveats for `Dictionary.hash()`
2020-06-10 10:36:43 +02:00
Hugo Locurcio
77b89263dd
Mention ordering caveats for Dictionary.hash()
...
See https://github.com/godotengine/godot/issues/27615 .
2020-06-10 09:33:43 +02:00
Michael Alexsander
f30e4dbf54
Fix scene tree showing up when the root selection is present
2020-06-09 19:06:15 -03:00
Rémi Verschelde
cd25d184a5
doc: Make File store/get integer methods clearer
...
Add an example on how to store signed integers on less than 64 bits,
using one bit for the signedness.
2020-06-09 23:26:10 +02:00
Phischermen
cdb29447b4
Fix crash when creating new text file with no name
2020-06-09 12:59:59 -07:00
Maganty Rushyendra
a2392039af
Fix signal duplication bug when duplicating node with instanced children
...
Change error checking in `duplicate_signals()` to check for path to
`p_original`, thus adhering to the method used in `duplicate`, instead
of checking for ownership.
2020-06-09 21:24:05 +08:00
Rémi Verschelde
ae21b5ddad
Merge pull request #39372 from aaronfranke/editor-cam-rot
...
Change the default editor camera rotation to position it in +X +Y +Z
2020-06-09 14:11:30 +02:00
Rémi Verschelde
3494270594
Merge pull request #39391 from YeldhamDev/filediag_file_icon
...
Add generic file icon and its modulation to the 'FileDialog'
2020-06-09 14:11:01 +02:00
Rémi Verschelde
28bd834298
Merge pull request #39394 from akien-mga/objectdb-cleanup-hints
...
Core: Add hints to run with --verbose when leaking nodes/resources at exit
2020-06-09 14:10:05 +02:00