Commit Graph

33486 Commits

Author SHA1 Message Date
Arsh Panesar 84a6407286 Fixed Populating MultimeshInstance Crash
When populating a MultimeshInstance (node), Godot would set the
new Multimesh's color and custom data format as the current node's
multimesh, which would cause a crash if node's multimesh is null.

Populate Function will now check if node has a multimesh or not, and
set the new multimesh with default (NONE) values if node's multimesh is
null.

Fixes Issue #61553
2022-06-07 09:27:48 +05:30
Rémi Verschelde 5f9bc7ea5a
Merge pull request #59637 from Calinou/doc-poolarray-value-caveats 2022-05-24 00:19:53 +02:00
Rémi Verschelde 573706bd24
Merge pull request #61212 from Calinou/project-manager-filter-order-swap-3.x 2022-05-24 00:18:06 +02:00
Rémi Verschelde 27372da450
Merge pull request #61306 from Calinou/editor-theme-gray-tweak-accent-color-3.x 2022-05-24 00:15:36 +02:00
Rémi Verschelde f13b47d9e2 Remove mistakenly committed file 2022-05-24 00:10:44 +02:00
Rémi Verschelde 10414fa893 i18n: Sync classref translations with Weblate 2022-05-24 00:06:21 +02:00
Rémi Verschelde bf2c722a25 i18n: Sync editor translations with Weblate 2022-05-24 00:06:20 +02:00
kobewi 8f52320310 Only switch to node when not dragging it
(cherry picked from commit 95bbffff48)
2022-05-24 00:06:20 +02:00
Marcel Admiraal b66b153b8c Remove duplicate Android sensor listener registrations
(cherry picked from commit cf0f967e6d)
2022-05-24 00:06:20 +02:00
Rémi Verschelde e0ddaf7137
Merge pull request #61332 from m4gr3d/fix_restart_logic_3x 2022-05-23 22:25:44 +02:00
Fredia Huya-Kouadio b162e7ac39 Fix the logic to restart the Godot application 2022-05-23 13:15:25 -07:00
Rémi Verschelde 88dba8e625 Fix typos with codespell
Using codespell 2.2-dev from current git.
2022-05-23 21:41:46 +02:00
Rémi Verschelde 07ec0cbbbf
Merge pull request #61320 from bruvzg/lbl3d_theme_font_chk_3x 2022-05-23 18:54:37 +02:00
bruvzg eb44e23ca3
[Label3D, 3.x] Monitor default theme font changes, to prevent use of invalid materials. 2022-05-23 18:16:17 +03:00
Rémi Verschelde b2cdc16a1d
Merge pull request #61281 from bruvzg/textmesh_3x
Backport TextMesh and expose dynamic font vector outlines
2022-05-23 16:16:40 +02:00
Rémi Verschelde f2e3d89562
Merge pull request #61309 from timothyqiu/label-3d-line-spacing
[3.x] Use float when calculating `Label3D` line height
2022-05-23 16:10:42 +02:00
Haoyu Qiu ff5e671c81 Use float when calculating Label3D line height 2022-05-23 17:58:51 +08:00
Rémi Verschelde 000b9c66a8
Merge pull request #61307 from bruvzg/material_key_fix
[Label3D, 3.x] Fix material shader key for SDF fonts.
2022-05-23 11:57:36 +02:00
Rémi Verschelde 2e7939256f
Merge pull request #61304 from bruvzg/icon_unref
[Windows, 3.x] Remove cached icon earlier, to prevent double free crash on exit.
2022-05-23 11:33:34 +02:00
bruvzg 1ab459a951
Fix material shader key for SDF fonts. 2022-05-23 12:03:09 +03:00
Hugo Locurcio c88bb64b45
Increase saturation of accent color on the Grey editor theme preset
This makes activated icons easier to distinguish from non-activated icons.
2022-05-23 10:24:01 +02:00
bruvzg d502bd4847
Backport TextMesh and expose dynamic font vector outlines 2022-05-23 10:47:28 +03:00
Rémi Verschelde e7fa3d9bbc
Merge pull request #61276 from bruvzg/lbl3d_3x
Backport Label3D node implementation and Sprite*3D material render priority.
2022-05-23 09:35:18 +02:00
bruvzg c8978f58af [Windows, 3.x] Remove cached icon earlier, to prevent double free crash on exit. 2022-05-23 10:33:42 +03:00
bruvzg dc6d8d6098
Backport Label3D node implementation and Sprite*3D material render priority. 2022-05-23 09:14:41 +03:00
Rémi Verschelde 241c267d9c
Merge pull request #61287 from akien-mga/3.x-cherrypicks 2022-05-22 20:10:47 +02:00
smix8 8df9fd076f Process NavigationAgent2D/3D avoidance on demand only
Changes NavigationAgent avoidance callback to a toggle that is disabled by default.
Also fixes a few missing descriptions / wrong warnings.

(cherry picked from commit 7f3688603c)
2022-05-22 19:43:56 +02:00
kleonc 4855fc67aa EditorPropertyArray Fix crash when drag-reordering elements in the inspector
(cherry picked from commit 33b2970492)
2022-05-22 19:43:56 +02:00
Hugo Locurcio 548c511f57 Tweak the disabled files text color in FileDialog for readability
Contrast rate is still fairly low, but the text needs to be easy enough
to distinguish from non-disabled items.

(cherry picked from commit 8962d2760d)
2022-05-22 19:43:56 +02:00
Haoyu Qiu 4a03bc8f75 Update last min size when Control becomes visible
(cherry picked from commit 4ac999cc3f)
2022-05-22 19:43:56 +02:00
Hugo Locurcio 61278499aa Tweak 64-bit integer overflow message to mention that it's a signed type
(cherry picked from commit 7b5bf3af19)
2022-05-22 19:43:56 +02:00
Daniel Kariv 47ead8504a add check for selection when try to push a meta.
Add a check for when we select a text but end on a link. Before it would act as if we just click an link, but now it changes it so if we click-drag over a link, we could select it (and not move to other page).

(cherry picked from commit e6c909b489)
2022-05-22 19:26:45 +02:00
Haoyu Qiu 8b9f532f78 Fix editor crash when opening scene with CSGMesh
(cherry picked from commit de93286b1d)
2022-05-22 19:26:45 +02:00
smix8 b03f6bc170 Remove arbitrary NavigationMesh bake property limits
Lowers or removes the slider limits and steps from NavigationMesh resources and changes some default values to better work with realistic unit sizes by default.

(cherry picked from commit cda93057f7)
2022-05-22 19:26:45 +02:00
Rémi Verschelde 809f4863fc
Merge pull request #61278 from timothyqiu/menu-sep 2022-05-22 19:25:41 +02:00
Haoyu Qiu 78ec40e9ff Fix incorrect separators in Scene tree menu 2022-05-22 23:19:21 +08:00
Fabio Alessandrelli 7d1e6723d6
Merge pull request #61277 from timothyqiu/push-utf8
[3.x] Fix incorrect encoding used in `_error_handler` functions
2022-05-22 14:53:01 +02:00
bruvzg b5d5515a2b Fix incorrect encoding used in _error_handler functions
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2022-05-22 18:56:41 +08:00
Rémi Verschelde 6ef9075b2f
Merge pull request #61262 from ElCosmoXD/3.x
[3.x] Fix the missing DLL's when exporting for UWP platform
2022-05-22 01:24:54 +02:00
ElCosmoXD 432e752028
Fixed the missing DLL's issue 2022-05-21 17:43:25 -04:00
Rémi Verschelde 30683bbe5c
Merge pull request #61247 from snailrhymer/class-desc-select-fix-3.x
Fix _class_desc_select to handle Variant.Type
2022-05-21 13:47:06 +02:00
SnailRhymer d5cc93c840 Fix _class_desc_select to handle Variant.Type
Change the order of checks in _class_desc_select to first try checking current page and GlobalScope before resorting to slicing either side of the first ".". This may change previous search behaviours - previously if both x.y and @GlobalScope.x.y existed, _class_desc_select would select the former; it will now select the latter.

Also tidies up some comments.
2022-05-21 12:29:48 +01:00
Hugo Locurcio 13284f3a7b
Swap the filter and order fields in the project manager
This matches 4.0 project manager presentation, with filter appearing
on the left and order on the right.
2022-05-21 09:50:06 +02:00
Rémi Verschelde afc9b214ec
Merge pull request #61210 from Calinou/project-manager-fix-small-window-size-3.x 2022-05-20 17:12:52 +02:00
Hugo Locurcio bc91b89203
Fix project manager display at small window sizes
- Don't use minimum size for project order/filter controls.
  This also allows the filter field to become longer at large
  window sizes.
- Hide the loading label instead of changing its opacity.
  This causes a reflow during loading, but this is preferable to having
  the UI overflow.
- Hide the language dropdown on Android as it doesn't work correctly.

This allows the project manager to be displayed correctly at much
lower window sizes than previously.
2022-05-20 16:55:02 +02:00
Aaron Franke 08a397c4b7
Tweaks to improve the Project Manager display at small sizes 2022-05-20 16:51:06 +02:00
Rémi Verschelde 67208ae80b
Merge pull request #60402 from Calinou/httprequest-timeout-float 2022-05-20 15:27:29 +02:00
Rémi Verschelde 2a1a2380e5
Merge pull request #61027 from timothyqiu/quit-prop-3.x
[3.x] Make `auto_accept_quit` and `quit_on_go_back` properties
2022-05-20 08:13:41 +02:00
Rémi Verschelde 7a70b4878b
Merge pull request #61021 from timothyqiu/wait-busy-3.x 2022-05-19 15:41:47 +02:00
smix8 88acb5b798 Make Navigation Agents and Obstacles respect parent process mode
Temporarily removes agent from navigation map when parent node cannot process due to SceneTree pause and process_mode property. Normal process_mode does not work as other agents would still avoid the paused agents because they were still active on the navigation map and the rvo world. Also fixes potential crash when region_get_map or agent_get_map is called while no map is set.

(cherry picked from commit 6b51ab66d8)
2022-05-19 15:34:56 +02:00