Commit Graph

33154 Commits

Author SHA1 Message Date
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
Haoyu Qiu 3b04f59354 Fix some Animation panel icons not updating after theme change
(cherry picked from commit 83828c7d1b)
2022-03-10 19:02:01 +01:00
Haoyu Qiu c2297215e3 Fix TextureRegion editor grid color for light themes
(cherry picked from commit af16e099ea)
2022-03-10 19:01:53 +01:00
Haoyu Qiu 2c3646b37b Add missing i18n to various strings
(cherry picked from commit 25d93200c8)
2022-03-10 19:01:52 +01:00
Haoyu Qiu 5514126234 Don't show Lock & Group buttons for nodes hidden by CanvasLayer
(cherry picked from commit fb999ebe22)
2022-03-10 17:18:41 +01:00
Haoyu Qiu 2ccd4fd030 Fix animation resource name after duplication
(cherry picked from commit 8dc12135cd)
2022-03-10 17:18:41 +01:00
Haoyu Qiu a26afe807f Update audio effect icon when theme changes
(cherry picked from commit 20ed798e59)
2022-03-10 17:18:41 +01:00
miremrie 8a6b066ab7 Allow absolute file paths in file dialogs
(cherry picked from commit a5e30c0228)
2022-03-10 17:18:41 +01:00
bruvzg fa56990170 [macOS and iOS export] Add localized application name to the translation .plist files.
(cherry picked from commit 5fdea69276)
2022-03-10 17:18:40 +01:00
Haoyu Qiu db9d426798 Remove extra separator when TextEdit is read only and unselectable
(cherry picked from commit 933211cb0c)
2022-03-10 16:19:30 +01:00
Rémi Verschelde 5ceaee521d
Merge pull request #58938 from hoontee/3.x 2022-03-10 15:57:39 +01:00
Rémi Verschelde 6e19f10dd7
Merge pull request #58980 from timothyqiu/tilemap-overlay 2022-03-10 14:04:57 +01:00
Haoyu Qiu 86bcac5a5e Fix text color of TileMap editor info overlay 2022-03-10 19:12:40 +08:00
hoontee a4088a995c
Properly handle `CSGShape` parent and visibility updates 2022-03-09 17:32:35 -06:00
Rémi Verschelde fd082ec39a
Merge pull request #58928 from timothyqiu/doc-bool-output 2022-03-09 15:34:28 +01:00
Haoyu Qiu 94a5f9edb0 Fix capitalization of boolean output in classref 2022-03-09 21:56:55 +08:00
Rémi Verschelde 6c56433997 i18n: Sync classref translations with Weblate 2022-03-09 10:42:47 +01:00
Rémi Verschelde 751769ed45 i18n: Sync editor translations with Weblate 2022-03-09 10:33:03 +01:00