Rémi Verschelde
88e2c513e7
Merge pull request #59195 from Snowapril/fix_59175
2022-03-17 10:07:27 +01:00
snowapril
c77b710035
Fix crash on get index for non-existing string
...
As _buttons and _axes have both valid string and nullptr.
When iterating over them, if given key exists it will work correctly.
But if given key does not exist, it will end up with
String::operator=(nullptr). As String constructor from nullptr exists, I
use it.
2022-03-17 17:49:12 +09:00
Rémi Verschelde
72aa848931
Merge pull request #59225 from timothyqiu/navicons-3.x
...
[3.x] Add missing navigation node icons
2022-03-17 08:23:03 +01:00
Haoyu Qiu
bb257543d8
Add missing navigation node icons
...
Co-Authored-by: Michael Alexsander <michaelalexsander@protonmail.com>
2022-03-17 10:55:07 +08:00
Rémi Verschelde
ed87e977e8
Merge pull request #59213 from Calinou/doc-add-xml-schema-3.x
...
Add an XML schema for documentation (3.x)
2022-03-16 23:31:50 +01:00
Hugo Locurcio
b087538119
Add an XML schema for documentation
...
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.
Each class XML's schema conformance is also checked on GitHub Actions.
2022-03-16 23:01:02 +01:00
Rémi Verschelde
9ddeeb8b1a
Merge pull request #59191 from timothyqiu/keynote
2022-03-16 13:09:07 +01:00
Haoyu Qiu
04eb5c486a
Add note about encryption key to export dialog
2022-03-16 19:55:26 +08:00
Rémi Verschelde
add9049ee1
Merge pull request #59190 from timothyqiu/rtl-visible-lines
2022-03-16 11:21:57 +01:00
Haoyu Qiu
72837b8ecd
Fix RichTextLabel underlining does not respect visible character
2022-03-16 17:54:07 +08:00
Haoyu Qiu
c0bd05762e
Revert "Fixed underlines and striketrough not respecting visible character"
...
This reverts commit 8bbcc624fd
.
2022-03-16 17:40:14 +08:00
Haoyu Qiu
fd968157a4
Revert "Fixed 0 width issue of rich text label"
...
This reverts commit a1155b86e4
.
2022-03-16 17:40:09 +08:00
Rémi Verschelde
cd76891dbf
Merge pull request #59187 from timothyqiu/i18n-context
2022-03-16 10:04:04 +01:00
Haoyu Qiu
878cf8262a
Add context support for editor translation
2022-03-16 15:44:30 +08:00
Hugo Locurcio
5f175828f0
Add editor icons for OccluderShapePolygon and OccluderShape
...
The abstract OccluderShape resource now has an icon, like the abstract
Mesh resource.
2022-03-15 23:02:55 +01:00
Rémi Verschelde
6073277cca
Merge pull request #59166 from madmiraal/doc-control-rect_pivot_offset
2022-03-15 16:49:08 +01:00
Marcel Admiraal
d2c0ee700a
Update documentation for Control rect_pivot_offset to include rotation
2022-03-15 10:28:45 +00:00
Rémi Verschelde
6c2bd12031
Revert "Fix detected leaks/heap-use-after-free by AddressSanitizer at startup"
...
This reverts commit 3f94ea6271
.
It broke `detect_prime`'s main purpose which is to detect GPUs and use
the best one available.
2022-03-15 09:34:57 +01:00
Rémi Verschelde
a6762a30b5
Merge pull request #59138 from timothyqiu/sprite-frames-editor-3.x
2022-03-15 09:11:04 +01:00
Rémi Verschelde
6150773231
Merge pull request #57849 from timothyqiu/2d-grid-options-3.x
2022-03-15 08:58:09 +01:00
Haoyu Qiu
9031d264e4
Improves SpriteFrames editor
2022-03-15 09:12:46 +08:00
Haoyu Qiu
95c672e1b4
Separate 2D grid visibility and grid snap
2022-03-15 08:52:21 +08:00
Rémi Verschelde
7a4f9dfb15
Merge pull request #59145 from Sauermann/fix-3x-internal-gui-state
2022-03-14 23:18:26 +01:00
Rémi Verschelde
ee818e1631
Merge pull request #54026 from ConteZero/primary_clipboard_linux_3.x
2022-03-14 18:52:20 +01:00
Markus Sauermann
62fa80afd7
Cleanup internal GUI state, if event is accepted in _input.
2022-03-14 18:36:31 +01:00
ConteZero
2ff0735329
Added primary clipboard for Linux
2022-03-14 15:28:36 +01:00
Rémi Verschelde
fdaf0de3f0
Merge pull request #59100 from RandomShaper/mouse_drop_on_disable_3.x
2022-03-14 11:25:12 +01:00
Pedro J. Estébanez
3d7821bf1f
Drop mouse focus and over when gui input is globally disabled
...
Since some porjects may be relying on the former behavior, this is opt-in via a new project setting, disabled by default, but enabled for new projects, since it's the new standard behavior (and the only one in 4.0).
2022-03-14 11:06:26 +01:00
FireForge
c2c0c8067d
Add missing property name capitalizations
...
(cherry picked from commit 543218fc7c
)
2022-03-14 10:38:05 +01:00
Rémi Verschelde
50ae62135f
Merge pull request #54353 from ConteZero/unique_selection_3.x
2022-03-14 10:11:53 +01:00
ConteZero
0ffacff998
[3.x] Add option to make selection unique
2022-03-14 09:48:09 +01:00
Rémi Verschelde
08c3e00b95
Merge pull request #55355 from ConteZero/drag_and_drop_3.x
2022-03-14 08:43:22 +01:00
ConteZero
4167e98088
Add drag and drop to TextEdit, LineEdit, RichTextLabel
2022-03-14 08:15:25 +01:00
Rémi Verschelde
29d28dcee2
Merge pull request #59122 from Calinou/3d-editor-improve-indicator-bars-3.x
...
Improve display of freelook/zoom speed indicator bars in the 3D editor (3.x)
2022-03-14 07:24:43 +01:00
Hugo Locurcio
5f9c13b980
Improve display of freelook/zoom speed indicator bars in the 3D editor
...
- Use a different color for freelook and zoom speed bars.
- Use a shadow for the text to make it readable on any background.
2022-03-13 22:59:21 +01:00
Rémi Verschelde
3f08b72361
Merge pull request #56036 from Rubonnek/fix-startup-leaks-and-use-after-free
2022-03-13 18:09:55 +01:00
Rémi Verschelde
77d594409e
Merge pull request #59111 from timothyqiu/is-null-3.x
2022-03-13 16:39:02 +01:00
Haoyu Qiu
871a73341b
Fix crash when is-operator right-hand-side is null
2022-03-13 23:17:25 +08:00
Hugo Locurcio
caf2c20655
Don't store and show current file/directory/path FileDialog properties
...
These properties are only useful at run-time, so they don't need
to be displayed in the editor and stored.
(cherry picked from commit 2ad6e11b78
)
2022-03-13 15:46:01 +01:00
Ryan Roden-Corrent
846416afe8
Copy full project setting path from dialog.
...
The EditorProperty UI elements for project settings are created from
SectionedInspector, which has a prefix added to each property path. Each
EditorProperty needs to be made aware of this path so copy_property_path
copies the full path, and not just the suffix.
Fixes #59020 .
(cherry picked from commit d271e2517e
)
2022-03-13 15:43:23 +01:00
Rémi Verschelde
fa08c0c858
Merge pull request #59054 from timothyqiu/rtl-shadow-color-3.x
2022-03-13 15:28:55 +01:00
Rémi Verschelde
7f99b6d422
Merge pull request #59094 from timothyqiu/tilemap-grid-half-offset
...
[3.x] Fix missing grid lines when TileMap has half offset
2022-03-13 13:15:57 +01:00
Haoyu Qiu
f280712215
Fix missing grid lines when TileMap has half offset
2022-03-13 17:20:43 +08:00
Rémi Verschelde
3eee2f45a3
Merge pull request #57674 from RandomShaper/fix_ubershader_android
...
Improve ubershader compatibility
2022-03-13 00:53:48 +01:00
Rémi Verschelde
7c49b8e70f
Merge pull request #59009 from timothyqiu/tile-map-grid-3.x
...
[3.x] Improve TileMap editor grid
2022-03-12 22:06:54 +01:00
Rémi Verschelde
8c1bb5d5a9
Merge pull request #59067 from akien-mga/3.x-cherrypicks
...
Cherry-picks for the 3.x branch (future 3.5) - 15th batch
2022-03-12 22:01:23 +01:00
Haoyu Qiu
36ec71bcef
Hide smart snapping line when guideline dragging ends
...
(cherry picked from commit b255efba7c
)
2022-03-12 15:10:28 +01:00
MythTitans
c96336449e
Prevent non-smoothed face normals to participate to smoothed face normals
...
(cherry picked from commit ec2984f7c7
)
2022-03-12 15:10:28 +01:00
Hugo Locurcio
c731cda3d8
Clarify the position of points in Curve{2D,3D}.add_point()
...
(cherry picked from commit 35c8d332b5
)
2022-03-12 15:10:28 +01:00
Haoyu Qiu
743f2d232a
Use RTR()
for VisualScriptNode captions and texts
...
(cherry picked from commit 77f80aa4ee
)
2022-03-12 15:10:28 +01:00