Commit Graph

10650 Commits

Author SHA1 Message Date
zxx43 eea9c12084 reduce clear frequency & check translate or rotate in updateWorldTransform function https://github.com/cocos-creator/3d-tasks/issues/7487 (#8757) 2021-06-04 12:56:31 +08:00
cary 73f170debb Fix attribute crash on native. (#8732) 2021-06-02 11:26:23 +08:00
zxx43 e1f5d7393a V3.1.2 optimization #7487 (#8743)
* optimize fillBuffers & updateWorldTransform

* modify _updateWorldAlpha & invalidateChildren

* 3d should consider parent rotation, so use the Vec3.transformMat4 function

* remove if check null

* remove if check
2021-06-02 11:25:40 +08:00
ChiaNing 968173d595 fix mask & graphics memory leak (#8746)
* fix mask & graphics memory Leak

* misc fix
2021-06-01 19:24:26 +08:00
jiaxin.lai c4cbb38011 optimize bullet and fix js sync to native (#8725)
* stash

* stash

* fix sync js rotation to native

* discard change the average time
2021-06-01 16:38:20 +08:00
Yun Hsiao Wu eccbbba7d0 gfx: fewer copies of dynamic offsets (#8741) 2021-06-01 11:25:53 +08:00
Myway 0a452691c8 fix terrain-asset load invalid data (#8726)
Co-authored-by: Myway3D1 <404793124@qq.com>
2021-05-31 14:53:07 +08:00
Yun Hsiao Wu 0fc8e6fbbe node related optimizations (#8716)
* opt: node.invalidateChildren

* opt: cache pass states

* make hasChangedFlags visible to native

* fix switch case indent rule
2021-05-27 10:19:37 +08:00
Yun Hsiao Wu d8890c558f optimize WebGLCmdFuncBindStates (#8705) 2021-05-26 12:36:19 +08:00
黄森斌 e3c7f9c436 fix edit some assets can not record its expand state (#8696)
* texture-cube charater

* fix some asset files cache-expand bug
2021-05-20 18:30:04 +08:00
黄森斌 c0e50351dc fix edit render-pipeline bug (#8698)
* fix edit render-pipeline bug

* change marks
2021-05-20 18:28:13 +08:00
黄森斌 3c4690bdf1 fix edit material bug (#8689) 2021-05-18 17:02:43 +08:00
PP 414a4a012d support minigame.testAndUpdateSystemInfoCache on WX platform (#8688) 2021-05-18 16:09:42 +08:00
PP ad24ca70c7 update deprecated usage of sy API (#8684) 2021-05-18 13:31:27 +08:00
黄森斌 429c4a2b5c fix edit material bug (#8681) 2021-05-17 18:29:04 +08:00
PP 420c9f59d4 support system.getSafeAreaEdge() (#8654)
* support system.getSafeAreaEdge()

* remove legacy adapter

* remove code

* update
2021-05-17 18:12:13 +08:00
PP 98436b838d Revert "fix widget align bug when isRoot (#8438)" (#8652)
This reverts commit 0001d0de17.
2021-05-17 18:11:51 +08:00
黄森斌 9f66a7a2a2 fix inspector edit component (#8676) 2021-05-17 17:12:38 +08:00
Santy-Wang e987a596aa update engine version (#8680) 2021-05-17 14:59:50 +08:00
PP 93ca0977ab fix SubContextView layer (#8677) 2021-05-17 14:22:18 +08:00
PP 0b0739990e fix accelerometer bug on QQ browser and WeChat iOS end (#8632)
* fix accelerometer bug on QQ browser

* fix accelerometer on WeChat iOS end

* fix baidu offAccelerometerChange
2021-05-17 12:40:46 +08:00
PP b2370ddd0d fix audio crash on COCOSPLAY (#8629)
* fix audio crash on COCOSPLAY

* add Note
2021-05-17 10:28:28 +08:00
Leslie Leigh (李的序) 1d44fab8a1 Fix clip equivalence in Animation component (#8675) 2021-05-14 16:15:33 +08:00
黄森斌 804e540907 V3.1.1 allow create prefab asset (#8657)
* allow create prefab asset

(cherry picked from commit d26ec3d68cef0625cce3ea8f10d2e0a37d2ddd17)

* update  graphics component layer use UI_2D
2021-05-14 16:14:40 +08:00
黄森斌 13cc875172 V3.1.1 fix edit renderpipeline bug (#8668)
* fix reset material  incorrect  refresh preview

* fix edit renderpipeline bug
2021-05-14 16:13:37 +08:00
PP 13faf6d8ff fix input support info on Web platform (#8673) 2021-05-14 11:58:30 +08:00
陈高原 c3181923c1 Fixed accuracy issues with sineIn, backIn, backOut, backOutIn in boundary cases 2021-05-14 11:46:46 +08:00
PP cb1df4592e fix stopping audio won't seek to 0 when audio is paused on Xiaomi platform (#8636) 2021-05-14 11:23:28 +08:00
PP abccf89427 cache system info on LINK_SURE platform (#8661) 2021-05-13 15:36:51 +08:00
Myway e9018cbf22 dirty shadow map when size changed (#8670)
Co-authored-by: Myway3D1 <404793124@qq.com>
2021-05-13 14:58:00 +08:00
Santy-Wang 9e4ccb61a6 Add GitHub Action (npm test) (#8604) (#8672)
* Create npm_test.yml

* Update npm_test.yml

* Update npm_test.yml

* Update npm_test.yml

1

* Update npm_test.yml

Co-authored-by: fish9167 <674821954@qq.com>
2021-05-13 14:35:41 +08:00
PP 2bce7361f8 fix Audio currentTime on Huawei (#8656) 2021-05-13 14:18:31 +08:00
zhangxin e85aa4b1c3 add .eslintrc.js to editor ,and fix (#8653) 2021-05-12 16:36:57 +08:00
PP 856120f52d fix undefined element in caches array on v3.1.1 (#8663) 2021-05-12 10:23:21 +08:00
PP 1e10ff54f9 FIX_CI: failed to access canvas (#8655) 2021-05-11 10:45:14 +08:00
PP cfb260692f deprecate 'sys.IPHONE' and 'sys.IPAD', not remove it (#8640) 2021-05-07 11:26:09 +08:00
jiaxin.lai 9fd927c2f1 fix jsb-physics require canditions (#8637) 2021-05-06 20:29:13 +08:00
Zeqiang Li f4182a3de8 splash screen native width (#8631)
* splash screen native width

* add comment

* splash screen JSB condition
2021-05-06 17:46:42 +08:00
Santy-Wang 102916833c fix typo (#8633) 2021-05-06 14:30:47 +08:00
PP 2160490d31 fix vivo accelerometer (#8625) 2021-04-30 22:29:57 +08:00
PP 309aac442d asynchronous Audio operation on Wechat platform (#8622) 2021-04-30 18:52:51 +08:00
黄森斌 e5b16e3f2d V3.1 [editor] fix inspector edit some component undo bug (#8618)
* fix inspector edit some component undo bug

* update fbx meta file in internal-db
2021-04-30 17:02:30 +08:00
PP 1dfce47a82 fix error on PointerLock case (#8603)
* fix mouseEvent delta when pointer is locked

* don't emit InputEvent when mouseDown event is fired on window
2021-04-30 11:54:54 +08:00
Leslie Leigh (李的序) ff70fd4e68 Fix animation BUG (#8606) 2021-04-30 11:48:51 +08:00
PP 83176d4330 optimize deprecation (#8602)
* optimize audio deprecated

* optimize sys deprecated

* optimize MouseEvent TouchEvent deprecated

* update

* use `SystemEvent.EventType`
2021-04-30 00:15:45 +08:00
Yun Hsiao Wu 3e391044f9 remove ad-hoc interface from device (#8599) 2021-04-29 22:30:39 +08:00
PP 63e2465749 fix audio on Win32 platform (#8598) 2021-04-29 20:35:04 +08:00
troublemaker52025 136e09ef96 using Feature.COLOR_HALF_FLOAT (#8596)
* using Feature.COLOR_HALF_FLOAT
2021-04-29 20:14:19 +08:00
jiaxin.lai b4c052017c setKinematict still use old way (#8597) 2021-04-29 19:43:08 +08:00
cary 3ba49cb35e Fix the render error of particle and spine on metal. (#8593)
* Fix the render error of particle and spine on metal.

* Move transparent render of deferred to lighting stage.
2021-04-29 18:52:15 +08:00