Commit Graph

18237 Commits

Author SHA1 Message Date
王凯鹏 fc16ecd4af fix edit-box error in gameview mode (#11733)
* fix edit-box error in gameview mode

* remove game.contener null check

* code refactor
2022-07-05 15:27:08 +08:00
PP cb15b27dd8 add internal constant NOT_PACK_PHYSX_LIBS (#11847) 2022-07-05 15:25:58 +08:00
黄森斌 67e9aa1f33 V3.6.0 allow multiple custom scripts exist in project with one same className (#11763)
* use getClassById instead of _getClassById

* use getClassId instead of _getClassId

* public cc.js.getClassId api

* allow className already exists, new one will replace old classObject

* create component use cid

* allow className exist when registing

* custom script className allow duplicated

* revert some comments

* preserve api and deprecate _getClassById and _getClassId

* revert some comments

* revert comment

* Update cocos/core/utils/js-typed.ts

Co-authored-by: PP <chinese1236@qq.com>

Co-authored-by: PP <chinese1236@qq.com>
2022-07-05 15:19:56 +08:00
黄森斌 579c6dd814 first show material preview do not update material asset (#11816) 2022-07-05 14:37:32 +08:00
minggo 54fc7be53f do not use align malloc (#11844)
c++17 supports create an aligned struct
2022-07-05 14:30:12 +08:00
Cocos Robot c5ad77de1b [ci skip][AUTO]: Automated code generating update: e821e0635bef9292af69fb0dc83b2a0a76f99153 (#11845) (#11848)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-05 13:46:43 +08:00
James Chen e41ec8b765 Fix binding of Node.inverseTransformPoint. (#11845) 2022-07-05 13:33:25 +08:00
Cocos Robot e4bf531cbe [ci skip][AUTO]: Automated code generating update: 5795fbc0125abd629c53786120d260a900b4944e (#11842) (#11846)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-05 11:48:41 +08:00
Yiwen d1e141990b fix camera jsb (#11842)
* fix camera jsb
2022-07-05 11:38:11 +08:00
Leslie Leigh (李的序) eaddf1dab7 Handle twice embedded player evaluations occur in difference animation iteration (#11836) 2022-07-05 10:50:32 +08:00
timlyeee 0e29467a3d reopen mac os simulator check ci (#11827)
* reopen mac os simulator check ci
2022-07-05 10:26:25 +08:00
Yiwen 8d4b6cbc96 fix the device crach appeared when the device fallback is performed (#11818)
* fix the device crach appeared when the device fallback is performed

* Fix crash on SM-9005 (#2)

Co-authored-by: James Chen <dumganhar@gmail.com>
2022-07-05 09:56:46 +08:00
zxx43 eac72ec891 modify particle pause to stop emitting (#11841) 2022-07-04 18:45:46 +08:00
qiuguohua e2a7c0a1df move FileUtils namespace from jsb to native & refine doc (#11830) 2022-07-04 17:52:41 +08:00
James Chen b6deb4ac91 [android] Use optimized compile and link flags to make shared library file (.so) smaller (#11792) 2022-07-04 17:35:41 +08:00
Santy-Wang dab024b47b fix stop pacer failed (#11835) 2022-07-04 17:24:24 +08:00
Cocos Robot 7b35d087a7 [ci skip][AUTO]: Automated code generating update: eb24b005f98a42ea87baccf07013cd85bf77d52b (#11775) (#11834)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-04 17:11:32 +08:00
James Chen 9fdfb687e2 Mesh supports half float format and the data can be deleted
1. Add support for converting float to half from some vertex attributes at runtime; 
2. Add Mesh.allowDataAccess property for releasing data after it is uploaded to GPU
2022-07-04 16:59:51 +08:00
Zhang mingzhen f411966b7f modify regex to adjust iOS version between 14.0 to 15.3 (#11698)
* modify regex to adjust iOS version between 14.0 to 15.3

* remove legacy code and put modification in new function

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-07-04 16:00:35 +08:00
Yiwen 01109e2554 correct precision of planar-shader's fragment shader (#11831) 2022-07-04 15:52:34 +08:00
Leslie Leigh (李的序) e6dfd98840 Optimize morph animation (#11728) 2022-07-04 15:40:45 +08:00
zxx43 d968de1004 V3.6.0 particle type warning fix (#11759)
* change parameter type number to CCFloat or CCInteger

* modify boolean to CCBoolean
2022-07-04 15:31:33 +08:00
SijieWang bba02a6983 [Bug] fix assignAssetsBy bug (#11768)
* [Bug] fix assignAssetsBy bug

* review code
2022-07-04 15:25:37 +08:00
bofeng-song c5f1fff740 fix component can not be removed, it`ll cause native object can not be released (#11809) 2022-07-04 15:25:15 +08:00
hyde zhou fd9afdd672 update doc of render-texture.ts (#11748)
* update doc of render-texture.ts
2022-07-04 15:22:14 +08:00
Cocos Robot b0183ae9de [ci skip][AUTO]: Automated code generating update: 124fe776af838ea3e854ce8ff3dc422481f3e632 (#11823) (#11826)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-04 13:55:58 +08:00
zhakesi f5b9908624 fix inverseBindposes undefine native platform (#11823)
Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-07-04 11:37:42 +08:00
江战 3887211c60 fix warning & include path (#11825) 2022-07-04 11:25:34 +08:00
江战 4f02ccfb0d replace jcenter https://developer.android.com/studio/build/jcenter-migration (#11824) 2022-07-04 10:25:49 +08:00
minggo 02a1eb0f55 Use raw pointer (#11804)
* Revert "use IntrusivePtr to share object (#11729)"

This reverts commit 8caec59711.

* Framebuffer uses weak reference

* make doDestroy reentency
2022-07-04 10:20:07 +08:00
Cocos Robot 98a53fc7a8 [ci skip][AUTO]: Automated code generating update: 65799bfb36a656db039e78f9b8054ed58df3595d (#11143) (#11822)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-03 23:39:50 +08:00
Santy-Wang 7bc135e1c7 adjust initialization process (#11143)
* adjust init process

* fix bugs

* restructure

* tweak

* delete useless code

* fix ci

* support more platform and fix some bugs

* mark internal

* tweak

* add docs

* add docs and little adjustment

* fix bugs

* adjust decorator execute order

fix mesh error

* fix bugs

* revert some change

* revert auto-generated code

* revert auto-generated code
2022-07-03 21:16:09 +08:00
zhakesi 8110169ad1 fix tmx load field in mini game platform (#11819) 2022-07-03 13:22:52 +08:00
Santy-Wang 38a12a5650 optimize api (#11691)
* optimize api

* use assert instead
2022-07-03 13:22:18 +08:00
timlyeee adc1eb6942 [Bug] fix executable check (#11820) 2022-07-02 22:23:06 +08:00
PP babbe9b269 use git clean -xfd to clear engine repo (#11771) 2022-07-02 15:59:46 +08:00
pandamicro 130a770cbd Cleanup imports (#11811) 2022-07-01 22:21:15 +08:00
PP 151eeb3dce deprecate exported x-deprecated interface (#11802)
* deprecate exported x-deprecated interface

* update

* update docs
2022-07-01 21:54:15 +08:00
袁炜海 0c29698a25 feat: update meta (#11814) 2022-07-01 21:31:34 +08:00
troublemaker52025 913aec8227 reduce instanced queue recordCommandBuffer at render-additive-light-queue v3.6.0 (#11798) 2022-07-01 19:33:36 +08:00
fish9167 2210fad6b1 Chnage concurrency group (#11815)
Co-authored-by: jianping.yu <jianping.yu@cocos.com>
2022-07-01 19:19:10 +08:00
minggo 699c6c58d2 some refactor (#11810)
- put related codes together
- use more meaningful variable names
- do not use temple vector as possible
2022-07-01 19:00:06 +08:00
timlyeee 924f5136c0 fix mac (#11813) 2022-07-01 18:46:54 +08:00
jk20012001 402cf1602a code style: rename spotlightingmap->spotshadowmap (#11800) 2022-07-01 16:17:52 +08:00
timlyeee a69576912b add win64 release, check after clean (#11805)
* add win64 release, check after clean
2022-07-01 16:17:02 +08:00
Cocos Robot e13f1ed021 [ci skip][AUTO]: Automated code generating update: 5770a3d382506ed1bd87d2564d4ec1060b5d54a3 (#11803) (#11806)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-01 15:15:57 +08:00
James Chen cc07c54204 Fix crash if device doesn't support vulkan or gles3 (#11803) 2022-07-01 14:59:34 +08:00
徐兵 63cf1f59cc add DCC_APP_GLTF and modify DCC_APP_NAME (#11801)
* add DCC_APP_GLTF

* add surfaces dcc effect
2022-07-01 14:57:42 +08:00
PP 613addca36 play web audio after context get running (#11708)
* play web audio after context get running

update

* update
2022-07-01 14:46:44 +08:00
PP 9718672ee0 dispatch cancel event when node is destroyed while it's being touching (#11684)
* dispatch cancel event when node is destroyed

udpate

* update
2022-07-01 13:50:58 +08:00