Commit Graph

32838 Commits

Author SHA1 Message Date
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
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
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
Rémi Verschelde a73bd2dec4 Revert "[HTML5] Fetch API now passes credentials."
(cherry picked from commit 63df46c238)
2022-03-09 09:53:26 +01:00
Rémi Verschelde 690020d385 Revert "Fix ProjectSettings has_setting() when used on a overriden setting with feature tags"
(cherry picked from commit 78bf9926f8)
2022-03-09 09:53:26 +01:00
MythTitans d13e1278ac Fix normals computation at the 'seam' of smoothed sphere and cylinder shapes
(cherry picked from commit 509e03c821)
2022-03-09 09:53:26 +01:00
Rémi Verschelde e489f889c2
Merge pull request #58918 from timothyqiu/tilemap-select-icon 2022-03-09 08:29:34 +01:00
Rémi Verschelde 64df4c83b2
Merge pull request #58917 from timothyqiu/add-child 2022-03-09 08:29:25 +01:00
Rémi Verschelde 7438a612d0
Merge pull request #58916 from Rubonnek/expose_text_edit_visible_rows
[3.x] Expose `TextEdit` `get_visible_rows()` and `get_total_visible_rows()` to GDScript
2022-03-09 07:47:41 +01:00
Haoyu Qiu 84a27308c1 Use ToolSelect icon for TileMap editor select button 2022-03-09 14:33:09 +08:00
Haoyu Qiu bee9a6cc0d Fix add child error when opening the Editor 2022-03-09 14:27:24 +08:00
Wilson E. Alvarez c37be0f31b
Expose TextEdit get_visible_rows() and get_total_visible_rows() to GDScript 2022-03-08 22:32:22 -05:00
Rémi Verschelde 85b4848ca8
Merge pull request #54188 from Rubonnek/increase_var_arg_max_3x 2022-03-08 13:10:48 +01:00