Commit Graph

17466 Commits

Author SHA1 Message Date
GengineJS 68d112530f Multiple Cameras support rendering to the same RenderTexture (#9924)
* Multiple Cameras support rendering to the same RenderTexture

* Modify the postprocessstage getRenderPass function call
2022-01-06 19:46:18 +08:00
Leslie Leigh (李的序) 600b1e1609 Fix spine (#9929) 2022-01-06 18:47:55 +08:00
GengineJS cdfc12eccd Multiple Cameras support rendering to the same RenderTexture (#4132) 2022-01-06 18:42:26 +08:00
zxx43 b7e9ae1984 Particle culling loop fix (#9922)
* fix particle culling stop bug

* no need to pause when stop

* add _isSimulating to pause update when culled

* do not to check stop & do not force refresh bounding when stop
2022-01-06 18:31:18 +08:00
PP 1df4a6b623 compability for string SystemEventTypeUnion (#9934)
* compability for string SystemEventTypeUnion

* fix CI
2022-01-06 18:29:27 +08:00
PP 1300cb8ab7 fix audio buffer memory leak on ByteDance and Web platform (#9933) 2022-01-06 18:27:26 +08:00
PP e7761b0640 fix event MOUSE_WHEEL can't be swallowed by node (#9931)
* fix event MOUSE_WHEEL can't be swallowed by node

* dont export pointerEvent2SystemEvent

* fix CI
2022-01-06 18:24:22 +08:00
alpha e5040dc3ee [3.4.1] Fix bug multi touch (#9917)
* 🐛 fix multi touch can not disable

* Update pal/input/touch-manager.ts

Co-authored-by: PP <chinese1236@qq.com>

* Update pal/input/touch-manager.ts

Co-authored-by: PP <chinese1236@qq.com>

Co-authored-by: PP <chinese1236@qq.com>
2022-01-06 18:22:32 +08:00
PP 7506b69979 fix event processor list updating (#9932) 2022-01-06 18:00:28 +08:00
Leslie Leigh (李的序) f6e6026da8 Animation controller api document (#9866)
* Animation controller document

* Apply suggestions from code review

Co-authored-by: yufang.wu <2435731537@qq.com>

* Apply suggestions from code review

Co-authored-by: yufang.wu <2435731537@qq.com>

* Add AnimationController.prototype.setValue example

Co-authored-by: pandamicro <lphuabin@gmail.com>
Co-authored-by: yufang.wu <2435731537@qq.com>
2022-01-06 17:27:02 +08:00
Leslie Leigh (李的序) 01e0fc41a6 Fix skeleton animation component play or cross fade (#9930) 2022-01-06 17:10:54 +08:00
timlyeee b54225e433 Rename JsbBridgeWrapper API (#4130) 2022-01-06 16:58:37 +08:00
santy-wang b4b8c9ab3a build effect 2022-01-06 16:18:11 +08:00
PP b6d54e3ad7 support screen.devicePixelRatio (#9926) 2022-01-06 15:35:53 +08:00
Greg1129 88a0ccbf26 fix particle capacity <= 0 (#9910)
* fix particle capacity <= 0

* fix issue 10417 particle capacity 0

* fix issue 10417 particle capacity setter range limitation

* remove unused package
2022-01-06 15:10:32 +08:00
santy-wang 7ffe1bc031 Merge branch 'v3.4.1' of https://gitlab.cocos.net/publics/engine into v3.5.0 2022-01-06 14:41:28 +08:00
Leslie Leigh (李的序) d97e453b07 Fix decorator order issue in standalone mode (#9911)
* Fix decorator order issue in standalone mode

* Apply

* Update
2022-01-05 23:30:21 +08:00
SijieWang c392e019a2 [Feature] Prefab: Support the persistent (#9884)
Co-authored-by: Sijie <devhacker520@hotmail.com>
2022-01-05 23:28:41 +08:00
troublemaker52025 69cd9f5c23 fallback baidu not support shadow for v3.4.1 (#9897) 2022-01-05 23:27:11 +08:00
troublemaker52025 32ea1cbfbf Combing planar-shadow calculations for v3.4.1 (#4127) 2022-01-05 23:26:28 +08:00
troublemaker52025 17e0e7ea7b Combing planar-shadow calculations for v3.4.1 (#9903)
* Combing planar-shadow calculations for v3.4.1

* update

* update
2022-01-05 23:26:23 +08:00
Yiwen 8402289d77 fix the bugs found in PR9854. (#9875)
* Add extra steps to the destroy functions to update the cached resources.
This will make sure that the resources in device.stateCache is valid.

* unbind a resource before destroying it

* remove unnecessary non-null assertion

* update the state after the destruction to make the process robust

* fix the bugs introduced in PR9854.
bug: forgot to update the active texUnit in stateCache.

* reduce the use of dot operator to improve performance.

* fix the bug introduced in the previous commit

* reduce the use of dot operator to improve performance
2022-01-05 23:20:47 +08:00
zheng han 334ee05d77 fix editorExtras of curve keyframe (#9905) 2022-01-05 14:08:27 +08:00
Leslie Leigh (李的序) ac49b8b6a0 Refactor communication between skinned mesh renderer and skeletal animation (#9787)
* Refactor communication between skinned mesh renderer and skeletal animation

* Update
2022-01-05 13:40:54 +08:00
Greg1129 fd5ca96299 fix bug bulitin default texture (#9916) 2022-01-04 17:05:11 +08:00
Leslie Leigh (李的序) 8e906c79a8 build-engine add chunk aliases to build result(cherry-pick #9894) (#9895) 2022-01-04 14:15:17 +08:00
timlyeee b5c40837c8 add JsbBridgeWrapper(#4125) 2022-01-04 13:38:23 +08:00
timlyeee f5a6a64372 Jsb-event-handler for event dispatch (#9879) 2022-01-04 13:37:44 +08:00
江战 73aea115e0 fix windows text alias (#4128) 2022-01-04 10:23:25 +08:00
zxx43 79abbd55b9 Fix particle index count 0 (#9885)
* check index count 0

* fix indent
2022-01-03 23:02:28 +08:00
PP a0f89df96c fix audio bugs (#9889)
* fix setting audioSource.clip as null

https://github.com/cocos-creator/engine/pull/9782

* destroy audio player

* use null instead of undefined

Co-authored-by: dream93 <dream_chou93@163.com>
2021-12-30 19:12:07 +08:00
Greg1129 6f3b1fae0c fix bug: remove all actions by tag (#9876)
* fix bug: remove all actions by tag

* add tween unit test

* add @internal comment

* fix using backward delete

* add commnets by eslint
2021-12-30 17:55:11 +08:00
jk20012001 2f6f50ec7f Fix skybox RGBE macro get invalid in startup and mipmap count is overrided (#9904)
* Fix skybox RGBE macro get invalid in startup
Fix mipmap count is overrided

* fix after apply diffusemap scene will not refresh
2021-12-30 17:53:45 +08:00
zhakesi a2bb27f2e4 fix readpixels (#9900)
* fix function readPixels height setting

* add paramter to receive pixel data for readPixels.

* use errorID

* modify error description

* fix import { errorID }
2021-12-30 14:16:30 +08:00
J.C 51ac077cc8 fix #9890 (#9891)
added missing parameter
2021-12-30 11:58:06 +08:00
mu xiandong a8234cfb14 Update Scheduler API (#9815)
* Update Scheduler API

Sync 3.4.0

changeLog:
The delay parameter of schdule is in seconds and needs to be marked
Re https://forum.cocos.org/t/topic/126830

* fix eslint

fix eslint

* Update scheduler.ts

* Update scheduler.ts

* Update scheduler.ts

Co-authored-by: muxiandong <24754593@qq.com>
2021-12-30 10:03:36 +08:00
zhakesi 575b2caedd revert spine export (#9896) 2021-12-29 17:19:50 +08:00
zhakesi 36c13c190b V3.4.1 issue 10573 (#9892)
* fix export spine failed.

* import spine from spine-core.ts
2021-12-29 14:23:21 +08:00
Greg1129 5d3b5d64c8 modify builtin texture generation + particle unit test (#9841)
* modify builtin texture generation + particle unit test + particle system capacity issue 10417

* change texture format to RGBA8

* modify builtin texture generation

* modify format and remove particle parts out to another pr

* fix array buffer view generation
2021-12-29 10:35:57 +08:00
troublemaker52025 028b274ac0 Optimize fixedArea mode culling process for v3.4.1 (#9878) 2021-12-28 15:35:49 +08:00
黄森斌 b3babeab29 change ts template (#9883) 2021-12-28 14:28:30 +08:00
alpha f153b5cc1b fix Color.fromHex Bug (#9867) 2021-12-28 11:52:01 +08:00
PP fbde8d1e90 use lagacyPublic to marked deprecated public interface (#9859)
* use lagacy-public

* publish beta6

* remove jsDoc tag from constructor

* use legacyPublic

* publish beta 7
2021-12-28 11:48:10 +08:00
Zhang mingzhen 6601d1d2de Label string setter optimization (#9880)
* remove rebundant onDisable

* update label.string.setter and add unit test case

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-12-28 11:27:58 +08:00
troublemaker52025 d65a00dee7 Optimize fixedArea mode culling process for v3.4.1 (#4124) 2021-12-28 11:15:32 +08:00
Yun Hsiao Wu 437b5c3d81 material.copy accepts overrides (#9881) 2021-12-28 11:12:24 +08:00
fish9167 5ffe5aee23 Add GitHub Action (#9872)
* Add GitHub Action

Add GitHub Action: run test cases

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

retry github action

* Update run_test_cases.yml

updata npm

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

retry github action

* Update run_test_cases.yml
2021-12-28 11:08:31 +08:00
PP 3a3f1ea151 fix set frame rate on runtime (#9874) 2021-12-27 14:35:18 +08:00
minggo 4680589de7 detach from scene before destroying Model/Light (#9869) 2021-12-27 10:42:26 +08:00
ChiaNing 36a078e7cb Revert "Add extra steps to the destroy functions to update the cached resources. (#9854)" (#9873)
This reverts commit acb3fce607.

Co-authored-by: Yiwen <15225434259xue@gmail.com>
2021-12-24 19:26:02 +08:00