Commit Graph

47429 Commits

Author SHA1 Message Date
Hugo Locurcio e559dcb8f5
Increase the default project window size for better usability
The new default window size is tuned to:

- Have a 16:9 aspect ratio,
- Have both dimensions divisible by 8 to better play along with
  video recording,
- Be displayable correctly in windowed mode on a 1366×768 display
  (tested on Windows 10 with default settings).

This breaks compatibility with projects that didn't change the
window size from the default value (or that kept one of the values
to its default).
2022-08-18 21:22:18 +02:00
Yuri Sizov 9bb6cc591c
Merge pull request #62298 from Diddykonga/select_current_save
[Editor]: Allow `Select Current` to Save Scenes
2022-08-18 22:11:22 +03:00
Aaron Franke f91934872d
Use a const ref for the bone AABB in rendering code 2022-08-18 12:20:11 -05:00
Hugo Locurcio 465c423abb
Remove unimplemented `OS.dump_memory_to_file()` method
This method never did anything in Godot since 3.0, since its code
was commented out. The last time the method had an implementation
was in Godot 2.1.x.
2022-08-18 18:51:25 +02:00
Andy Maloney c7da28165b [doc] Fix grammar in class docs: less vs. fewer/lower 2022-08-18 12:35:54 -04:00
Max Hilbrunner 462bb3bf32
Merge pull request #64534 from YuriSizov/docs-navigation-takes-a-nap
Fix a typo in navigation server documentation
2022-08-18 16:59:18 +02:00
Max Hilbrunner f2bcec462d
Merge pull request #64551 from asmaloney/doc-grammar-amount-number
[doc] Fix grammar in class docs: amount vs. number
2022-08-18 16:52:57 +02:00
RedMser c25b8f2876 Remove unintentional PROPERTY_USAGE_INTERNAL
The flag only matters for property definition,
but was also used in _validate_property a lot.
2022-08-18 16:25:00 +02:00
RedMser 83f2723893 Fix some property validation not been refactored 2022-08-18 16:24:15 +02:00
kobewi ebecd148fe Add "Copy Name" option to signal menu 2022-08-18 16:09:21 +02:00
kobewi 129d638805 Clear built-in name field when creating new script 2022-08-18 15:58:08 +02:00
kleonc 1324ca5eb0 Fix undefined behavior in `String::operator+=(const String &)` 2022-08-18 14:57:24 +02:00
kobewi fdab23163f Unify node casing adjustment 2022-08-18 14:08:40 +02:00
Yuri Sizov 03dc8c5d6f
Merge pull request #63635 from asmaloney/add-python-type-hints
Add Python PEP 484/526 type hints to doc/tools/doc_status.py
2022-08-18 13:02:53 +03:00
Silc Renew b27fe6452d add init bone poses 2022-08-18 18:41:37 +09:00
bruvzg 16b45ee542
[macOS / iOS Export] Fix generation of duplicate locale property list files. 2022-08-18 09:44:43 +03:00
Clay John 982ff7d925
Merge pull request #64416 from aaronfranke/aabb
Don't try to merge unused bone AABBs in the rendering server
2022-08-17 23:56:05 -06:00
Jonathan Nicholl 1ca4560107 Add classref documentation for AnimationLibrary 2022-08-18 00:11:06 -04:00
Nong Van Tinh b9ab4b372f Fixed inspector resource preview shows up with incorrect size 2022-08-18 09:20:00 +07:00
Andy Maloney 28e66882e5 [doc] Fix grammar in class docs: amount vs. number
Number is used for things that can be counted (discrete items - think "integer" in this context).

Also fixes a couple of awkward phrases.
2022-08-17 19:51:17 -04:00
Silc Renew 2c2e1a7736 added Curve in animation node transition for better control over cros…
Co-authored-by: jeronimo-schreyer <jeronimo.schreyer@gmail.com>
2022-08-18 08:17:30 +09:00
Silc Renew 582c760c96 Add apply node transforms option to rest fixer 2022-08-18 08:15:52 +09:00
Silc Renew b31115cdc1 Add collision weight to PhysicsBody for penetrations must be avoided
Co-authored-by: Juan Linietsky <reduzio@gmail.com>
2022-08-18 08:10:31 +09:00
Yuri Sizov 980f5f32f4 Make `property_*_revert` methods multilevel and expose them for scripting 2022-08-18 00:03:53 +03:00
Hugo Locurcio 7dbacdc2f7
Document that Object metadata starting with `_` is editor-only 2022-08-17 17:28:50 +02:00
Yuri Sizov bedaa2b535 Fix a typo in navigation server documentation 2022-08-17 17:05:46 +03:00
Max Hilbrunner dbd1524362
Merge pull request #64344 from asmaloney/doc-animation-node-virtuals
[doc] Clarify that AnimationNode virtual methods need to be implemented rather than called directly
2022-08-17 15:17:21 +02:00
Max Hilbrunner 736e3b7b71
Merge pull request #64389 from Calinou/doc-scenetree-debug-no-runtime-change
Document run-time SceneTree debug property changes not working correctly
2022-08-17 14:53:53 +02:00
Max Hilbrunner deb3f8eb3b
Merge pull request #64407 from aaronfranke/fix-camera-size-doc
Fix incorrect Camera3D size documentation
2022-08-17 14:51:07 +02:00
Max Hilbrunner c5813de038
Merge pull request #64515 from KoBeWi/PopupPanelContainer
Mention the stretching behavior of PopupPanel
2022-08-17 14:47:02 +02:00
Max Hilbrunner 5347732e5f
Merge pull request #64230 from YuriSizov/makerst-more-robust-tag-parser
Improve the `make_rst.py` parser for BBCode tags
2022-08-17 14:43:58 +02:00
kobewi da0c4221f0 Hide prefix/suffix on SpinBox focus 2022-08-17 13:32:25 +02:00
Marcel Admiraal 61be617571 Fix axis mapped to DPad buttons not releasing opposite button 2022-08-17 09:12:47 +01:00
kobewi a2b088b1c1 Mention the stretching behavior of PopupPanel 2022-08-17 02:29:19 +02:00
Yuri Sizov 7a60cc7737 Improve editor toolbar for Control nodes 2022-08-16 17:36:16 +03:00
Yuri Sizov 2e24b76535
Merge pull request #52212 from thenegativehunter2/master_texture_array_normal_added
Add an import option to force TextureArrays as normal maps for RGTC Compression(redo)
2022-08-16 16:23:35 +03:00
kobewi 7305390fdc Add a method to get TileData from a cell 2022-08-16 15:04:39 +02:00
Hugo Locurcio 54a9cd9d5d
Merge pull request #64483 from danboo/system-font-use-first-match-fix 2022-08-16 14:47:58 +02:00
kobewi 5947f688fb Make JSON methods static 2022-08-16 14:29:38 +02:00
kobewi cc424bcb18 Add Dictionary.find_key() 2022-08-16 13:48:59 +02:00
VolTer 2599710793 Rename NOTIFICATION_INSTANCED to NOTIFICATION_SCENE_INSTANTIATED 2022-08-16 12:41:10 +02:00
danboo 14ddeb8e44 break out of font search loop after first match
The documentation for the font_names property indicates:

   Array of font family names to search, first matching font found is used.
2022-08-15 20:58:48 -08:00
Jamie Pate c2e3971013 Improve performance of screen_get_dpi() in Javascript
Replace a bisect with a single multiplication when calling
screen_get_dpi() in Javascript

Tested the value of
window.matchMedia(`(resolution:${(window.devicePixelRatio*96).toFixed(100)}dpi)`).matches
which is true except for values that cause a lot of rounding errors
(e.g. dpr : 0.3  => resolution: 28.799999999999997dpi)

Even in these cases the value matches the result of the previous
`findDPI()` method.

See also:

6cff589b5b (r81273660)
2022-08-15 21:12:19 -07:00
Yuri Sizov d5d22ab035
Merge pull request #64439 from YuriSizov/docs-line2d-clarity
Clarify the `Line2D`, `Curve2D/3D` documentation and fix parameter names
2022-08-15 23:22:22 +03:00
Fredia Huya-Kouadio 6883e97ff0
Merge pull request #64421 from m4gr3d/investigate_read_write_access_loss_main
Fix issue preventing the Android Editor from displaying the project content
2022-08-15 13:18:06 -07:00
Aaron Franke a165d4dd72
Move ShaderCreateDialog's ShaderType enum out of the header 2022-08-15 15:08:50 -05:00
Aaron Franke 4396f03b70
Rename EditorPropertyShaderMode to EditorPropertyVisualShaderMode 2022-08-15 14:39:53 -05:00
Yuri Rubinsky 13ab70ed2a Add `elif` directive to shader preprocessor 2022-08-15 22:06:49 +03:00
Yuri Sizov fff0e7b8e2 Clarify the Line2D, Curve2D/3D documentation and fix parameter names 2022-08-15 21:38:14 +03:00
bitsawer 40325006b6 Fix Windows list dir handle leak 2022-08-15 20:27:29 +03:00