Commit Graph

5951 Commits

Author SHA1 Message Date
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
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
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
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
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
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
李吉林 85395fbcd6 fix interpolation bug due to Mat3::set (#13750)
* fix interpolation bug due to Mat3::set
2022-12-08 20:26:02 +08:00
OnlyKoei e0cd2932b7 Update Android KeepScreenOn handling (#13746) 2022-12-08 17:47:42 +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
minggo 03b5d4c3fd Merge branch 'v3.6.3' into merge-v3.6.3 2022-12-08 15:46:09 +08:00
ChiaNing ddeba2863c Update UIMeshRender model pre frame (#13738) 2022-12-08 15:45:11 +08:00
mmyduckx f2790113b0 refine downloader to fix remote load slowly bug (#13737)
* refine downloader to fix remote load slowly bug
2022-12-08 15:36:51 +08:00
MoHai 3500c2e21a submit jsb_ar_auto manually (#13736) 2022-12-08 13:52:39 +08:00
江战 33d9dca1bd native plugin: fix assertion (#13721)
* native plugin: fix assertion
2022-12-08 13:45:09 +08:00
qiuguohua dac1b5025f 1、Fix the problem of Harmony not running (#13735)
2、Modify setassetmanager to setAssetManager
2022-12-08 13:36:41 +08:00
James Chen e9cc889770 Fix scene.global.skybox is undefined if there is not SceneGlobals data in .scene file (#13724) 2022-12-08 11:38:03 +08:00
李吉林 42b5d4628f add cpp call js function (#13731)
* support emitting MobilityChanged & AncestorTransformChanged events in c++
2022-12-08 11:23:43 +08:00
MoHai 9c36f7e4d1 adjust ar interfaces (#13730)
* adjust ar interfaces

* add plane polygon buffer
2022-12-08 09:58:51 +08:00
fqamic 51bd9bd705 fix: the orthogonal camera does not apply the xr fov parameters correctly (#13727)
* fix: the orthogonal camera does not apply the xr fov parameters correctly, resulting in the inability to focus under different IPDs.

* fix: code format abnormal
2022-12-08 09:50:59 +08:00
bofeng-song 6df0caca16 Android: fix deadlock for update nativeWindow (#13709)
* Android:   fix deadlock for update nativeWindow
2022-12-07 15:40:05 +08:00
James Chen 04b15e44a5 Fix pass states could not be changed in material inspector panel and update swig template (#13707)
* Add se::Class::defineStaticProperty(const char *name, const Value &value, PropertyAttribute attribute = PropertyAttribute::NONE);
2022-12-07 15:18:23 +08:00
徐兵 6d9c0c8f93 add planar reflection culling and refresh models after delete probe (#13671) 2022-12-07 15:12:20 +08:00
李吉林 ab13bdd062 Add tetgen (#13702)
* use tetgen to tetrahedralize
2022-12-07 14:40:39 +08:00
Cocos Robot 12c3d0514e [ci skip][AUTO]: Automated code generating update: cc7861648a9b078f7f0954e3f6550289700d4779 (#13681) (#13708)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-12-07 14:31:18 +08:00
江战 cade7f10d4 JSB: bind some geometry types (#13681) 2022-12-07 14:26:32 +08:00
oahc09 0dd67aee0b fix:android activity jni global reference leak (#13631)
* fix:android activity jni global reference leak

* improve:only release jniObjectActivity,keep classloader
add nullptr check for classloader to avoid new global reference many times
2022-12-07 11:48:03 +08:00
troublemaker52025 77aa1ba748 optmization framebuffer clear (#13690) 2022-12-07 11:45:39 +08:00
Yiwen 841571628c fix the bug that native physics system emits tons of wrong events (#13683) 2022-12-07 11:20:02 +08:00
Cocos Robot 990878c66d [ci skip][AUTO]: Automated code generating update: ffcb61a83a60a98d7b51fe0f1ec7696a9afa4ff7 (#13688) (#13692)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-12-06 20:56:32 +08:00
徐兵 ecb00f7631 fix add reflection probe report error for native scene (#13688)
* add validate

* fix switch probe error
2022-12-06 19:05:49 +08:00
pandamicro 313a1032b7 Separate present time from renderer time in profiler (#13684) 2022-12-06 18:24:02 +08:00
troublemaker52025 ecfb8be5bf fix editor crash when creating a new reflection probe (#13682) 2022-12-06 17:05:35 +08:00
mmyduckx 0e9de1e208 fix win32 editbox cannot getCurrentWindow handler (#13680) 2022-12-06 16:30:07 +08:00
James Chen e56b4c3cb8 Fix material inspector missing elements (#13674)
* Add missing properties in EffectAsset.h for editor

* Move recordAsBool to PassUtils, IPassInfoFull::propertyIndex needs to be optional

* Add IPropertyEditorInfo struct.

* Fix macroRecordAsBool
2022-12-06 15:06:08 +08:00