Commit Graph

18951 Commits

Author SHA1 Message Date
bofeng-song 58a8bd08ba fix crash due to mismatch external (#13877) 2022-12-22 09:38:17 +08:00
bofeng-song 7b08aeb27e Repair that some switch buttons on the android platform do not respond (#13873) 2022-12-21 16:39:45 +08:00
PP d255936cdb optimize audio adaption on Taobao (#13835)
* fix: onPlay

* fix: onPause

* don't call stop

* remove HACK
2022-12-16 15:16:42 +08:00
bofeng-song 4939c4d915 Fix audio bugs on the mini-game platform (#13772) (#13787) 2022-12-12 10:13:06 +08:00
zhakesi 1bc1be3b15 fix spine cached color format (#13557)
* fix spine cached color format

* fix code style
2022-12-09 14:22:24 +08:00
江战 33d9dca1bd native plugin: fix assertion (#13721)
* native plugin: fix assertion
2022-12-08 13:45:09 +08:00
PP b73351ee15 fix: hack texture float support query for Taobao HUAWEI devices (#13726)
* fix: hack texture float support query for Taobao HUAWEI devices
2022-12-08 10:42:33 +08:00
Ling Zhan 4cdda1e2cf [fix] builtin-2d-physics removeShape() slow #12843 (#13650)
* [fix] builtin-2d-physics removeShape() slow #12843

# Conflicts:
#	cocos/physics-2d/builtin/builtin-world.ts

* [fix] builtin-2d-physics removeShape() slow #12843

* Revert "[fix] builtin-2d-physics removeShape() slow #12843"

This reverts commit d42ea68d743ad5e343544719426a9e8beffc14e8.
2022-12-05 17:25:44 +08:00
江战 f2d747f9c7 Fix: user handler exceptions lead to endless loop (#13647) 2022-12-05 14:47:54 +08:00
Ling Zhan 650713c0b8 [feat] new polygon partition algorithm: Hertel Mehlhorn #13190 (#13585)
* [feat] new polygon partition algorithm: Hertel Mehlhorn #13190

* eslint

* remove the option to change algorithm

* tweaks

* add unit tests

* tweaks

* eslint
2022-12-02 16:12:17 +08:00
PP d6caaa343c fix: my.createCanvas is undefined on OnePlus 7 Pro device (#13569) 2022-11-25 18:39:03 +08:00
hyde zhou 3b46fca68f Fix MessageQueue deadlock. (#13278) (#13479)
Co-authored-by: Zach Lee <bluesky013@126.com>
2022-11-24 21:52:28 +08:00
qiuguohua cde2a432c5 Fix the problem that when music is played with AudioSource and suddenly quit, it is still playing. (#13408) (#13528)
* Fix the problem that when music is played with AudioSource and suddenly quit, it is still playing.

* Fix eslint error
2022-11-24 10:41:29 +08:00
minggo f78617a11d Merge pull request #13509 from yyycggg/v3.6.3
Merge branch 'v3.6.1-taobao' into v3.6.3
2022-11-24 09:46:59 +08:00
timlyeee 6063a4a4c1 [Hack] Jump across the safety policy (#13517) 2022-11-23 17:00:24 +08:00
ycg 02d9cd805b Update to English notes. 2022-11-23 15:49:11 +08:00
zhakesi 64f869f10a fix instancing use jointTextureLayout. (#13418) 2022-11-23 14:19:45 +08:00
ycg 071ee7edb7 Merge branch 'v3.6.1-taobao' into v3.6.3 2022-11-23 14:10:14 +08:00
江战 d62bf5cd15 add sebind::callFunction with jsThis (#13473) 2022-11-22 16:34:10 +08:00
ycg 69edf6d1fa Fix: A filpY operation will be performed after ReadPixels on Taobao. (#13482)
* Fix: npm test error.

* Fix: A filpY operation will be performed after ReadPixels on Taobao.
2022-11-22 16:32:18 +08:00
ycg 30b1e5c9a4 Fix : imageAsset data for taobao (#13399)
* Fix : imageAsset data for taobao

* Add import for taobao
2022-11-22 16:20:43 +08:00
ycg 45445e4b8f Update Taobao template files to support plugin scripts. (#13406)
* Support plugin script on Taobao.

* Adjust the location of the import plugin script
2022-11-22 16:12:10 +08:00
troublemaker52025 8d189d4671 Fix planar shadow with instancing for 3.6.3 (#13480) 2022-11-22 14:38:48 +08:00
timlyeee 2a7648de7f [Bug fix] Add detections for innerAudioContext. (#13162)
* [Bug fix] Add detections for innerAudioContext.

1. Pausing an innerAudioContext which is not fully initialized, the currentTime might be null.-https://github.com/cocos/3d-tasks/issues/14080
2. Pause means nothing for a stopped audio
3. InnerAudioContext.destroy behavior is insane that it might not stop the audio immediatly,

* remove log

* get once
2022-11-21 11:29:38 +08:00
ycg 6c23564835 Fix: Sprite Blend Factor bug for TAOBAO. (#13217)
* Fix: Sprite Blend Factor bug for TAOBAO.

* update Note

* Do not use premultiplication on the phone.

* delete import
2022-11-18 10:58:31 +08:00
zhakesi 011a71f732 optimize spine/dragonbones material update (#13416)
* optimize spine/dragonbones material update

* add material assets depends for dragonbones
2022-11-18 10:15:40 +08:00
zhakesi 0985cbe03e fix spine/dragonbones begin-schedule (#13370)
* fix beginSchedule when spine component with no onEnable called.

* fix dragonbones beginSchedule
2022-11-18 10:12:51 +08:00
zhakesi 281fcee113 fix dragonbones not fresh in editor (#13287) (#13371) 2022-11-18 10:11:02 +08:00
zhakesi 91031c7dad fix release spine/dragonbones resouce (#13419) 2022-11-18 10:10:16 +08:00
jk20012001 e663402c1a Fix model updateInstancedAttribute binding (#13347) 2022-11-14 13:34:54 +08:00
zhakesi 5eb972b571 fix spine crash (#13321) 2022-11-10 16:26:47 +08:00
ycg 1abec3483c support safeArea on TaoBao. (#13260) 2022-11-08 11:21:51 +08:00
ycg 98f35d7729 support landscape on TaoBao (#13259)
* support landscape on TaoBao
2022-11-08 11:19:10 +08:00
jk20012001 9bef28065b [fix] disable skybox clear flag warning in editor (#13138) 2022-10-25 16:43:12 +08:00
Zeqiang Li 854687882f operator = to assign drawInfo (#13126)
* drawInfo assign

* getter setter

* rename & fullfill

* update wasm.js & external config

* drawinfo assign as suggested
2022-10-25 14:33:47 +08:00
ycg 02c5717ba9 Fix: XMLHttpRequest failed to get header on TaoBao (#13119)
* Add Note and  rename.

* Fix: XMLHttpRequest failed to get header

* Fix: Modify the default value of Headers.

* Rename to MAX_AMOUNT_WEBSOCKET.

* Rename some function.
2022-10-25 11:07:37 +08:00
mmyduckx 30afbee149 fix native node targetOff (#13122) 2022-10-24 10:26:49 +08:00
zhakesi 089d787766 fix spine cached mode (#13107) 2022-10-24 10:03:04 +08:00
troublemaker52025 0da4451100 [fix] shadow map use packing mode in webgl and lightmap texture undefined (#13118) 2022-10-21 16:09:36 +08:00
Zeqiang Li b88622bd08 wgpu particle draw indirect support (#13117)
* bug fix

* draw indirect support

* swapchain typo fix
2022-10-21 15:43:20 +08:00
Zeqiang Li ea74a3a758 bug fix (#13114) 2022-10-21 09:41:20 +08:00
Zeqiang Li e669808f31 fix csm WGPU_CI_ON (#13098)
* fix csm

* layers index

* update external config
2022-10-20 11:07:11 +08:00
Zeqiang Li 579ee692e0 remove redundant config (#13079) 2022-10-18 17:52:23 +08:00
ycg 01b2632af6 Adapter Network (#13074)
* Adapter  Network

* Modify _triggerEvent to private method

* Fix: Only one WebSocket can be created at the same time.
2022-10-18 16:10:59 +08:00
mmyduckx a515750791 fix set Bold/Italic font on mac/ios/win (#13048) 2022-10-14 18:06:26 +08:00
timlyeee c196b6da14 Update external-config.json (#13049) 2022-10-14 16:52:00 +08:00
ycg d9b3c18210 Adapter Rendering, Editbox, Label and Audio. (#13025)
* Adapter System-info on Taobao

* add  'zh_CN'  for  iPad

* Adapter  screen-adapter on Taobao

* Remove useless comments

* Adapter EditBox and Label

* Adapter Audio

* Fix: GL.getUniformLocation returns an incorrect value

* Add @typescript-eslint/no-unsafe-return
2022-10-14 15:55:06 +08:00
PP 56f28aa583 fix: wrong polyfill require on ByteDance platform (#13047) 2022-10-14 15:39:01 +08:00
jk20012001 50b8b11779 [fix] emissive factor support for dcc materials (#13046) 2022-10-14 11:53:14 +08:00
Zeqiang Li fe83e5144f avoid incompatible regexp string match/replace on safari (#13031) 2022-10-14 11:22:03 +08:00