Commit Graph

21050 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) 23ca385cae Autofix physics lint problems (#16323)
* Autofix physics lint problems

* Fix lint

* Opt
2023-10-07 16:13:49 +08:00
James Chen 91f5ea9cbf Fix ndk version in ci script (#16357) 2023-10-07 15:33:56 +08:00
Ling Zhan d437903c86 [fix] box2d-wasm joint2d null check (#16337) 2023-09-26 17:32:54 +08:00
Ling Zhan d8f1be6f05 [fix] box2d wasm joint stiffness and damping ratio now behaves the same as box2d.ts; fix rigidbody set type; fix box2d-wasm reallocate mem (#16278)
* [fix] box2d wasm joint stiffness and damping ratio now behaviors the same as box2d.ts; 
fix rigidbody set type; 
fix box2d-wasm reallocate mem
[fix] [physics2d] 1. debugdraw circle shape not consider rotation transform; 2. box2dwasm circle shape offset error
update native/external-config.json --> v3.8.2-9
2023-09-26 16:29:57 +08:00
oahc09 2928e74036 feat:support xr controller a/b/x/y/trigger/thumbstick touch event (#16293)
* feat:support xr controller a/b/x/y/trigger/thumbstick touch event

* fix:eslint problem

* refactor:add new enum/struct for touch event info
2023-09-26 14:32:23 +08:00
Ling Zhan 9a42164966 V3.8.2 physics debug draw (#16325)
* init debug draw

* tweak _debugDrawFlags

* px debug draw performance opt

* tweaks

* add debug draw for physx c++

* debug draw use MainWindow's cameras

* builtin physics draw; WireFrame-->wireframe

* cannon.js supports debug draw

* update engine-native-external --> v3.8.2-5

* tweak

* set engine-native-external --> v3.8.2-5, so that we can pass npm test

* fix: bullet debug draw by default should draw nothing

* comment tweaks

* tweaek

* update native/external-config.json --> 3.8.2-8
2023-09-25 18:05:33 +08:00
James Chen e9b2a15f18 Fix XR header include and don't build XRInterface.cpp if XR is disabled. (#16324) 2023-09-25 14:09:28 +08:00
Ling Zhan c909152ac8 physx supports wasm-split-loading(eg. wechat minigame) (#16310) 2023-09-25 10:23:02 +08:00
Zeqiang Li 2c178e08f6 subpass output sort logic (#16314)
* subpass local attachment sort logic

* fix narrow cast
2023-09-22 18:34:46 +08:00
黄森斌 2ade35990f enable resize inspector preview area height (#16219)
* stash css style

* use inspector-resize-preview to resize height

* delay broadcast fbx change tab

* change material-header layout
2023-09-22 17:15:13 +08:00
黄森斌 ed14fdda2a optimize record material preview params (#16188) 2023-09-22 17:14:52 +08:00
袁炜海 7e53d99269 feat: add block-input-events tip (#16147)
* feat: add block-input-events tip

* feat: use css var
2023-09-22 17:00:04 +08:00
黄森斌 8485880b00 fix edit texture-cube bug (#16260)
* fix edit texture-cube bug

* recover partial code
2023-09-22 16:44:18 +08:00
黄森斌 fccaa94938 set some assets not need to preview when editing property (#16312) 2023-09-22 16:42:23 +08:00
黄森斌 0f6dbbb318 Inspector: Add asset location icon (#16295) 2023-09-22 15:40:21 +08:00
Ling Zhan df58eb6df6 physics2d supports joint2d apply (#16299)
* support joint2d apply

* tweak
2023-09-21 14:01:45 +08:00
minggo 2a44a31ff6 Merge pull request #16290 from minggo/v3.8.2-merge-v3.8.1
V3.8.2 merge v3.8.1
2023-09-20 17:25:42 +08:00
minggo aa601815c4 Merge branch 'v3.8.1' into v3.8.2-merge-v3.8.1
Conflicts:
	cocos/render-scene/scene/submodel.ts
2023-09-20 15:15:22 +08:00
ChiaNing d2d7623e9d Integration of outline and shadow to label (#16106)
* Integration of outline and shadow to label

* add test

* change getter/setter

* name change & use assert

* test name change

* name change

* fix

* remove old attribute & add visible

* remove assert

* fix: gulp-build-h5-source

* Revert "fix: gulp-build-h5-source"

---------

Co-authored-by: PP_Pro <chinese1236@qq.com>
2023-09-20 11:14:42 +08:00
PP f7cf786e83 fix: gulp-build-h5-source (#16277)
* fix: gulp-build-h5-source

* update lock
2023-09-20 09:47:19 +08:00
Ling Zhan 8366af4d1d [opt] physx mesh collider shrinkPositions() performance x50 (#16283) 2023-09-19 18:05:55 +08:00
jk20012001 dae0f55fec fix albedoScaleAndCutOff type mismatch (#16282) 2023-09-19 15:41:49 +08:00
bofeng-song c58cb54083 Fix the issue of sensitive character filtering being fixed still leads to its display. (#16261) 2023-09-19 13:34:40 +08:00
Leslie Leigh (李的序) 5682bbf996 Use WebAssembly version libraries for unit testing (#16264)
* Use WebAssembly version libs in unit test
2023-09-19 10:52:16 +08:00
ChiaNing 1ee3a59411 skip batch when GFX Texture is null (#16273) 2023-09-18 15:49:44 +08:00
troublemaker52025 5aecd91d86 revert invalid optimizations for global patches (#16241) 2023-09-15 19:12:22 +08:00
Leslie Leigh (李的序) 59c6afd7e5 Optimize physics unit test (#16262) 2023-09-15 14:07:07 +08:00
qiuguohua 608660ae60 Fixed multi-threading causing view read failure (#16253) 2023-09-15 10:19:08 +08:00
Ling Zhan f4aa7e93f7 update native/external-config v3.8.2-7 (#16256) 2023-09-14 16:45:26 +08:00
minggo ea8ca11706 replace NodeEventType.SIBLING_ORDER_CHANGED with NodeEventType.CHILDREN_ORDER_CHANGED (#16246)
* replace NodeEventType.SIBLING_ORDER_CHANGED with NodeEventType.CHILDREN_ORDER_CHANGED
2023-09-13 14:06:43 +08:00
PP 0e53dde603 feat: support touch info query in input module (#16235)
Co-authored-by: finscn <finscn@gmail.com>
2023-09-13 10:44:20 +08:00
Zeqiang Li cc2a1a8ac8 fix recursive call (#16245) 2023-09-12 10:07:39 +08:00
Zeqiang Li 2788ed62e6 update webgpu external config (#16243) 2023-09-11 18:46:02 +08:00
Zeqiang Li 8a6c212c82 update web pipeline for webgpu (#16207) 2023-09-11 17:31:43 +08:00
qiuguohua 290746adb0 Fixed the problem of incorrect display position of the emulator. (#16238) 2023-09-11 15:07:02 +08:00
James Chen d7f90a358b Fix all warnings for gfx-webgpu and add condition control for webgpu ci yml (#16232)
* Fix all warnings for gfx-webgpu

* Update webgpu yml, add condition control
2023-09-11 09:37:59 +08:00
troublemaker52025 794b8b3ccf Revert "Resolved error when getting length for Record type (#16213)" (#16233) 2023-09-08 18:53:16 +08:00
James Chen 322875ef39 Enable gfx-webgpu ci by default and fix some warnings in gfx-webgpu code (#16231)
* Fix some warnings of gfx-webgpu.

* Move gfx-webgpu compilation to another yml

* Update CMakeLists.txt

* Update webgpu yml

* Fix a mistake in native-compile-webgpu.yml

* Remove unused `#pragma once` for WGPUEMSImpl.cpp
2023-09-08 18:04:38 +08:00
James Chen 3287affee9 Add generate-emsdk-cache.yml (#16229) 2023-09-08 17:28:38 +08:00
Zeqiang Li df2ce56b87 cluster lighting logic & pass set update (#16197) 2023-09-08 17:02:27 +08:00
Zeqiang Li 91ce03d6a3 webgpu update (#16184) 2023-09-08 17:02:15 +08:00
minggo dee88228b8 Merge pull request #16223 from minggo/v3.8.2-merge-v3.8.1
V3.8.2 merge v3.8.1
2023-09-08 15:39:14 +08:00
James Chen 164aa24aa7 [ci skip] Add android ndk cache for CI (#16224) 2023-09-08 14:53:49 +08:00
troublemaker52025 3c0aaf5138 fix debugView UBO data for native custom pipeline (#16218) 2023-09-08 14:53:38 +08:00
minggo 554598643a Merge branch 'v3.8.1' into v3.8.2-merge-v3.8.1 2023-09-08 14:34:24 +08:00
GengineJS 4c7d2ceee8 Fixed the problem of new pipeline don't clear reporting an error (#16217) 2023-09-08 11:04:06 +08:00
Yiwen b46cba6278 Fix/meshopt (#16200)
* fix meshopt trigger

* add missing part

* add fallback for platform that doean't support half vertex attr

* fix tidy

* revert wrong code

* correct missing field

* optimize

* tune, fix bug
2023-09-08 10:52:46 +08:00
qiuguohua 3822786b7c Fix SDL-related issues (#16212)
* 1.Fixed editbox input send message twice.
2.Fixed when the window is hidden to send message twice
3.Fixed unresponsive right mouse button

* Remove  redundant files.

* Fixed ios compile failures.

* fixed ci errors for ios
2023-09-08 10:28:16 +08:00
troublemaker52025 b57d5ab8ca Resolved error when getting length for Record type (#16213) 2023-09-08 10:20:58 +08:00
jk20012001 4dbd525917 fix sphere 2nd uv (#16210) 2023-09-07 16:32:41 +08:00