Arseny Kapoulkine
2b8215a196
Fix dramatically overallocated normal weights
...
The weight is per-attribute scalar (X, Y, Z), not per-vertex; this was
the case even before the library update so this appears to be an
oversight.
2023-11-02 14:17:41 -07:00
Arseny Kapoulkine
be2b0fcddc
Update thirdparty/meshoptimizer with distance-only error metric
...
This change replicates the distance-only metric patch which is now much
smaller and cleaner, as upstream simplifier already tracks distance and
attribute quadrics separately - it just doesn't store both errors in the
collapse structures.
The old two patches were removed as they are no longer needed.
2023-11-02 14:12:35 -07:00
Arseny Kapoulkine
c5f73a1783
Update thirdparty/meshoptimizer to v0.20
...
Note: this change completely overwrites the meshoptimizer library source
(from git SHA c21d3be6ddf627f8ca852ba4b6db9903b0557858)
without including any patches; a distance error metric patch is still
needed and will be reapplied in the next commit.
The changes elsewhere are due to a signature change for
meshopt_simplifyWithAttributes.
2023-11-02 14:10:39 -07:00
Yuri Sizov
b733901e9e
Merge pull request #84354 from RandomShaper/gdext_no_cache_doc
...
Polish & fix editor help cache generation
2023-11-02 20:34:22 +01:00
Yuri Sizov
bd7f65fa8f
Merge pull request #84338 from smix8/csg_debug_crash
...
Fix CSGShape debug_collision_shape crash
2023-11-02 20:34:18 +01:00
Yuri Sizov
1b42673b42
Merge pull request #84315 from dsnopek/gdextension-windows-modification-time
...
GDExtension: Save and compare modification times separately for reload
2023-11-02 20:34:15 +01:00
Yuri Sizov
0b2f8ee036
Merge pull request #84283 from jsjtxietian/update-add_submenu-doc
...
Update `add_submenu_item` doc to mention that submenu should already exist
2023-11-02 20:34:11 +01:00
Yuri Sizov
e4ea16e37f
Merge pull request #84261 from KoBeWi/Schrödinger's_colliders
...
Fix rotated tile collision not working at runtime
2023-11-02 20:34:07 +01:00
David Snopek
f86054e3a0
GDExtension: Save and compare modification times separately for reload
2023-11-02 08:29:22 -05:00
Pedro J. Estébanez
a1d8fc1af9
Polish & fix editor help cache generation
...
- Isolated the generation of extensions's docs. They're now not cached and refreshed as needed.
- Removed superfluous sorting of the class list.
- Removed some superfluous/unused elements.
- Renamed some items for clarity.
2023-11-02 13:46:37 +01:00
smix8
0cba21f2da
Fix CSGShape debug_collision_shape crash
...
Fixes CSGShape debug_collision_shape crash.
2023-11-02 11:23:47 +01:00
Rémi Verschelde
da0b1eb128
Merge pull request #84316 from m4gr3d/update_android_env_variables
...
Replace the use of the `ANDROID_SDK_ROOT` env variable with `ANDROID_HOME`
2023-11-02 09:12:19 +01:00
Rémi Verschelde
95b8a75aaf
Merge pull request #84288 from bruvzg/angle_detect_2
...
[macOS] Improve ANGLE support detection.
2023-11-02 09:11:55 +01:00
Rémi Verschelde
44a54f4500
Merge pull request #84252 from clayjohn/ensure_tangents
...
Enhance checks and user experience around tangent arrays in meshes.
2023-11-02 09:11:32 +01:00
Rémi Verschelde
64bb27aefd
Merge pull request #83600 from jsjtxietian/make-translation-import-more-robust
...
Make translation importer skip not-supported lang tag, make it more robust
2023-11-02 09:11:00 +01:00
jsjtxietian
34c27021e0
Update add_submenu
doc to mention that submenu should already exist
2023-11-02 11:02:13 +08:00
Fredia Huya-Kouadio
a1ca4bab47
Replace the use of the ANDROID_SDK_ROOT
env variable with ANDROID_HOME
as the former is deprecated.
...
See https://developer.android.com/tools/variables#android_home for more details
2023-11-01 15:50:10 -07:00
clayjohn
d1043a5f93
Enhance checks and user experience around tangents.
...
Ensure `ensure_tangents` option actually creates tangent array. Even if it is just a dummy array.
Allow mesh to generate its own tangents when using compression. This allows users to compress meshes without tangents.
Warn users if they are trying to read from tangents without providing tangents.
2023-11-01 22:40:42 +01:00
Rémi Verschelde
37d51d2cb7
Merge pull request #84322 from curious-broccoli/patch-2
...
Fix sentence in RandomNumberGenerator.xml
2023-11-01 22:33:46 +01:00
Rémi Verschelde
c6c4728440
Merge pull request #84303 from bitsawer/fix_material_texture_updates
...
Fix several Material texture parameter updates
2023-11-01 22:33:23 +01:00
Rémi Verschelde
2277eea262
Merge pull request #84285 from m4gr3d/auto_set_android_sdk_default
...
Automatically pick the Android sdk path using environment variables
2023-11-01 22:32:59 +01:00
Rémi Verschelde
1bd46fe7ff
Merge pull request #84267 from dsnopek/fix-webxr-emulator-with-no-2d
...
Fix WebXR on desktop emulator by reseting active texture unit
2023-11-01 22:32:36 +01:00
Rémi Verschelde
98baac7172
Merge pull request #84200 from clayjohn/surface-upgrade-tool-rework
...
Overhaul the SurfaceUpgradeTool
2023-11-01 22:32:09 +01:00
curious-broccoli
385f4cb572
Fix sentence in RandomNumberGenerator.xml
2023-11-01 21:37:01 +01:00
Fredia Huya-Kouadio
f86e6115d9
Automatically pick the Android sdk path using environment variables
2023-11-01 07:36:16 -07:00
clayjohn
be386e1876
Overhaul the SurfaceUpgradeTool
...
This defers the update to a fresh restart of the editor (to ensure we aren't mid way through loading scenes anymore.
It also ensures that the popup can't be used by multiple threads at once
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2023-11-01 15:32:54 +01:00
Rémi Verschelde
e07b3ee253
Merge pull request #84307 from akien-mga/linux-crosscompile-remove-hardcoded-lib-path
...
Linux: Remove hardcoded lib path for x86 cross-compilation
2023-11-01 15:13:46 +01:00
Rémi Verschelde
b797f6cb83
Merge pull request #84302 from YuriSizov/editor-forget-about-file-dialogs-willya
...
Disconnect `EditorNode` from file dialogs on destruction
2023-11-01 15:13:18 +01:00
Rémi Verschelde
1267c58422
Merge pull request #84301 from jsjtxietian/improve-get_time_zone_from_system-doc
...
Clarify that `get_time_zone_from_system` will return a localized timezone name
2023-11-01 15:12:54 +01:00
Rémi Verschelde
e642413e37
Merge pull request #84297 from ttencate/patch-2
...
Add comment why off-by-one error is hard to fix
2023-11-01 15:12:31 +01:00
Rémi Verschelde
2d64e52b08
Merge pull request #84296 from bruvzg/ver_validate
...
[Export] Improve app / file version validation.
2023-11-01 15:12:07 +01:00
Rémi Verschelde
8a403e7432
Merge pull request #84291 from jsjtxietian/fix-import-default-save-failed
...
Fix press save in Import Defaults did not save the changed setting
2023-11-01 15:11:43 +01:00
Rémi Verschelde
3d0041ff97
Merge pull request #84287 from bruvzg/rtl_img_resize_and_dropcap_flow
...
[TextServer] Fix line breaks for dropcap and resizing embedded objects.
2023-11-01 15:11:20 +01:00
Rémi Verschelde
1ea46ad4c3
Merge pull request #84276 from Chubercik/velocity_pivot_desc
...
Add a description for the `velocity_pivot` parameter
2023-11-01 15:10:56 +01:00
Rémi Verschelde
8ce31989ff
Merge pull request #84226 from Agaanii/patch-1
...
Fix documentation in MultiplayerAPIExtension
2023-11-01 15:10:33 +01:00
Rémi Verschelde
cfbccdbf44
Merge pull request #84183 from jsjtxietian/fix-activate_item_by_event-crash
...
Fix `activate_item_by_event` infinite recursion crash
2023-11-01 15:10:08 +01:00
Rémi Verschelde
136c4e370d
Merge pull request #82406 from BorisTheBrave/doc-resource_name-unsupported
...
Document that `resource_name` is not always supported
2023-11-01 15:09:42 +01:00
Rémi Verschelde
63153c9d36
Linux: Remove hardcoded lib path for x86 cross-compilation
...
This breaks the build with our updated i686 Linux SDK which doesn't contain
this path, and may not be needed at all.
This might need further work to be robust, and there's an open PR already
adding -march flags for all supported architectures, but for now we're
playing it safe for 4.2.
2023-11-01 14:14:01 +01:00
Yuri Sizov
8c39a2d169
Disconnect EditorNode
from file dialogs on destruction
2023-11-01 13:01:28 +01:00
jsjtxietian
fd751f9b21
Clarify get_time_zone_from_system will return a localized timezone name
2023-11-01 19:47:30 +08:00
Thomas ten Cate
2263d94cc3
Add comment why off-by-one error is hard to fix
...
See #83843
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-11-01 11:14:13 +01:00
Boris The Brave
a390996a61
Document that resource_name
is not always supported
...
Closes #82333 .
Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-11-01 10:43:41 +01:00
bruvzg
a0bd5f8568
[Export] Improve app / file version validation.
2023-11-01 11:25:44 +02:00
jsjtxietian
255db4df68
Fix press save in Import Defaults did not save the changed setting
2023-11-01 15:45:51 +08:00
bruvzg
4c74c7d11a
[macOS] Improve ANGLE support detection.
...
Try opening EGL display when checking if ANGLE is supported.
2023-11-01 08:34:35 +02:00
jsjtxietian
137b25cf53
Fix activate_item_by_event
infinite recursion crash
2023-11-01 10:29:59 +08:00
Jakub Marcowski
201e5bab35
Add a description for the velocity_pivot
parameter
2023-11-01 03:15:05 +01:00
bitsawer
1ec97a7b91
Fix several Material texture parameter updates
2023-11-01 03:10:46 +02:00
Matt Loesby
c10921b5d1
Fix documentation in MultiplayerAPIExtension
...
Fix documentation in MultiplayerAPIExtension.xml
In implementing a MultiplayerAPIExtension, I found that the example from documentation did not function even in the Multiplayer tutorial example.
Eventually, I found that the issue was that base_multiplayer will not poll unless told to by the LogMultiplayer implementation.
I also corrected a spelling issue and a few out-of-date return types.
2023-10-31 18:39:45 -06:00
David Snopek
67d8102f95
Fix WebXR on desktop emulator by reseting active texture unit
2023-10-31 16:18:38 -05:00