Commit Graph

38276 Commits

Author SHA1 Message Date
Rémi Verschelde 60988a06c2
Merge pull request #52953 from nekomatata/fix-collision-recovery-depth 2021-09-28 12:11:38 +02:00
Bastiaan Olij cbdde9dff9 Fix access to render target texture for XR interfaces 2021-09-28 19:46:50 +10:00
fabriceci e4cfcfc424 Replace auto completion shortcut for mac 2021-09-28 11:25:11 +02:00
Rémi Verschelde ed5267f69f
Merge pull request #53053 from LATRio/callable_in_thread_start 2021-09-28 11:10:09 +02:00
Rémi Verschelde c89c2878ef
Merge pull request #53001 from floppyhammer/fix-tree-item-width 2021-09-28 10:53:56 +02:00
Rémi Verschelde a56e8f8afc
Merge pull request #53160 from BastiaanOlij/improve_xr_server_cleanup 2021-09-28 08:44:54 +02:00
Rémi Verschelde 8879efc214
Merge pull request #52512 from jitspoe/master.csg_fixes_simplification 2021-09-28 08:39:31 +02:00
Rémi Verschelde 4735a0359c
Merge pull request #53153 from Duroxxigar/fix-bone-attachment-typo 2021-09-28 07:41:36 +02:00
Bastiaan Olij 0623d3676b Improve unregistering XR interfaces so we don't get crashes in GDExtensions by destroying the XRServer too early 2021-09-28 12:25:15 +10:00
jitspoe 1da948a688 CSGPolygon fixes and features: Angle simplification, UV tiling distance, interval type. 2021-09-27 21:24:19 -04:00
Duarte David 7d53755ca7 Fixes the normals of SphereMesh when the radius is different from 1 2021-09-28 00:09:39 +01:00
Duroxxigar 3bcf03c40f Fixed typo in bone attachment warning 2021-09-27 18:53:56 -04:00
PouleyKetchoupp bf523a2b2a Improved logic for CharacterBody collision recovery depth
Allows 2D character controller to work without applying gravity when
touching the ground (also more safely in 3D), and collision detection
is more flexible with different safe margin values.

Character body motion changes in 2D and 3D:
-Recovery only for depth > min contact depth to help with collision
detection consistency (rest info could be lost if recovery was too much)
-Adaptive min contact depth (based on margin) instead of space parameter

Extra CharacterBody changes:
-2D: apply changes made in 3D for stop on slope and floor snap that help
fixing some jittering cases
-3D: fix minor inconsistencies in stop on slope and floor snap logic
2021-09-27 15:31:41 -07:00
Rémi Verschelde 8abd46096a
Merge pull request #53148 from Shatur/fix-register-singleton
Fix inversed check inside register_singleton
2021-09-27 23:49:36 +02:00
Rémi Verschelde 541701fdfb
Merge pull request #53146 from naeu/fix_folder_icon
Set directory dialog folder icon color
2021-09-27 23:47:08 +02:00
Rémi Verschelde 5503059f3b
Merge pull request #53145 from bruvzg/fix_trim_width_reset
Fix trim overrun width not being reset.
2021-09-27 23:46:19 +02:00
Hennadii Chernyshchyk dbb37e586b
Fix inversed check inside register_singleton 2021-09-28 00:17:31 +03:00
bruvzg 11a49c2f29 Fix trim overrun width not being reset. 2021-09-27 21:51:18 +03:00
naeu e2b58ef4dc Set dialog folder icon color 2021-09-27 19:33:15 +01:00
Rémi Verschelde 30cf49e8d0
Merge pull request #53134 from briansemrau/quadmesh-has-no-indices 2021-09-27 20:26:23 +02:00
Rémi Verschelde 321419df99
Merge pull request #53141 from RandomShaper/fix_cast_freed_check 2021-09-27 20:25:37 +02:00
Pedro J. Estébanez 0fa574c051 Fix check for freed object during cast 2021-09-27 19:35:26 +02:00
Brian Semrau 62f8b0eb91 QuadMesh remove format ARRAY_FORMAT_INDEX 2021-09-27 13:10:34 -04:00
Camille Mohr-Daurat 27417c065d
Merge pull request #53118 from BimDav/physicsbody_to_kinematic
Reload kinematic shapes when changing PhysicsBody mode to Kinematic
2021-09-27 08:53:36 -07:00
jfons 9e1810695c Auto LOD fixes and improvements
* Fixed LODs for shadow meshes.
* Added a merging step before simplification. This helps with tesselated
  meshes that were previously left untouched. The angle difference at
  wich edges ar considered "hard" can be tweaked as an import setting.
* LODs will now start with the highest decimation possible and keep
  doubling (approximately) the number of triangles from there. This
  makes sure that very low triangle counts are included when possible.
* Given more weight to normal preservation.
* Modified MeshOptimizer to report distance-based error instead of
  including attributes in the reported metrics.
* Added attribute transference between the original mesh and the
  various LODs. Right now only normals are taken into account,
  but it could be expanded to other attributes in the future.
2021-09-27 17:04:56 +02:00
Rémi Verschelde 281d0bd59e
Merge pull request #53109 from aaronfranke/fix-gltf-light 2021-09-27 16:18:35 +02:00
Rémi Verschelde 41228343fe
Merge pull request #53127 from timothyqiu/index-mod 2021-09-27 15:13:17 +02:00
Haoyu Qiu ab280de765 Validate before passing indices to meshoptimizer 2021-09-27 20:35:56 +08:00
Rémi Verschelde 8d2deddc72
Merge pull request #53124 from RandomShaper/fix_inverted_error 2021-09-27 14:34:18 +02:00
Gilles Roudière a98453670c
Merge pull request #53100 from KoBeWi/fix_them_tiles_2-layer_count_of_oblivion
Fix TileMap layer loading
2021-09-27 14:05:39 +02:00
Pedro J. Estébanez ee238b2a4d Fix inverted error messages about null object 2021-09-27 13:58:46 +02:00
Rémi Verschelde 1ae922a829
Merge pull request #53122 from AnilBK/whats-segement-can-i-render-it 2021-09-27 13:53:51 +02:00
Rémi Verschelde 4633f8c3ba
Merge pull request #53121 from timothyqiu/resource-id-utf8 2021-09-27 13:49:15 +02:00
Anilforextra d090925d98 Fix Typo: Segement. 2021-09-27 17:05:23 +05:45
kobewi 140b54fd35 Fix TileMap layer loading 2021-09-27 13:13:48 +02:00
Haoyu Qiu b024d16bc1 Parse UTF-8 when getting path from resource UID 2021-09-27 19:10:32 +08:00
Rémi Verschelde a0ca7a673c
Merge pull request #53119 from Faless/net/4.x_enet_relay_fix 2021-09-27 12:23:11 +02:00
Fabio Alessandrelli e96e268e3b [ENet] Fix server not correctly relaying peer disconnects. 2021-09-27 11:40:21 +02:00
Rémi Verschelde 2d08457f58
Merge pull request #47524 from bruvzg/macos_sandbox_helpers 2021-09-27 11:29:53 +02:00
Gilles Roudière 4f4f73b82f
Merge pull request #53095 from KoBeWi/fix_them_tiles
Fix tile size property
2021-09-27 10:19:25 +02:00
bruvzg 911c276a1a [macOS, sandbox] Add export option to embed and sign helper executables. 2021-09-27 11:02:56 +03:00
BimDav 3540e716f9 init_kinematic_utilities from the start for kinematic bodies 2021-09-27 09:58:26 +02:00
BimDav 112985c5bc Reload kinematic shapes when changing PhysicsBody mode to Kinematic to prevent a crash when calling test_body_motion. Call reload_kinematic_shapes from init_kinematic_utilities as they are always called together. 2021-09-27 09:44:09 +02:00
Aaron Franke f3e76a5397
Fix GLTF light import 2021-09-26 21:57:25 -05:00
Rémi Verschelde 8138280d20
Merge pull request #53091 from AnilBK/merge-duplicates 2021-09-27 00:09:32 +02:00
Rémi Verschelde 3221fb4618
Merge pull request #52979 from jmb462/fix-lineedit-double-clic-selection 2021-09-27 00:08:20 +02:00
jmb462 3f0fe0b8a3 Fix LineEdit and TextEdit double-click and triple-click selection 2021-09-26 19:56:48 +02:00
Rémi Verschelde 73668c59aa
Merge pull request #52824 from e8newallm/52680
Updated Tabs to not update excessively
2021-09-26 19:35:58 +02:00
kobewi a402bf0ea4 Fix tile size property 2021-09-26 19:32:30 +02:00
zacryol 9359bee75c Fix typo with example variable name in Dictionary docs, and fix error in C# example 2021-09-26 11:16:55 -06:00