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
Markus Sauermann
93447eb1ae
Use get_cursor_shape for identifying the cursor shape in AnimationNodeStateMachineEditor
...
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.
Fix minor issue with selection order.
(cherry picked from commit 0d96dbcb2a
)
2022-03-12 15:10:14 +01:00
Markus Sauermann
e2bd1ad6da
Use get_cursor_shape for identifying the cursor shape in AnimationTrackEditTypeAudio
...
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.
(cherry picked from commit 24942214d9
)
2022-03-12 15:10:13 +01:00
Markus Sauermann
d92406751b
Use get_cursor_shape for identifying the cursor shape in AnimationTimelineEdit
...
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.
(cherry picked from commit 4a8a6f892f
)
2022-03-12 15:09:57 +01:00
Haoyu Qiu
15aab4cde0
Remove unused code in `AnimationPlayerEditor::_update_animation_list_icons()`
...
(cherry picked from commit 6a1e3380f8
)
2022-03-12 14:45:35 +01:00
MythTitans
a17c6e5325
Fix normals computation at the 'seam' of smoothed torus shape
...
(cherry picked from commit 8bcbaff411
)
2022-03-12 14:45:21 +01:00
Aaron Franke
3040285b27
Add offset string from minutes conversion method to Time singleton
...
(cherry picked from commit 55aabb8b06
)
2022-03-12 14:44:23 +01:00
Rémi Verschelde
f6895fbb46
Merge pull request #59034 from lawnjelly/docs_background_keep
2022-03-12 14:28:00 +01:00
Rémi Verschelde
758ffa9b3e
Merge pull request #59063 from RandomShaper/clear_owners_nth_fix_3.x
2022-03-12 13:56:37 +01:00
Pedro J. Estébanez
0b650b3e41
Clear owners when pruning even out of the tree
2022-03-12 12:48:15 +01:00
Haoyu Qiu
7d219b6793
Fix RichTextLabel shadow color when text has transparency
2022-03-12 11:02:27 +08:00
Rémi Verschelde
eb36566c34
Merge pull request #58812 from Calinou/os-add-get-screen-refresh-rate-3.x
...
Add `get_screen_refresh_rate()` to OS
2022-03-11 17:31:20 +01:00
Rémi Verschelde
7a3a3868a5
Merge pull request #58959 from Ansraer/3.x-alpha-scissor
...
[3.x] Fix alpha scissor support
2022-03-11 17:29:55 +01:00
lawnjelly
bc924d4b41
Correct docs for Environment background keep mode
...
The docs incorrectly stated that KEEP was the fastest mode. This is not the case with modern hardware.
2022-03-11 15:44:40 +00:00
Ansraer
2fb998bfbc
Fix alpha scissor support
2022-03-11 16:18:19 +01:00
Rémi Verschelde
432b1f8d2b
Merge pull request #59004 from Sauermann/fix-3x-heightmap-size-doc
...
Fix documentation about depth and width of Height map
2022-03-11 07:58:23 +01:00
Haoyu Qiu
86ec09faf5
Improve TileMap editor grid
2022-03-11 10:41:30 +08:00
Markus Sauermann
2cafaf3adb
Fix documentation about depth and width of Height map
2022-03-11 01:03:07 +01:00
Hugo Locurcio
cec7c908ca
Add `get_screen_refresh_rate()` to OS
...
This method can be used to get the refresh rate of a given screen.
It is supported on Windows, macOS, Linux, Android and iOS (but not
HTML5).
2022-03-10 22:10:48 +01:00
Rémi Verschelde
8975470bc2
Merge pull request #58336 from maiself/fix-directory-delete-linux-3.x
2022-03-10 21:29:55 +01:00
Rémi Verschelde
1cf444aff0
Merge pull request #58686 from vnen/gdscript-warn-export-type-mismatch
2022-03-10 21:12:05 +01:00
Rémi Verschelde
1639b3a6a9
Merge pull request #58674 from Calinou/smooth-trimesh-collision-always-setting-3.x
2022-03-10 21:11:44 +01:00
Rémi Verschelde
ae036e823b
Merge pull request #58694 from Calinou/editor-frame-time-color-3.x
2022-03-10 21:11:17 +01:00
Rémi Verschelde
153a068958
Merge pull request #58634 from timothyqiu/property-i18n-3.x
2022-03-10 21:08:38 +01:00
Rémi Verschelde
b0376ff494
Merge pull request #58851 from timothyqiu/tileset-zoom
2022-03-10 21:06:02 +01:00
Rémi Verschelde
65034f4cc5
Merge pull request #58987 from akien-mga/3.x-cherrypicks
2022-03-10 20:08:00 +01:00
PouleyKetchoupp
622ef48dae
Fixed ccd enabled by default on Bullet bodies
...
It was due to main_shape_changed being called two times for each
added body. The first time it disables ccd, which sets the internal ccd
threshold to be 10000. The second time, it enables ccd again because
the internal threshold is > 0.
Bodies are now consistently set with a ccd threshold of 0 when ccd is
disabled.
This was causing crashing asserts in Bullet when adding bodies in some
scenarios, in btVector3::normalize():
btAssert(!fuzzyZero());
These crashes will still happen with ccd enabled.
(cherry picked from commit faca8b77aa
)
2022-03-10 19:02:01 +01:00
Ryan Roden-Corrent
5d7b3e10ee
Create parent directories on export.
...
Fixes #42231 .
This works for both the UI and the --export CLI flag.
(cherry picked from commit 66a278f585
)
2022-03-10 19:02:01 +01:00