Commit Graph

21301 Commits

Author SHA1 Message Date
hyde zhou 04e1b25940 fix joint floating point division (#16940) 2024-05-06 10:31:50 +08:00
bofeng-song 2d0d9f6e60 Refine: rename wrong variable name (#16938) 2024-05-06 10:29:21 +08:00
James Chen 4d752400cd Fix divide zero issue in mat4.toSRT which causes node._lrot with NaN values. (#16935) 2024-04-29 11:24:23 +08:00
bofeng-song 30b0031290 fix the issue of material release bug for spine & dragonbone (#16931)
* fix spine cache animation delete material cache bug

* fix the issue of material release bug for spine & dragonbone

---------

Co-authored-by: xinyangtan <653588267@qq.com>
2024-04-29 09:53:24 +08:00
GengineJS 5b2f8a6943 Resolving the issue where transparent objects fail to render when changing screen resolution. (#16927) 2024-04-26 00:21:06 +08:00
hulcypdiscord de2e1e54b1 Fix for particle system render bounds center getting out of sync (#16912)
* Fix for particle system render bounds center getting out of sync with particle system location if the particle system is disabled and moved.
2024-04-24 09:44:42 +08:00
minggo 68eba07c17 use enum integer (#16923)
* use enum integer
2024-04-23 17:16:00 +08:00
James Chen 2877f3df6c fixed #16915: an eslint error if invoking getComponent for a union type Node | Component. (#16921) 2024-04-23 14:05:26 +08:00
James Chen 340e30d18c fixed #16594: getComponent() can't support abstract class. (#16917) 2024-04-22 16:41:40 +08:00
minggo 618c7022b3 deprecate some functions (#16919)
* deprecate some functions
2024-04-22 14:50:48 +08:00
bofeng-song a461bdcab1 Correct the implementation error of the spine.skin interface, which leads to the array objects affected by the interface not being the same. (#16909)
* Correct the implementation error of the spine.skin interface, which leads to the array objects affected by the interface not being the same.
2024-04-19 11:47:29 +08:00
minggo cde48d1750 add Vec2.toVec3() and Vec3.toVec2() (#16906)
* add Vec2.toVec3() and Vec3.toVec2()
2024-04-17 14:00:59 +08:00
minggo 56661467db export Atlas (#16902) 2024-04-16 14:29:14 +08:00
minggo 72c8487dc3 Fix touch event (#16893)
* only one event processor can handle the corresponding touch end/cancel event
when touch end/cancel event is handled, other event processor that waiting to handle the touch event should be canceld.
2024-04-12 13:39:32 +08:00
minggo 24f3f6583b support mouse leave/enter envents (#16886) 2024-04-10 15:14:48 +08:00
bofeng-song 0e8c314d9b Resolve the issue of Spine displaying inconsistencies depending on whether batch is enabled or not. (#16888)
(cherry picked from commit 760049165398bb43538d442386a3a252ca40ff31)
2024-04-10 14:13:02 +08:00
qiuguohua 7d08288e6a Fix the problem that atlas will create an extra one (#16861)
* Fix the problem that atlas will create an extra one

---------

Co-authored-by: qgh <>
2024-04-10 09:28:46 +08:00
James Chen d3e5f123cb fixed #16874: Inspector doesn't support string enum type (#16875)
* fixed #16874: Inspector doesn't support string enum type

* Update the logic of checking string enum
2024-04-08 14:00:06 +08:00
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