Commit Graph

19554 Commits

Author SHA1 Message Date
mmyduckx 2efe60a576 fix game.init assetDB-warning (#13809)
* fix game.init assetDB-warning
2022-12-14 14:31:14 +08:00
Ling Zhan 8ab2b4826c [fix] physics2d box2d jointlimit forgets to convert degree to radian #9957 (#13810) 2022-12-14 13:34:38 +08:00
James Chen 9fc78251c4 Revert lambda capture logic in NODE_DISPATCH_EVENT_TO_JS (#13807) 2022-12-14 09:41:28 +08:00
徐兵 c06d6dc657 fix error caused by create terrain model and not use 3d base modules (#13795) 2022-12-13 18:02:21 +08:00
minggo 1f1aefe8fa sync the same logic as ts (#13805) 2022-12-13 17:45:08 +08:00
bofeng-song 7361109947 fix potential crash due to null pointer (#13802)
* fix potential crash due to null pointer
2022-12-13 16:04:06 +08:00
李吉林 ce1cca0a0a revert mat3 set (#13796) 2022-12-13 15:59:31 +08:00
troublemaker52025 f88100a72d [Bug] fix planar shadow has different value from ts to native engine (#13801) 2022-12-13 15:16:17 +08:00
Ling Zhan a2b2d83015 [fix] when physics2d-builtin shape sets group should check collider then addShape (#13790)
* [fix] when physics2d-builtin shape sets group should check collider then addShape #13361

* tweaks
2022-12-13 11:12:39 +08:00
zxx43 eb359b4667 adjust particle shader layout to avoid uniform collapsing 2022-12-13 11:12:11 +08:00
Zeqiang Li a9219accf2 fix vk swappy surface issue (#13792) 2022-12-13 09:41:50 +08:00
Cocos Robot 48e56d48ca [ci skip][AUTO]: Automated code generating update: 904c8bd1d20fed4f97ae92129e6cae5d086b9d04 (#13793) (#13794)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-12-12 17:28:13 +08:00
Zeqiang Li a02402a2bc ignore dragonbones' global enum/const char* (#13793) 2022-12-12 17:23:48 +08:00
王凯鹏 56b16216e5 fix open scene with mountedChildren failed (#13789) 2022-12-12 15:06:38 +08:00
Leslie Leigh (李的序) 84edc214e2 Enable forceConsistentCasingInFileNames in tsconfig (#13788) 2022-12-12 13:36:06 +08:00
James Chen 96f17ed5ab [cpu particle] Fix passing defines with null value to material (#13780) 2022-12-09 16:56:47 +08:00
Cocos Robot d5d5dd3afe [ci skip][AUTO]: Automated code generating update: 09e767a4b1ebe25ddd7f22f4ef93bcf86c1bc2e6 (#13774) (#13781)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-12-09 16:38:08 +08:00
Myway e30adb09ad Add lightmap shader macos for native model (#13774)
* terrain support stationary light map
fixed terrain light map shader compile error

* fixed brush invalid material cause missing lighting map uniform

* Add lightmap shader macros for model

* fixed compile error

* Add bakedStationaryMainLight jsb property for scene globals
2022-12-09 16:33:01 +08:00
王凯鹏 fab6392f22 revert prefab instance ids,use combine id to set prefab instance's chidren id (#13777) 2022-12-09 16:30:02 +08:00
James Chen 2b4806f696 [gpu particle] Fix passing defines with null value to material (#13775) 2022-12-09 15:40:23 +08:00
James Chen 9cb0345a9b Fix particle-align testcase reports the script error: _updateWorldBoundDescriptors is undefined (#13773) 2022-12-09 15:23:43 +08:00
MoHai c7fba8b93c feat: update external config (#13771) 2022-12-09 14:57:15 +08:00
bofeng-song 3c393ae111 Fix audio bugs on the mini-game platform (#13772)
(cherry picked from commit 8ee9ad317190134a51d67045d3d36927b16f9523)
2022-12-09 14:41:50 +08:00
黄森斌 290e014878 fix unable change multiple nodes name in inspector (#13770)
* fix unable  change multiple nodes name in inspector

* continue fix 'name, active' undo bug
2022-12-09 14:40:59 +08:00
jk20012001 adc85a44da fix shader compilation error (#13767) 2022-12-09 11:47:48 +08:00
Cocos Robot 1b77e340ac [ci skip][AUTO]: Automated code generating update: 4e52482f35dbf10b493f1cf3a70657b320859223 (#13754) (#13765)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-12-09 11:22:13 +08:00
江战 3285dd65a5 reduce log (#13763) 2022-12-09 11:19:14 +08:00
zhakesi d79b84d41c fix dragonbones in editor running with native engine (#13754)
* fix dragonbones in editor running with native engine

* add native ccfactory function getDragonBonesDataByUUID
2022-12-09 11:04:21 +08:00
Zeqiang Li e6e82206eb Shader process (#13719) 2022-12-09 10:57:16 +08:00
fqamic 0200d8da85 feat: update external config (#13751) 2022-12-09 10:47:50 +08:00
徐兵 8aeb4fc098 fix the native engine preview sphere to show black (#13745)
* surface shader error

* ci error

* preview

* fix crash
2022-12-09 10:01:20 +08:00
iwae d74e6998e3 optimize particle and improve its performance (#13718)
* optimize particle and improve its performance

optimize particle and improve its performance

* Update particle-utils.ts

fix circulance

* fix  Circular dependency

fix  Circular dependency

* fix PR conflict

fix PR conflict
2022-12-09 10:00:22 +08:00
ChiaNing 1dea144d95 fix profiler render bug (#13748)
* fix profiler render bug

* name fix
2022-12-09 09:38:47 +08:00
Knox c8f7338a0b Fix pipeline insert replaceExtension invalid (#13760)
* Fix pipeline insert replaceExtension invalid

Fix the problem that the pipeline insert replacement Extension is invalid, resulting in the failure of loading animation clips

* fix eslint
2022-12-09 09:37:12 +08:00
changhua e3d06606f2 [Feature] add baking system metrics (#13756)
* add baking system metrics

* update
2022-12-08 22:32:57 +08:00
李吉林 784c23ade4 revert onLoad modification (#13759) 2022-12-08 22:24:02 +08:00
Jiujiang Liu 76f800aa3d [Optimize] Let the editor update the data (#13757)
* revert onLoad modify
2022-12-08 21:32:40 +08:00
Jiujiang Liu 3f5fb583f8 fix-line-bug (#13755) 2022-12-08 21:01:28 +08:00
李吉林 85395fbcd6 fix interpolation bug due to Mat3::set (#13750)
* fix interpolation bug due to Mat3::set
2022-12-08 20:26:02 +08:00
jk20012001 b3f55df85e support VAT soft and rigid body (#13753) 2022-12-08 19:13:36 +08:00
Ling Zhan 355a0fac28 [fix] [physics2d][box2d] new Physics2d Box2d :: syncSceneToPhysics() #12381 (#13747)
* [fix] [physics2d][box2d] not sync the children scene nodes' pos of a modified scene node #12381

* tweak

* tweak
2022-12-08 18:47:14 +08:00
OnlyKoei e0cd2932b7 Update Android KeepScreenOn handling (#13746) 2022-12-08 17:47:42 +08:00
bofeng-song c1256393ea support pause all audio while call game.pause (#13739)
* support pause all audio while call game.pause
2022-12-08 17:47:12 +08:00
minggo 6cc76a5f94 Merge pull request #13741 from minggo/merge-v3.6.3
Merge v3.6.3
2022-12-08 17:19:08 +08:00
James Chen 65fcc225b6 fixed #12670: [doc] Swig documentation about %arg(...) and not need to add const prefix for attribute (#13740)
* fixed #12670: [doc] Swig documentation about %arg(...) and not need to add const prefix for attribute
2022-12-08 17:15:16 +08:00
zhakesi 4551b690a2 fix 2d module mesh buffer indices out of range (#13715)
* fix 2d module mesh buffer indices out of range

* use resize instead of checkSpace
2022-12-08 16:35:49 +08:00
hyde zhou aa7c8940ba [pipeline] refactor program-lib.ts, pass.ts (#13610) 2022-12-08 16:33:57 +08:00
徐兵 81d1203f5e fix use instancing planar reflection incorrect (#13734)
* surface shader error

* ci error
2022-12-08 16:32:07 +08:00
徐兵 3dc654cbcd move reflection-probe to 3d module (#13711)
* add validate

* fix switch probe error

* export  reflectionProbe

* remove export reflectionProbeManager

* export
2022-12-08 16:31:46 +08:00
Myway 88d4950a54 fixed brush invalid material cause missing lighting map uniform (#13742) 2022-12-08 16:27:23 +08:00