Commit Graph

34685 Commits

Author SHA1 Message Date
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
smix8 44915696d2 Add wrong surface warnings to NavigationMesh.create_from_mesh()
Adds warnings when at least one of the input mesh surfaces is of wrong primitive type or has an empty vertex / index array as those broken input meshes would fail as both navmesh as well as later when creating debug meshes.

(cherry picked from commit 4185fce0ef)
2022-05-19 15:25:43 +02:00
Rémi Verschelde 52da1bcdca rvo2: Sync with upstream commit bfc0486
bfc048670a
(cherry picked from commit 86cdf1f2cf)
2022-05-19 15:25:43 +02:00
Rémi Verschelde e317b7efbb rvo2: Re-sync with upstream, properly document Godot-specific changes
Still tracking the `v1.0.1` tag for now, just reverting all the unnecessary
style changes that created a diff with upstream.

(cherry picked from commit 6c78170d8c)
2022-05-19 15:25:43 +02:00
Rémi Verschelde e88fb37e86
Merge pull request #61190 from timothyqiu/editor-properties-array-dict-clean-button_add_item 2022-05-19 13:48:11 +02:00
Rémi Verschelde 2e6b9ec207
Merge pull request #61183 from timothyqiu/interpolate-if 2022-05-19 13:30:17 +02:00
Haoyu Qiu d54b60233a Properly clean `button_add_item` ref in Dict property editor
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-05-19 19:20:59 +08:00
Haoyu Qiu 067e738cb8 Fix various typos 2022-05-19 19:07:45 +08:00
Rémi Verschelde 5d9c7eaef9
Merge pull request #56801 from Riordan-DC/compound-collision-fix 2022-05-19 12:28:36 +02:00
Rémi Verschelde 78a9d21da3
Merge pull request #61185 from okla/3.x 2022-05-19 12:02:14 +02:00
Rémi Verschelde 6f6c5b79e3
Merge pull request #61181 from akien-mga/3.x-fix-PopupMenu-regression 2022-05-19 11:55:00 +02:00
Sergey Pershenkov 46ab2512b8 Return -1 from get_selected_id() when not selected
Partial cherry pick from 3b146c5eaa
2022-05-19 12:42:54 +03:00
Riordan 941a440996 Added recovery vector to shape position before bullet penetration detection to prevent recovery vector from adding repeat penetration responses. 2022-05-19 10:47:40 +02:00
Rémi Verschelde b7523a953f Revert invalid PopupMenu breaking change from #61102
Fixes #61179.
2022-05-19 10:02:02 +02:00
Rémi Verschelde fae9f38f17
Merge pull request #61141 from timothyqiu/property-extract-3.x 2022-05-19 09:24:34 +02:00
Haoyu Qiu b657d0c76c Add dedicated macros for property name extraction
* Replace case-by-case extraction with PNAME & GNAME
* Fix group handling when group hint begins with property name
* Exclude properties that are PROPERTY_USAGE_NOEDITOR
2022-05-19 11:31:35 +08:00
Douglas Leão f4228045f7 [3.x] ResourceImporterWAV: Add support for 64-bit IEEE float 2022-05-18 19:55:06 -03:00