Commit Graph

18799 Commits

Author SHA1 Message Date
zhakesi ef9392829c remove uimeshbuffer sync to native floatsPerVertex (#12722) 2022-09-09 10:55:50 +08:00
bofeng-song 526e41bfa8 [bug] fix game thread block by set wrong _loopTimeOut (#12724)
* [bug] fix game thread block by set wrong _loopTimeOut
2022-09-08 18:23:05 +08:00
江战 6ef5179b4a fix path error (#12720) 2022-09-08 17:08:52 +08:00
zxx43 a6f7d1d2f1 V3.6.1 do gravity transform only if open gravityFactor (#12696)
* calculate gravity if have gravityFactor

* use EPSILON instead

* use approx instead
2022-09-08 10:54:19 +08:00
zxx43 9795785786 check gpu material if use cpu particle (#12707) 2022-09-08 10:15:26 +08:00
江战 319f4c89cc Remove std::optional for Xcode 12 / iOS 11 (#12708) 2022-09-08 09:31:33 +08:00
jk20012001 ce2e7616e8 [fix] compiling error (#12709) 2022-09-07 17:45:02 +08:00
zhakesi 7d0bbbb2e9 revert lock skinned-mesh-render transform (#12706) 2022-09-07 14:39:49 +08:00
jk20012001 9a2dbb830d [fix] default colored texture support for effect texture cube parameters (#12697) 2022-09-07 11:49:20 +08:00
troublemaker52025 158a0d7a04 [Bug] fix shadow truncation error with native-engine (#12698) 2022-09-07 10:15:50 +08:00
oahc09 448c093cf4 improve:remove IXRInteraface's dependent from GFXDevice.h (#12690)
* improve:remove IXRInteraface's dependent from GFXDevice.h

* improve:remove IXRInteraface's redundant code from DeviceValidator.h/cpp
2022-09-06 17:44:46 +08:00
timlyeee 1494b2eb3b Fix file commit fault (#12685) 2022-09-06 14:06:23 +08:00
timlyeee 8d180c6605 Fix comment (#12686) 2022-09-06 13:38:35 +08:00
fqamic 2d337f6508 fix: xr platform gradlew permission denied, on mac (#12683)
copy from android platform
2022-09-06 09:35:29 +08:00
troublemaker52025 87ab491462 [Bug] Fixed csm define set error (#12680) 2022-09-05 17:56:20 +08:00
江战 fc05e55032 3.6 genbindings abort on error (#12659)
* check return code

* Update native/tools/tojs/genbindings.py

* am update external
2022-09-02 18:50:28 +08:00
王凯鹏 f3dae41e1b fix remove add instance to prefab when _instantiate (#12666) 2022-09-02 17:24:13 +08:00
Cocos Robot 6347132143 [ci skip][AUTO]: Automated code generating update: de9b09d267e2e856a75f43b2bd93e8957dfadfae (#12653) (#12663)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-02 15:50:45 +08:00
fqamic 1946f2d39d improve: update engine to support xr development (#12653)
* improve: update engine to support xr development
1.detach thread support more device
2.revert the modification of xr for makeCurrent
3.sync android templates change to xr
4.fix monado runtime templates, excessive permission

* improve: update engine to support xr development
1.add xr pico templates
2.update xr huaweivr templates
3.add xr api file
4.fix 'GFXDevice.h' base header file problem
2022-09-02 15:25:40 +08:00
Leslie Leigh (李的序) 701379397b Update FBX meta (#12661) 2022-09-02 13:55:16 +08:00
黄森斌 148781b880 fix animation mode bug,revert accidentally delete code (#12662) 2022-09-02 13:50:49 +08:00
Cocos Robot c923074bca [ci skip][AUTO]: Automated code generating update: b4a084b208061fefd566798f56a7ff999173fcb8 (#12656) (#12657)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-02 13:39:01 +08:00
黄森斌 4d4de80025 after operating snapshot scene (#12660) 2022-09-02 13:12:00 +08:00
Cocos Robot 7caa64eb90 [ci skip][AUTO]: Automated code generating update: 479c2d377f09f145c664b6fde421a4bce6b47f5e (#12636) (#12656)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-02 11:02:21 +08:00
Santy-Wang 1844a35fc9 support asset-overriding (#12632)
* support asset-overriding

* output some debug info

* refine some code

* fix typo
2022-09-02 10:38:46 +08:00
zxx43 7908da3696 V3.6.1 gravity with parent node fix (#12655)
* fix particle gravity with parent node

* get invert matrix out of the loop

* change matrix name
2022-09-02 10:25:33 +08:00
ChiaNing 482b20ea47 Mask Refactoring (#12636)
* first version mask

* image stencil material fix

* misc fix

* type change fix

* export fix

* some native code

* native fix

* use less remove

* remove isForMask

* material change

* delate sprite frame

* use less remove

* misc fix

* ci

* mate updte

* de

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-09-02 10:17:44 +08:00
王凯鹏 902413646a Feature:add prefabInstance to prefab when it's instantiated in Editor dynamiclly (#12630)
* Feature:add prefabInstance info to prefab node when it's instantiated it in Editor dynamiclly

* fix error when editor not support addPrefabInstance
2022-09-02 10:11:47 +08:00
zxx43 d8f09ea57d 3.6.1 trail buffer insufficient space fix (#12567)
* enlarge trail buffer

* add warning information

* use warn id instead
2022-09-01 23:49:17 +08:00
Cocos Robot c52128b5fb [ci skip][AUTO]: Automated code generating update: 5cde9c441e2de3da3f24486f4585fd9289f62b89 (#12619) (#12654)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-01 22:25:43 +08:00
zhakesi a388541901 spine/dragonbones renderdata use rgba8 color format (#12619)
* add color4b format

* render-2d adapter color format

* spine dragonbones use simple color

* rename V3F_T2F_C4B

* use attributes to init mesh buffer

* remove Vertex2DFormat
2022-09-01 21:44:19 +08:00
袁炜海 b8ae80f241 [Optimize] feat: delete useless code (#12400) 2022-09-01 19:22:05 +08:00
袁炜海 223023a428 [Optimize] fix: modify tracker id (#12554) 2022-09-01 19:21:22 +08:00
黄森斌 6add217b38 [Optimize] modify render-texture width and height value (#12595) 2022-09-01 19:21:12 +08:00
黄森斌 1272f1f9be [Optimize] inspector style (#12573)
* fix interface css style in inspector

* optimize asset panel style in node inspector
2022-09-01 19:20:50 +08:00
江战 ca3acdd104 reduce warning (#12585) 2022-09-01 18:06:04 +08:00
Myway 9df478babe Export layer list to terrain asset by the layers change (#12611) 2022-09-01 18:05:33 +08:00
Cocos Robot 764ec8fe3d [ci skip][AUTO]: Automated code generating update: 86ecfa1c872a045e3fbb476f561c068f8134be27 (#12641) (#12650)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-01 18:02:25 +08:00
James Chen 225e29e34c Fix downloader connection timeout (#12642) 2022-09-01 15:49:07 +08:00
James Chen 8877c3dec9 Fix wrong result on HarmonyOS devices if CC_OPTIMIZE_MESH_DATA is enabled (#12641) 2022-09-01 15:48:50 +08:00
James Chen 7b65436e02 fixed #12625: The prototype chain for mesh.maxPosition is not Vec3 on version 3.6.0 (#12628) 2022-09-01 15:48:25 +08:00
Zeqiang Li 110922a57b [iOS/macOS] Fix potential crash when destroying engine (#12643) 2022-09-01 15:46:11 +08:00
godIsAProgrammer f2ffc85da9 [Bug] fix skybox render bug (#12644)
Co-authored-by: caoqisen <qisen.cao@cocos.com>
2022-09-01 15:19:12 +08:00
James Chen df0a1e03e2 fixed #12234: Replace __objectMap type in jswrapper/v8/Object.cpp to unordered_set. (#12607)
* fixed #12234: Replace __objectMap type in jswrapper/v8/Object.cpp to unordered_set.

* Remove unused comment.
2022-09-01 14:54:53 +08:00
James Chen e1e35558eb fixed #12151: [optimization] Functions in se::State should be inlined (#12617)
* fixed #12151: [optimization] Functions in se::State should be inlined

* Update native-unit-test.yml
2022-09-01 14:49:12 +08:00
James Chen d1e7907c02 fixed #12176 :Add approxEquals method for Mat3/Mat4/Quaternion/Vec2/Vec3/Vec4. (#12610) 2022-09-01 14:37:18 +08:00
pandamicro b0e71237a1 Made Node.children getter result readonly (#12532) 2022-09-01 14:36:24 +08:00
James Chen dc81a20f3a [v3.6.1] Fix jointTexture configuration not loaded on native platforms. (#12639)
* Fix jointTexture configuration not loaded on native platforms.

* Remove unused std::floor in Root.cpp

* Fix clang-tidy
2022-09-01 12:56:40 +08:00
timlyeee 4381b41525 V3.6.1 fix audio stuck (#12589) 2022-09-01 11:48:34 +08:00
江战 df653f4325 profiler use string_view as argument (#12405)
* use string_view as argument
2022-09-01 11:42:24 +08:00