Commit graph

45951 commits

Author SHA1 Message Date
Clay John
6923076850
Merge pull request #64302 from neikeq/unreference-callback-regr-from-44691448
Fix instance binding unreference callback regression
2022-08-18 14:53:31 -06:00
Clay John
903a3a641e
Merge pull request #64315 from Daylily-Zeleen/fixed-GraphEdit-signal-argument-type
Fixed GraphEdit signal argument type
2022-08-18 14:50:33 -06:00
Clay John
547e64d226
Merge pull request #63999 from QbieShay/qbie/vs-qol
Quality of life visual shaders updates
2022-08-18 14:47:23 -06:00
Clay John
de083c8f63
Merge pull request #64345 from Mickeon/docs-better-draw
Improve documentation of `CanvasItem`'s draw logic
2022-08-18 14:44:28 -06:00
Yuri Sizov
72e25f794c
Merge pull request #55032 from Calinou/tweak-default-window-size
Increase the default project window size for better usability
2022-08-18 23:43:01 +03:00
Clay John
1811a4d784
Merge pull request #64356 from Calinou/editor-hide-dummy-text-driver
Hide Dummy text driver in the Project Settings as it makes editor unusable
2022-08-18 14:38:38 -06:00
Clay John
0a313b4b83
Merge pull request #64449 from Calinou/label3d-hide-ineffective-properties
Hide properties that have no effect in Label3D inspector
2022-08-18 14:31:19 -06:00
Hugo Locurcio
ce8b402f3a
Don't use rounded corners for PopupMenus in the editor theme
PopupMenus use separate windows by default in the editor, and windows
no longer support per-pixel transparency for now in 4.0.
Even if per-pixel transparency was reimplemented, we can't assume
that it'll always work in practice (e.g. when compositing is disabled).
2022-08-18 22:17:55 +02:00
Clay John
d60db2dba8
Merge pull request #64468 from aaronfranke/editor-prop-visual-shader-mode
Rename `EditorPropertyShaderMode` to `EditorPropertyVisualShaderMode`
2022-08-18 14:14:12 -06:00
Clay John
ca7437042e
Merge pull request #64470 from aaronfranke/shader-cd-st-enum
Move `ShaderCreateDialog`'s `ShaderType` enum out of the header
2022-08-18 14:11:45 -06:00
Clay John
54eaf662b4
Merge pull request #64581 from aaronfranke/aabb
Use a const ref for the bone AABB in rendering code
2022-08-18 14:04:46 -06:00
Yuri Sizov
e392746da5
Merge pull request #64357 from Mickeon/rename-plugin-container
Rename EditorPlugin.`*_PROPERTY_EDITOR_*` to `*_INSPECTOR_*`
2022-08-18 23:01:16 +03:00
kobewi
ccb1720cb3 Make Debugger/Misc LineEdits uneditable 2022-08-18 21:34:12 +02:00
Yuri Sizov
d6090174b3
Merge pull request #58059 from Calinou/tweak-default-project-icon-2
Tweak the default project icon
2022-08-18 22:31:39 +03:00
bruvzg
8c56a7416b
Implement MenuBar control to wrap PopupMenus or native menu, use native menu for editor. 2022-08-18 22:25:44 +03:00
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
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
kleonc
1324ca5eb0 Fix undefined behavior in String::operator+=(const String &) 2022-08-18 14:57:24 +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
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
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
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
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