Commit Graph

10205 Commits

Author SHA1 Message Date
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
Santy-Wang 45b452d392 refine 3.0 dragon-bones native sdk (#8035) 2020-12-28 16:19:07 +08:00
Knox e075f81f45 Fixed 2D particle system not rendering sprite frame reporting an error. (#8033)
* Fixed 2D particle system not rendering sprite frame reporting an error.

* fix eslint

* fix eslint

* refine code

* fix eslint
2020-12-28 14:12:20 +08:00
Leslie Leigh (李的序) 0dd04b4d3f Accessibility & Linting fix for AnimationState (#8034)
* Accessibility & Linting fix for AnimationState

* Update

* Update
2020-12-28 11:53:47 +08:00
ChiaNing 66555423da ui pass refactoring (#8024)
* ui pass refactoring

* native fix & blend hash update

* doc update
2020-12-26 18:42:14 +08:00
Knox e801634278 improve web view code (#8030) 2020-12-26 17:58:54 +08:00
ChiaNing 4461eb1d12 DynamicAtlas support (#8017)
* DynamicAtlas support

* CI fix
2020-12-26 14:28:30 +08:00
Leslie Leigh (李的序) 4d2b741a4a Bump typescript@4.1.3 (#8028) 2020-12-26 14:07:32 +08:00
Leslie Leigh (李的序) 886ead9842 Optimize WASM binary path emit (#8027) 2020-12-26 13:48:13 +08:00
Santy-Wang 75d8b8add2 Lint asset manager (#8002)
* lint asset manager and refine d.ts

* refine

* refine d.ts
2020-12-25 20:43:44 +08:00
PP 9fd8e6be28 optimize jsb.deivce.getDeviceOrientation (#8007) 2020-12-25 17:27:29 +08:00
jiaxin.lai d169d90713 support constraints auto-scaling (#8015)
* lint

* cannon constraint support auto-scaling

* fix kinematic/static body

* tweaks

* remove onLoad that was not necessary

* ammo constraint support auto-scaling

* physx joint refactor

* using fastRemoveAt
2020-12-25 16:36:18 +08:00
媛媛 e318e60827 support label and description for categories (#8022)
* support category

* remove module-division

* update

* revert .fbx.meta
2020-12-25 15:53:34 +08:00
jiaxin.lai 29a71884c1 fix tween when property equals 0 (#8018)
* fix tween when property equals 0

* more check

* tweaks
2020-12-25 15:44:19 +08:00
Leslie Leigh (李的序) 2756594747 Profiler -> Run Stats (#8021)
* Profiler -> Run Stats

* Update

* Update
2020-12-25 15:23:49 +08:00
cary 368fe4ca94 Set depthStencilAttachment store to discard. (#8016) 2020-12-25 14:36:47 +08:00