Commit Graph

6344 Commits

Author SHA1 Message Date
Canvas 6fec3201fd fix spine-skeleton-instance.cpp 3.8.0 -> 3.8.1 missing code issue. (#15876) 2023-08-07 10:23:34 +08:00
Jiujiang Liu b37b73a7b7 make allowDataAccess is only available at runtime. (#15835)
* make allowDataAccess is only available at runtime.
2023-08-04 16:20:53 +08:00
qiuguohua 06341f3037 Uncapture global mouse events. (#15834) 2023-08-02 14:20:24 +08:00
徐兵 f20bf8ce11 init reflection probe id with native engine (#15829) 2023-07-28 16:24:35 +08:00
qiuguohua b6bcc12b7e Solve unchecked websocket link failure issue (#15799) 2023-07-26 10:15:45 +08:00
徐兵 d97d3c655a add global post settings (#15558) 2023-07-25 15:40:55 +08:00
bofeng-song acab20f348 fix multi touch cause crash on Android platform (#15796) 2023-07-24 10:21:39 +08:00
李吉林 72db3322bd add light probe group help (#15797) 2023-07-21 15:19:24 +08:00
qiuguohua 6d666d2f1d Fix the problem of incorrect screen resolution after resize. (#15785) 2023-07-20 17:32:12 +08:00
江战 9ce02b54aa use boost-bcp to reduce external size (#15770) 2023-07-20 10:21:41 +08:00
minggo 9415d1b124 Merge pull request #15757 from minggo/v3.8.1-merge-v3.8.0
V3.8.1 merge v3.8.0
2023-07-18 13:34:48 +08:00
hyde zhou 979e3c9677 V3.8.1 msaa (#15584) 2023-07-18 11:55:05 +08:00
minggo e5802a5e9c Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
Conflicts:
	cocos/spine/lib/spine-define.ts
	cocos/spine/skeleton-cache.ts
	cocos/spine/skeleton.ts
:	native/external-config.json
2023-07-18 11:53:54 +08:00
hyde zhou 7a4841404f fix test (#15755) 2023-07-17 16:59:04 +08:00
bofeng-song 95c93e51c1 refine: Optimize the display of the editing box on the Android platform. (#15730)
* refine: Optimize the display of the editing box on the Android platform.
2023-07-17 16:11:13 +08:00
qiuguohua fb2f76d028 Repair mac platform to open the pointerlock click mouse will appear offset problem. (#15750) 2023-07-17 11:43:55 +08:00
Canvas c023759a1c update external version v3.8.0-17 -> v3.8.0-18. (#15744) 2023-07-15 13:41:45 +08:00
Canvas 91fb580cb5 add skin getAttachment api. (#15738) 2023-07-14 18:23:34 +08:00
James Chen d31a3d6188 fix #15704: [swig] The generated glue code is wrong if rename an inner class (#15710) 2023-07-14 09:58:27 +08:00
qiuguohua 39c57f0dbb v3.8 Support openharmony4.0 (#15708)
* Fix openharmony platform issues:
1. Fix xmlhttprequest request problems.
2. Repair the problem of not being able to display full screen.

* fix: crash on OH 4.0 (#15656)

* Openharmony adapted to the new Deveco(3.1 beta2) version

* Runtime environment using harmonyos

* Modifying configuration content

* Modify the usage syntax
Restore default values

---------

Co-authored-by: PP <chinese1236@qq.com>
2023-07-13 17:22:32 +08:00
Cocos Robot 52716440f5 [ci skip][AUTO]: Automated code generating update: a38b541b8130e82f3a6268e093eaaad769bda6cd (#15691) (#15706)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-07-13 14:19:26 +08:00
minggo 802a1f0959 Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
Conflicts:
	cocos/core/utils/x-deprecated.ts
	cocos/physics/bullet/instantiated.ts
	cocos/physics/framework/components/character-controllers/character-controller.ts
	cocos/render-scene/scene/shadows.ts
	cocos/rendering/render-shadow-map-batched-queue.ts
	cocos/spine/lib/instantiated.ts
	cocos/spine/lib/spine-define.ts
	cocos/spine/skeleton.ts
	native/cocos/editor-support/spine-wasm/AtlasAttachmentLoaderExtension.cpp
	native/cocos/editor-support/spine-wasm/spine-skeleton-instance.cpp
	native/cocos/editor-support/spine-wasm/spine-skeleton-instance.h
	native/cocos/editor-support/spine-wasm/spine-type-export.cpp
	native/cocos/editor-support/spine-wasm/spine-wasm.cpp
	native/external-config.json
2023-07-12 16:02:10 +08:00
James Chen aa53a8b03e fixed #15688: [JSB] Assertion was triggered if bind an inner class whose parent is also an inner class (#15689) 2023-07-12 13:37:28 +08:00
Santy-Wang e5d61cf2a2 fix problem when skin changed and slot texture changed (#15677)
* fix problem when skin changed and slot texture changed

* update external version
2023-07-11 18:27:47 +08:00
Santy-Wang 31b10ffdc5 update external version (#15675) 2023-07-11 14:27:39 +08:00
Canvas 399e8a1d54 Fix the enumeration order of event types in Wasm (native) and TypeScript interfaces. (#15664)
* Fix the issue of aligning the enumeration order of event types in Wasm (native) and TypeScript interfaces.

* optimize EventType_Complete order.

* fix mapping bindings.
2023-07-10 14:38:25 +08:00
Canvas 89cd677200 fix spine STRING_STD2SP function Uncaught RuntimeError: memory access out of bounds. (#15663)
Co-authored-by: Santy-Wang <wh19930829@qq.com>
2023-07-10 14:14:10 +08:00
Santy-Wang fedcfd295e export getAttachments (#15661)
* export getAttachments

* export getAttachments and other interface

* change string to const string&
2023-07-10 12:34:33 +08:00
江战 9aaee8c8f7 Update external-config.json (#15649) 2023-07-07 16:56:53 +08:00
Canvas 8ed2ed5786 Spine v3.8.0 Fix missing interface bindings (#15618)
* Fix spine replacement skin and animation bone rendering data not refreshed.

# Conflicts:
#	cocos/animation/marionette/graph-eval.ts
#	cocos/physics/framework/components/constraints/hinge-constraint.ts
#	cocos/rendering/custom/pipeline.ts
#	cocos/rendering/custom/private.ts
#	cocos/rendering/custom/render-graph.ts
#	cocos/rendering/post-process/passes/forward-pass.ts
#	cocos/rendering/post-process/passes/forward-transparency-pass.ts
#	cocos/rendering/post-process/passes/index.ts
#	cocos/rendering/post-process/passes/tone-mapping-pass.ts
#	cocos/rendering/post-process/post-process-builder.ts
#	editor/assets/effects/advanced/leaf.effect
#	editor/i18n/en/animation.js
#	editor/i18n/en/localization.js
#	editor/i18n/zh/animation.js
#	editor/i18n/zh/localization.js
#	editor/inspector/assets/fbx/model.js
#	native/cocos/renderer/pipeline/custom/NativeExecutor.cpp
#	native/cocos/renderer/pipeline/custom/NativePipeline.cpp
#	native/cocos/renderer/pipeline/custom/NativePipelineTypes.h
#	native/cocos/renderer/pipeline/custom/NativeRenderGraph.cpp
#	native/cocos/renderer/pipeline/custom/RenderInterfaceTypes.h

* Add bone & IkConstraintData & IkConstraint & PathConstraintData & PathConstraint setter bindings.

* Add TrackEntry & AnimationState & Animation setter bindings.

* Fix the problem that SkeletonData removal skin  and animation are not removed on editor.

* fix the problem of skeleton animation delete refresh.

* add Skeleton getState interface.

* optimize the requestDrawData parameter name & fix get texture by textureID.

* add getAttachments

* Add slots and atlas mapping hash.

* optimize atlas hash code.

* parsing atlas from native layer.

* rollback to remove the skeleton component of forced refresh.

* revert some change

* optimize get atlas page index & fix multi-posting texture cache mode does not display.

* fix extra space.

---------

Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: santy-wang <wh19930829@qq.com>
2023-07-07 16:28:28 +08:00
hyde zhou 308816f4a9 fix native pipeline instancing implementation (#15647) 2023-07-07 16:06:24 +08:00
James Chen 73776a0993 Update external to v3.8.0-14 (#15635) 2023-07-07 10:53:23 +08:00
Ling Zhan 083e3b284d [fix] physx rigid body sleep issues (#15625)
* [fix] physx rigid body sleep issues

* tweaks
2023-07-06 12:40:26 +08:00
minggo 7ef995b655 Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
Conflicts:
	cocos/3d/lights/spot-light-component.ts
	cocos/animation/event/event-emitter.ts
	cocos/physics-2d/box2d/physics-contact.ts
	cocos/physics-2d/box2d/physics-world.ts
	cocos/physics-2d/box2d/platform/physics-contact-listener.ts
	cocos/physics-2d/builtin/builtin-world.ts
	cocos/physics/framework/components/constraints/configurable-constraint.ts
	cocos/spine/assembler/simple.ts
	cocos/spine/skeleton.ts
	native/cocos/editor-support/spine-wasm/spine-model.cpp
	native/cocos/editor-support/spine-wasm/spine-model.h
	native/cocos/editor-support/spine-wasm/spine-skeleton-instance.cpp
	native/cocos/editor-support/spine-wasm/spine-skeleton-instance.h
	native/cocos/editor-support/spine-wasm/spine-type-export.cpp
	native/external-config.json
2023-07-03 15:25:13 +08:00
Santy-Wang e653f6f953 Update external-config.json (#15598)
update spine wasm
2023-07-02 22:00:23 +08:00
Canvas 6d0c1d340e Fix spine replacement skin and animation bone rendering data not refreshed. (#15597) 2023-07-02 20:16:27 +08:00
zhakesi a1fa17e466 fix some bugs in spine webassembly (#15569)
* fix blend enum export

* fix convert string from ts to sp string

* update skeleton data in preload

* feature: support change slot texture web

* feature: spine change slot texture native

* fix set debug render in native

* fix some spine asset with no mesh data

* fix some interfaces

* fix change slot repeat to create middleware textures

* fix code style

* update external config
2023-06-30 15:05:16 +08:00
James Chen 324e47589e Update swig to cocos-v1.1.5 to resolve function name of glue code for overloaded constructor (#15588) 2023-06-30 11:32:04 +08:00
hyde zhou 35f64816f3 V3.8.0 pipeline api document (#15529) 2023-06-29 12:35:28 +08:00
江战 5f71d04aac Filp the y-axis value for stick (#15570) 2023-06-28 18:21:29 +08:00
minggo e7c5b34e18 Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
Conflicts:
	cocos/2d/assembler/label/text-processing.ts
	cocos/physics/bullet/instantiated.ts
	cocos/profiler/profiler.ts
	cocos/rendering/custom/executor.ts
	cocos/rendering/custom/index.ts
	cocos/rendering/custom/web-pipeline.ts
	cocos/rendering/pipeline-scene-data.ts
	cocos/root.ts
	cocos/spine/assembler/simple.ts
	cocos/spine/lib/instantiated.ts
	cocos/spine/lib/spine-define.ts
	cocos/spine/skeleton.ts
2023-06-27 13:35:35 +08:00
Ling Zhan 3afeca4d15 update native/external version v3.8.0-11 (#15546) 2023-06-27 10:41:20 +08:00
mmyduckx 495830614a fix mac editbox show bug when resize (#15533) 2023-06-26 17:13:36 +08:00
James Chen f9dd8bcbc4 Fix spine.wasm could not run in safari with iOS which version is lower than 15. (#15515)
* Fix spine.wasm could not run in safari with iOS which version is lower than 15.

* Update external config.

* Revert "fix: add WASM_FALLBACK for spine wasm module (#15511)"

This reverts commit e5dde7f37d.
2023-06-25 10:37:04 +08:00
PP e5dde7f37d fix: add WASM_FALLBACK for spine wasm module (#15511)
* fix: add WASM_FALLBACK for spine wasm module

* update external

* fix eslint
2023-06-21 16:51:16 +08:00
troublemaker52025 34e6f8900a fix csm ubo data in custom pipeline (#15502) 2023-06-21 11:46:20 +08:00
Ling Zhan b1214a5327 [fix] math Quaternion::fromMat3 (#15491)
* [fix] native math Quaternion::fromMat3 and Mat3::fromViewUp
2023-06-21 09:33:14 +08:00
Zeqiang Li bc60d5a9d8 avoid unexpected glslang behavior (#15488) 2023-06-20 21:28:37 +08:00
zhakesi 9c58507850 fix jsb root function destroyModel named removeModel (#15497) 2023-06-20 19:17:56 +08:00
troublemaker52025 d4e10bc27c [bug] fix wild pointers (#15489)
* [bug] fix wild pointers
2023-06-20 15:57:20 +08:00