Commit Graph

19581 Commits

Author SHA1 Message Date
ChiaNing c24c02ecc3 Label Bug Fix: init chunk when createData (#13851) 2022-12-20 14:06:26 +08:00
minggo 5b10f22382 remove unused codes (#13850) 2022-12-20 10:35:49 +08:00
Ling Zhan 2b272e2e65 [fix] physics2d box2d syncRotationToPhysics should use rotation from scene node's world quat #15105 (#13839)
* [fix] physics2d box2d syncRotationToPhysics should use rotation from scene node's world quat #15105

* tweaks
2022-12-20 10:19:46 +08:00
ChiaNing 3d3847f2d9 fix ui transform recursion bug (#13848) 2022-12-19 16:14:34 +08:00
James Chen ed87e01520 Update swig version info. (#13847) 2022-12-19 15:09:08 +08:00
徐兵 bbd7c7589f Fix the preview spherel display error (#13844) 2022-12-19 14:36:27 +08:00
James Chen d9dd6ecc74 Add ccstd::monostate for the first type of ccstd::variant. (#13762)
* Add ccstd::monostate for the first type of ccstd::variant.

* Update native/CMakeLists.txt

* Remove unused cc::MaterialPropertyVariant conversion in jsb_conversions_spec.h

It’s implemented in jsb_conversions.h by template.

* Update ccstd::variant conversion in jsb_conversion.h

* Don’t use std::get<NUMBER> to get element in variant.

* Update conversion for ccstd::variant.

* Fix the errors clang-tidy reported.

* Fix particle-align testcase reports the script error: _updateWorldBoundDescriptors is undefined

* Update TemplateUtils.h
2022-12-19 11:58:11 +08:00
oahc09 a7f20145c0 fix:video player may crash when switch scene (#13804)
Multiple threads concurrent cause this problem
2022-12-19 09:48:22 +08:00
王凯鹏 0c96b6110b [Bug] fix : rename require in editor env (#13843) 2022-12-17 15:21:53 +08:00
徐兵 d8dafd4aaa limit reflect probe bounding box size (#13841) 2022-12-16 19:22:32 +08:00
ChiaNing b53f94c1cf fix scroll view boundary bug (#13840)
* fix scroll view boundary bug

* CI fix
2022-12-16 18:30:29 +08:00
Myway 27eda26f7e Clamp terrain tile size in precision 0.01 (#13837) 2022-12-16 17:26:01 +08:00
shaoqiangcai f5499e22fa generate binding codes in pr test (#13827) 2022-12-16 16:40:15 +08:00
Yiwen fe242f8633 Blit texture (#13831) 2022-12-16 14:36:06 +08:00
徐兵 f924865ab7 Fix planar reflection culling failure in vulkan and metal (#13821)
* planar-reflection

* init reflection probe info

* fix error with unuse base3d

* revert

* init for native

* vulkan

* probetype

* clipSpaceMinZ
2022-12-16 14:11:06 +08:00
徐兵 65fc325147 reflection probe use skybox by default (#13833)
* set default envmap

* envmap
2022-12-16 14:08:45 +08:00
江战 f6854cd16e native introduce jsb.window (#13816) 2022-12-16 13:50:59 +08:00
王凯鹏 315d8e0b2d fix: native scene launch too slow (#13808) 2022-12-16 12:17:31 +08:00
Zeqiang Li 5e6eeb5c12 mem leak during restart (#13806) 2022-12-16 11:42:28 +08:00
Ling Zhan 579a56d4f1 fix bullet rigid-body cannot set Sleep #12508 (#13824) 2022-12-16 11:05:44 +08:00
GengineJS 67a3862cdb revert quaternion fromMat3 (#13829) 2022-12-15 18:21:55 +08:00
李吉林 b857bd1cc8 remove emitting onAncestorTransform (#13823)
* remove emitting onAncestorTransform
2022-12-15 13:36:47 +08:00
jk20012001 a247622cbd fix planar reflection probe rgbe decoding with surface shader (#13822) 2022-12-15 10:32:26 +08:00
GengineJS 67d7edd8be Fix lookat exception (#13811) 2022-12-15 09:51:40 +08:00
江战 ba7e90475c pipeline js bindings (#13786) 2022-12-15 09:51:04 +08:00
Ling Zhan a93437fa78 [fix] physics2d box2d shape aabb not accurate #12631 (#13819) 2022-12-14 18:30:38 +08:00
bofeng-song 282e72d409 fix wrong import file (#13815) 2022-12-14 15:57:22 +08:00
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