Commit Graph

10220 Commits

Author SHA1 Message Date
PP 52bf6ff194 fix atob undefined (#8090)
* fix atob undefined

* fix lint

* remove atob in physics-ammon.ts
2021-01-08 10:18:19 +08:00
Jare Guo f9c1f71002 Remove redundant tfig dependency (#8084) 2021-01-07 14:26:53 +08:00
ChiaNing 0a6a007c0f add canvas pool length settings (#8093)
* add canvas pool length settings

* name change
2021-01-07 14:13:06 +08:00
Leslie Leigh (李的序) 10dab6aebc Bump CI Node.js version (#8092) 2021-01-07 10:43:59 +08:00
JoneLau 0ce406e432 wrong byte fill length (#8085) 2021-01-06 18:47:15 +08:00
ChiaNing e19708ff91 compress texture fix (#8089) 2021-01-06 18:46:02 +08:00
mmyduckx 5668b942b8 Fix change scene will crash in dragonbones (#8083)
* Fix change scence in dragonbones will crash

* Fix change scence in dragonbones will crash
2021-01-06 17:52:56 +08:00
cary 592c96eba5 Fix the residual problem of particles on metal. (#8088) 2021-01-06 17:52:15 +08:00
Leslie Leigh (李的序) df6e37dc4e Add physics framework/physics 2d framework feature (#8086) 2021-01-06 16:36:46 +08:00
李学武 8e7d11f66d _nodeContentSize should copy value (#8043)
Co-authored-by: lixuewu <lixuewu@17paipai.com>
2021-01-06 15:35:16 +08:00
ChiaNing 96e632fb4f UI Memory Leak fix (#8081)
* UI Memory Leak fix

* update
2021-01-06 15:10:16 +08:00
ChiaNing b1e8b91a8c layout bug fix when child change (#8070)
* layout bug fix when child change

* use event emit

* Revert "use event emit"

This reverts commit 7ba377ab7c0a16d9e3640484afcb5e706aa06a81.
2021-01-06 15:09:49 +08:00
yeshao2069 bea67aac0d fix editbox label (#8079)
when input mode is not ANY, user can change the vertical text alignment of placeholder_label and text_label.
2021-01-06 13:32:23 +08:00
Myway a01445c037 Commit terrain image brush image (#8082)
* Commit terrain image brush image

* Effect of removing lighting map on ambient lighting

Co-authored-by: Myway3D1 <404793124@qq.com>
2021-01-06 11:22:41 +08:00
mmyduckx 2093e07d73 fix empty scene bug & dragonbones rendering bug (#8080) 2021-01-06 09:43:28 +08:00
yeshao2069 b7627817e8 fix view.setFrameSize bug (#8059)
* fix view.setFrameSize bug

fix view.setFrameSize bug

* fix ci

fix ci error

* fix ci

fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* optimization

optimization

* fix ci

fix ci
2021-01-05 17:38:49 +08:00
Leslie Leigh (李的序) 21826607b1 Fix lint errors (#8029)
* Fix lint errors

* Update

* Sync https://github.com/cocos-creator/engine/pull/2433

* Typo
2021-01-05 17:30:40 +08:00
江战 1798b827d2 [3.0] bugfix: tiledmap delay culling (#8071)
* delay culling

* fix default mesh buffer
2021-01-05 10:05:21 +08:00
jiaxin.lai 474724a128 Typing&deprecated (#8069)
* typing contact data

* remove raycast relative API in render scene
2020-12-31 17:41:34 +08:00
minggo dfdc1978a3 Revert "skip copy buffer when middleware buffer was empty (#8067)" (#8068)
This reverts commit 1eb82c7fb4.
2020-12-31 17:30:56 +08:00
owen 1eb82c7fb4 skip copy buffer when middleware buffer was empty (#8067) 2020-12-31 16:40:29 +08:00
SijieWang 7abe72d240 Update canvas camera (#8066) 2020-12-31 16:24:05 +08:00
cary b6a54f830b Fix canvas error in editor. (#8065)
* Fix canvas error in editor.

* refine code
2020-12-31 15:21:23 +08:00
pandamicro 84f2b5b742 Fix ui canvas event priority and deprecation (#8062)
* Fix UI event priority sorting issue

* Fix canvas deprecation

* Fix ci

* Fix ci

* Fix eslint
2020-12-31 13:45:15 +08:00
Leslie Leigh (李的序) d96ee5179e Fix system event typing (#8063) 2020-12-31 13:39:07 +08:00
JoneLau 1e94e53188 submission graphics data size not byte-length causes native rendering error (#8064) 2020-12-31 11:56:56 +08:00
Leslie Leigh (李的序) ff6319b649 Bump @cocos/build-engine@4.1.5; Rename gulp build-src->build-source (#8061) 2020-12-31 11:37:16 +08:00
Leslie Leigh (李的序) 9acfafc5a1 Optimize build engine cli doc (#8058) 2020-12-31 11:20:21 +08:00
troublemaker52025 8b2c2b1248 Revert canvas (#8031)
* revert canvas

* fix CI error

* update

* fix ci error

* update

* deprecated canvas about camera method

* update

* use renderTarget to update camera value

* update

* keep renderMode calculation is correct
2020-12-30 22:39:01 +08:00
ChiaNing 0b5e103307 fix richText layout bug (#8057) 2020-12-30 22:04:45 +08:00
Myway 5e99ed70ab fix terrain brush effect compile error (#8054)
* attach terrain block mode to block node

* Add update world bound method

* Update world bound when terrain height updated

* replace for of

* 修改地形画刷effect编译错误

Co-authored-by: Myway3D1 <404793124@qq.com>
2020-12-30 21:36:43 +08:00
Jare Guo 5bf129b684 Update default typescript asset (#8055) 2020-12-30 21:27:43 +08:00
cary fcbe208a9f Fix the crash of render texture scene on metal. (#8056) 2020-12-30 20:58:50 +08:00
JoneLau cc84d2af46 activate model before drawing to avoid the user from filling the data without the node being activated (#8053) 2020-12-30 19:51:57 +08:00
PP 680ac7fb17 fix open data context dpr (#8050)
update

update
2020-12-30 19:01:29 +08:00
ChiaNing 0a890af46d game pause update (#8047)
* game pause update

* change setAnimFrame postion
2020-12-30 17:44:18 +08:00
黄森斌 bd21579385 update internal-db effect meta file (#8052) 2020-12-30 17:39:22 +08:00
Yun Hsiao Wu 0e1031e852 webgl2: immutable textures (#8051) 2020-12-30 17:31:15 +08:00
jiaxin.lai fadf3d9b00 support dynamic select physics backend (#8048)
* support dynamic select physics backend

* skip physics ray group

* fix eslint

* lint
2020-12-30 15:47:06 +08:00
cary b1379ddeed Export pipeline class for editor. (#8049) 2020-12-30 15:46:43 +08:00
zheng han 33c427ebf4 keep prefabInfo of prefabInstance (#8046) 2020-12-29 21:02:41 +08:00
PP 1277f254d9 play audio on awake at the onEnable phase (#8045)
* play audio on awake at the onEnable phase

* fix code quality

* fix ci
2020-12-29 19:30:44 +08:00
zheng han 78e5b01774 fix prefab asset instaniate (#8044) 2020-12-29 17:19:14 +08:00
pandamicro b6c2ae7db9 Refactor Graphics impl.getRenderData to getRenderDataList (#8042) 2020-12-29 11:45:31 +08:00
JoneLau 47334c9c84 fix the problem that mask data is delayed to be updated by one frame (#8039)
* fix the problem that mask data is delayed to be updated by one frame

* fix ci
2020-12-29 10:29:48 +08:00
zheng han 53f8360a07 new prefab system (#8000)
* add prefab instance

* add prefab instance

* support add normal child in prefabInstance

* add prefabInstance check

* remove active restore

* remove unused method

* fix CI

* add children in prefabInstance

* format

* fix ci

* fix according to review suggestion

* add null check

* fix CI

* move prefabInstance into prefabInfo

* fix problem according to review
2020-12-28 21:49:27 +08:00
ChiaNing b85a367309 fix label bug (update UV when texture change) (#8041)
* fix label bug (update UV when texture change)

* Circular reference fix
2020-12-28 20:41:22 +08:00
Santy-Wang 77925094f2 avoid waiting too long when fps is is low (#8040) 2020-12-28 19:40:01 +08:00
Yun Hsiao Wu d2bb41a1d7 adapt gfx changes (#8019) 2020-12-28 17:23:06 +08:00
Leslie Leigh (李的序) f9cc7387f2 Add AnimationState.current, AnimationState.ratio (#8037) 2020-12-28 16:24:45 +08:00