Commit Graph

21283 Commits

Author SHA1 Message Date
yanjifa d1d1fbfefe fix (#16689) 2024-04-08 13:58:19 +08:00
minggo bb74373708 Merge pull request #16843 from cocos/v3.8.3
merge v3.8.3 to v3.8.4
2024-03-29 11:40:18 +08:00
minggo 6fb129f562 add shrink threshold (#16840)
* add shrink threshold
2024-03-29 10:54:55 +08:00
James Chen 118ecb2d3e Fix missing column information in stack. (#16838) 2024-03-29 10:37:39 +08:00
Knox 1bff4d4a4c Fix terrain asset unsynchronized data (#16841) 2024-03-28 18:10:33 +08:00
James Chen 7db7b125f8 fixed #16831: Error information is printed forever if there is an error is triggered in timer callback (#16833) 2024-03-28 11:42:17 +08:00
James Chen 4cba077734 fixed #14735: CocosApplication::handleException could not be invoked if there is an error triggered in touch event callback. (#16830)
* fixed #14735: CocosApplication::handleException could not be invoked if there is an error triggered in touch event callback.

* Don't try catch script errors in se::Object::call. Otherwise, jsb.onError & CocosApplication::handleException will not be invoked in debug mode.
2024-03-28 09:58:49 +08:00
qiuguohua 620cd5c3d8 Optimize uiopacity component (#16828)
* Optimize uiopacity component

* Change interruptParentOpacity to parentOpacity

* Add comments and optimize variable names

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-03-28 09:49:20 +08:00
qiuguohua 66f7cf933f Fix misspelled function names (#16834)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-03-27 17:01:31 +08:00
袁炜海 8c7203e65c fix: dispatch confirm event,when change the label proprity (#16819) 2024-03-26 11:27:37 +08:00
吴智明 514d7bdfb0 remove redirect property used (#16813)
Co-authored-by: zhiming.wu <zhiming.wu@cocos.com>
2024-03-26 10:59:37 +08:00
袁炜海 c16ab18c4b fix: use gltf-scene as a fillter, when open a asset dialog (#16810) 2024-03-26 10:58:51 +08:00
James Chen 492c8133a4 fixed #16787: fix cc.GeometryRenderer is undefined on native platforms (#16825) 2024-03-26 10:17:36 +08:00
hyde zhou a50b962851 Fix metal missing MTLTextureUsagePixelFormatView flag on depth stencil texture (#16821) 2024-03-25 16:49:31 +08:00
bofeng-song 5da2f9b63a fix orientation-change can not work normally (#16774)
* fix orientation-change can not work normally
2024-03-22 09:27:54 +08:00
qiuguohua 559bfc9467 Added unit tests (#16802)
* Added unit tests

* Modify the name

* Adding new test cases

* Remove redundant test cases

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-03-19 16:49:43 +08:00
袁炜海 7ac4d221a2 fix:inspector/image-preview: replace ui-image with ui-asset-image (#16796)
* fix:inspector/image-preview: replace ui-image with ui-asset-image

* fix:inspector/image-preview: size origin
2024-03-15 15:08:47 +08:00
Knox b741a6940b add set brush depth offset properties for terrain effect (#16804) 2024-03-15 14:44:27 +08:00
袁炜海 3533ff277d fix: All pass operations participate in caching. (#16777) 2024-03-15 14:40:58 +08:00
吴智明 69cb24cd3d Optimize the inspector panel to selectively invoke requestAnimationFrame as needed. (#16803)
* Fix the bug causing performance degradation due to repeated invocation of requestAnimationFrame.

* change isPreviewDataDirty to false after draw finished

* remove unnecessary condition check

---------

Co-authored-by: zhiming.wu <zhiming.wu@cocos.com>
2024-03-15 09:36:57 +08:00
qiuguohua ed55413c26 Supplementing spriteframe's clone function (#16771)
* Supplementing spriteframe's clone function

* Remove identical variables and reorder variables

* Deep copy mesh objects during clone

* Call createMesh directly to avoid duplication of work

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-03-14 09:24:38 +08:00
媛媛 2a60c6a96a update application url in openharmony template (#16795) 2024-03-13 17:00:43 +08:00
qiuguohua 5cc7c0489f editbox updates coordinates before drawing (#16792)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-03-13 11:09:32 +08:00
Cocos Robot 01293a995d [ci skip][AUTO]: Automated code generating update: d73a1227df1d6352e2b03ad93a11a614eb1704fc (#16781) (#16784)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-03-11 10:09:17 +08:00
hyde zhou b1b586c177 add attenuation to spot light component (#16781)
* add attenuation to spot light component

* add i18n

* add spotAngle i18n

* fix spot-light-component initialization
2024-03-11 10:02:16 +08:00
hyde zhou aff1811ad0 V3.8.3 spotlight (#16780)
* add spot light angle attenuation strength

* rename
2024-03-08 12:00:23 +08:00
hyde zhou 8d7e3bf207 add spot light angle attenuation strength (#16776) 2024-03-08 11:13:04 +08:00
James Chen d25984134f Fixed no error callback if loading an remote audio resource that doesn't exist on the server. (#16773) 2024-03-07 09:31:19 +08:00
吴智明 39d43ad956 Fix the bug causing performance degradation due to repeated invocation of requestAnimationFrame. (#16711)
Co-authored-by: zhiming.wu <zhiming.wu@cocos.com>
2024-03-06 13:59:33 +08:00
James Chen 75e6ea0cbf Update ccbuild to 2.2.9 (#16772) 2024-03-06 11:33:52 +08:00
GengineJS 78a016b9cb [Add] raytracing data preparation (#16766) 2024-03-05 14:33:17 +08:00
GengineJS 70beb52b63 Fix the problem of layoutStage reporting an error under the queue of fullscreenquad (#16770) 2024-03-05 12:18:49 +08:00
qiuguohua 1679f2cbf7 Fix label inactivation without calling destroy to release resources (#16753)
* Destroy SpriteFrame when the component is released

* Using the _isOnLoadCalled interface

* Change _onPreDestroy in label from public to protected.

* Add the override comment

* Modify label's _onPreDestroy function to public

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-03-05 10:41:41 +08:00
dream93 6f77a3afc8 fix box2d asmjs doesn't resolve in promise callback (#16736) 2024-03-05 10:11:22 +08:00
James Chen 5601e75aff Add bytedance high performance mode check in sys.ts (#16769) 2024-03-05 10:10:23 +08:00
qiuguohua 34bff48a3c Modify editbox to update dom coordinates after update (#16768)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-03-05 10:02:13 +08:00
James Chen bcd2669f83 Update ccbuild to 2.2.8 (#16767) 2024-03-04 16:14:53 +08:00
James Chen 6f948c64ee fixed #16762: [3.8.2] Incorrect 3D Particle Rotation Effect (#16763) 2024-03-04 10:43:04 +08:00
qiuguohua afa8e1313c support char mode emoji and multibyte emoji like 👨‍👩‍👧‍👦 (#16738)
* support char mode emoji and multibyte emoji like 👨‍👩‍👧‍👦
https://github.com/cocos/cocos-engine/issues/15192

* 1. Optimize character expression processing
2. Add unit test

---------

Co-authored-by: ankye <shengxiehua@gmail.com>
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-03-04 09:48:42 +08:00
媛媛 08dd1c9d17 update plugin script default value (#16759) 2024-02-28 09:27:13 +08:00
James Chen c32c66c511 Remove "@cocos/build-engine" module, its functionality was moved to "@cocos/ccbuild". (#16755)
* Remove "@cocos/build-engine" module, its functionality was moved to "@cocos/ccbuild".

* Remove scripts/build-engine directory.

* Update package.json

* Remove unused run-build-engine.yml file
2024-02-23 14:31:26 +08:00
hyde zhou 020cf3176e add log to confirm using custom pipeline (#16751) 2024-02-22 17:05:40 +08:00
bofeng-song a7efee6ce7 Fix the playback speed issue caused by multiple timeScale multiplications in Spine. (#16745)
* Fix the playback speed issue caused by multiple timeScale multiplications in Spine.
2024-02-22 13:41:15 +08:00
媛媛 0e6212280b update image label && icon in asset header (#16741) 2024-02-22 11:51:11 +08:00
hyde zhou 04fb19e9f1 add custom pipeline for test (#16746) 2024-02-22 10:19:13 +08:00
bofeng-song e1a84b51eb fix spine.EventType not exort from native (#16743) 2024-02-21 14:27:18 +08:00
hyde zhou e7da9c4458 fix compile (#16739) 2024-02-20 18:38:28 +08:00
袁炜海 712f39185c feat: The operation on the prefab includes the option to unlink all associations. (#16717)
* feat: add prefab unlink recursively

* feat: update disable
2024-02-20 10:49:01 +08:00
J.C c61c892345 fix swig type error (#16729) 2024-02-19 11:54:26 +08:00
J.C 6c49a01aae fix the wrong size used to resize the buffer (#16730) 2024-02-19 11:52:40 +08:00