Commit Graph

17828 Commits

Author SHA1 Message Date
ChiaNing 529155281f Fill the Z Position in UI (#11151)
* Fill the Z Position in UI

* useless remove

* add justTranslate hack

* Revert "add justTranslate hack"

This reverts commit 1de036856c02e3b9c0d6e62fa823c9341c1c3fd4.

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-05-25 18:45:34 +08:00
Cocos Robot b3bf4b6148 [ci skip][AUTO]: Automated code generating update: 08ba39c308b2d629740fa05074dc2b917fe14983 (#11179) (#11216)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-05-25 14:09:53 +08:00
James Chen 8f8924c3f4 fixed #10929: Hash computation in native engine causes loss of precision, use 32 bits hash for all platforms (#11179)
* fixed #10929: Hash computation in native engine causes loss of precision. Force use 32 bits hash for all platforms.

* More uint64_t -> ccstd:hash_t

* Some uint64_t -> uint32_t in SkeletalAnimationUtils.h/.cpp

* operator() return ccstd::hash_t now and add some comments.

* size_t -> ccstd::hash_t in StringPool.h, Font.h/.cpp
2022-05-25 13:54:57 +08:00
江战 952bf07ff5 3.6 sebind impl (#11125) 2022-05-25 11:17:36 +08:00
Cocos Robot 40b009b41a [ci skip][AUTO]: Automated code generating update: ab0055cbd8e80569ea217a785e5ba6036da325d7 (#11197) (#11208)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-05-24 18:53:53 +08:00
James Chen 024737aebc fixed #11195: Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant (#11197)
* Move Any.h/Optional.h/Variant.h to base/std and rename them to lowercase.

* fixed #11195: Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant

* Format code.
2022-05-24 18:47:16 +08:00
Cocos Robot 0244869ce4 [ci skip][AUTO]: Automated code generating update: c5279179db25d64b05c7c2bcb6ea1cb818663a28 (#11200) (#11202)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-05-24 18:04:32 +08:00
Myway 57b73ea331 Cancel sharing index buffer for per block (#11200) 2022-05-24 16:59:59 +08:00
minggo 2de0ae1f72 Merge pull request #11192 from minggo/v3.6.0_merge_v3.5.1
V3.6.0 merge v3.5.1
2022-05-24 16:42:57 +08:00
minggo fc0aaf9699 update engine version 2022-05-24 15:44:41 +08:00
zxx43 0fabe474b5 fix get sky box mip level error in ubos.ts (#154) 2022-05-24 15:31:54 +08:00
Cocos Robot a86ddc03ca [ci skip][AUTO]: Automated code generating update: ef790b6029dbdc46599f006e13c136596dce0dba (#11104) (#11189)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-05-24 13:38:55 +08:00
zxx43 70415c69e8 V3.5.1 fix particle switch error (#11139)
* fix issue https://github.com/cocos/3d-tasks/issues/12315 and https://github.com/cocos/3d-tasks/issues/12325

* fix eslint

* simplify if-else condition

* move check attach model into update

* change needSwitch to needAttach
2022-05-24 13:38:00 +08:00
minggo 7814949998 Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1 2022-05-24 11:53:57 +08:00
PP 14cb8d60ce optimize audiosource playing (#11104)
* remove invalid audio operation before setting clip

* skip invalid audio seeking on minigame platform
2022-05-24 10:42:56 +08:00
mmyduckx 36f9f2f7a0 add comment for jsb.Downlader & jsb.zipUtils (#11185) 2022-05-24 10:19:14 +08:00
James Chen b0fe68ec43 fixed #11183: [v3.6][bug] Pass.getPassHash is invoked frequently (#11184) 2022-05-24 10:18:35 +08:00
Zeqiang Li 684f467e50 fix auto test crash on ios and mac (#11182)
* fix auto test crash on ios and mac

* safe hash getter
2022-05-23 17:35:22 +08:00
Zhang mingzhen c09995b45a supplement JSB documents (#11153)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-05-23 09:37:07 +08:00
mmyduckx 204543cfd8 fix restart buffer & shader leak and add prompts (#11164)
* fix restart buffer & shader lead and add prompts
2022-05-20 16:10:40 +08:00
黄森斌 9be0225770 fix help document url 404 error (#11131) 2022-05-20 14:40:05 +08:00
bofeng-song a24ea72451 Fix undefined depthstencilstate error (#11165)
* Fix undefined depthstencilstate error
2022-05-20 14:35:55 +08:00
minggo 9b0233cca4 Startup shutdown (#11150)
* Adjust exit process
- detelte objects in reserve order
- delete some global objects, may refactor in future

* remove unneeded codes
2022-05-20 10:31:39 +08:00
bofeng-song 57f031eb1e Fixing cc.js file that will have multiple copies of node.jsb.ts file … (#11155)
* Fixing cc.js file that will have multiple copies of node.jsb.ts file in them
2022-05-19 18:30:03 +08:00
Yiwen 9780ad2164 Fix the logic error that the RenderWindow's fbo uses a user-defined depth attachment but (#11147)
not the swapchain's depth attachment regardless of the swapchain's state.
2022-05-19 15:22:32 +08:00
pandamicro 8ef4d3c4a9 Fix API docs for 3d module and part of core module (#11126)
* Refactor morph and morph-rendering module

* Fix API docs for 3d module

* Fix some API docs for core module

* Tweaks and fixes of links
2022-05-19 14:19:05 +08:00
李吉林 25cc44e315 refactor DebugRenderer exiting (#11145) 2022-05-19 11:41:50 +08:00
徐兵 28e9584799 add custom skybox material (#11133)
* add custom skybox material

* code format

* code format
2022-05-19 11:33:23 +08:00
James Chen 70343e9c7c fixed 3d-tasks/12347: [bug] Yellow robots which enables InstanceDraw could not be shown in JointTextureLayout test case (#11136) 2022-05-19 09:24:58 +08:00
mmyduckx 9c0e425adb fix ios accelerometer not work (#11142)
* fix-ios-accelerometer not work

* remove all CC_TARGET_OS_TVOS related codes
2022-05-19 09:24:30 +08:00
minggo ac92997d96 do not handle Root in engine (#11140) 2022-05-18 18:20:55 +08:00
James Chen 48f7c674cc boost_hash_range return size_t which is 64bit on 64bit devices, so need to cast it to uint64_t. (#11137) 2022-05-18 17:22:46 +08:00
bofeng-song b3c62b9597 Suspend game thread after it has been running in the background for a… (#11112)
* Suspend game thread after it has been running in the background for a specified amount of time
* Use the macro switch to decide whether to enable thread pause  & remove unneeded code
2022-05-18 15:43:55 +08:00
Cocos Robot e300d17167 [ci skip][AUTO]: Automated code generating update: 14e696cfcc8e46b0aecb3c95683c3fe0773334b0 (#11128) (#11130)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-05-18 15:16:02 +08:00
minggo fac5bf833a Subsystem startup shutdown (#11128)
* refactor startup/shutdown process of BuiltinResMgr
* refactor startup/shutdown process of ProgramLib
2022-05-18 11:09:55 +08:00
Cocos Robot cbc500d020 [ci skip][AUTO]: Automated code generating update: cd5f758d5fbd96f9598e388e28886c2be9b69a96 (#11123) (#11127)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-05-18 09:57:12 +08:00
minggo 75dcf062c6 refactor startup/shutdown process of gfx device (#11123)
* refactor startup/shutdown process of gfx device
2022-05-17 17:29:09 +08:00
pandamicro dba83c270d Fix multi blank lines (#11116) 2022-05-17 11:56:06 +08:00
mmyduckx 22cc2e4878 add SharedPreferences related stroage implement (#11097) 2022-05-17 11:35:48 +08:00
minggo b33e91fb15 refactor startup/shutdown process of DebugRenderer (#11114)
* refactor startup/shutdown process of DebugRenderer
2022-05-16 19:32:01 +08:00
minggo c3a6205ce2 Refactor startup/shutdown process of ScriptEngine (#11108)
* refactor startup/shutdown process of ScriptEngine
2022-05-16 17:39:44 +08:00
黄森斌 8540874d56 [Feature] fbx editing template add smart material convesion property (#11101)
* editing fbx add property smart material

* 优化文案

* update smart material i18n config

* update i18n

* modify fbx edit

* change getConfig position
2022-05-16 16:33:28 +08:00
jk20012001 6cea6782d0 code style for surface shader (#11113) 2022-05-16 16:03:16 +08:00
jk20012001 279af9ce29 fix deferred pipeline webgl2.0 depth stencil with linear sampling (#11110) 2022-05-16 14:44:16 +08:00
zhakesi 4d426ccbd1 remove enableBatch from spine/db (#11100)
* remove enableBatch from spine/db

* add deprecated

Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-05-16 12:41:30 +08:00
jk20012001 d65fd4cc8c dcc effect rename (#11107)
* dcc effect rename

* rename

* rename
2022-05-16 12:41:24 +08:00
minggo b6debf5d3f refactor Profiler startup/shutdown (#11105) 2022-05-16 11:36:33 +08:00
袁炜海 17874c6fbd feat: hide addComponent button when scene is active (#11088) 2022-05-16 10:35:00 +08:00
Cocos Robot d0c5e2eed1 [ci skip][AUTO]: Automated code generating update: db5a5b6463c517f61071b766a82f4448cf9c297f (#11060) (#11103)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-05-16 10:25:17 +08:00
James Chen 7203b63a50 fixed #3d-tasks/11110: [native] Avoid two implementation of CCObject (#11060)
* fixed #3d-tasks/11110: [native] Avoid two implementation of CCObject
* Add more comments in CCObject.cpp
2022-05-16 09:49:45 +08:00