Commit Graph

45830 Commits

Author SHA1 Message Date
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
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 `PopupMenu`s 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
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
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
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
Hugo Locurcio 54a9cd9d5d
Merge pull request #64483 from danboo/system-font-use-first-match-fix 2022-08-16 14:47:58 +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
Hugo Locurcio 0f95db6786
Hide properties that have no effect in Label3D inspector
- Use the disabled GI mode as Label3D can't contribute to GI in any way.
- Improve Label3D class documentation.
2022-08-15 18:41:32 +02:00
Clay John 4dbb6ecc21
Merge pull request #64128 from and3rson/convert3to4-fixes-3
Add conversion for instance(), set_shader_param() and node path literals
2022-08-15 09:49:29 -06:00
Yuri Sizov d953d9590b Improve the `make_rst.py` parser for BBCode tags 2022-08-15 17:45:10 +03:00
Andy Maloney f52128e005 [doc] Clarify that AnimationNode virtual methods need to be implemented rather than called directly
Fixes #62379
2022-08-15 09:47:04 -04:00
Yuri Sizov 4426049c64
Merge pull request #64314 from YuriSizov/control-theme-item-cache
Add dumb theme item cache to `Control`
2022-08-15 16:35:59 +03:00
Yuri Sizov 147fa69b2d
Merge pull request #64333 from asmaloney/doc-params-8
[doc] Use "param" instead of "code" to refer to parameters (8)
2022-08-15 16:32:44 +03:00
Yuri Sizov 373439bc4b
Merge pull request #64331 from asmaloney/doc-params-7
[doc] Use "param" instead of "code" to refer to parameters (7)
2022-08-15 16:24:35 +03:00
Yuri Sizov dc661cc9ef
Merge pull request #64328 from asmaloney/doc-params-6
[doc] Use "param" instead of "code" to refer to parameters (6)
2022-08-15 16:17:52 +03:00
Yuri Sizov deec057ff8
Merge pull request #64319 from asmaloney/doc-params-5
[doc] Use "param" instead of "code" to refer to parameters (5)
2022-08-15 16:17:25 +03:00