Commit Graph

20730 Commits

Author SHA1 Message Date
mmyduckx b826a43a03 fix videoPlayer change Source related bug (#15695) 2023-07-13 10:33:58 +08:00
bofeng-song 7465cf6822 Fix LOD can not work normally while node's active changed dynamically (#15641)
* Fix LOD can not work normally while node's active changed dynamically
2023-07-13 09:52:45 +08:00
minggo 85198e300c Merge pull request #15692 from cocos/v3.8.1-merge-v3.8.0
V3.8.1 merge v3.8.0
2023-07-12 16:54:11 +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
hyde zhou 1aed1fe8b7 fix effect.bin serialization (#15690) 2023-07-12 12:27:32 +08:00
troublemaker52025 50d9179bbe Optimize effect dependency and package size (#15650) 2023-07-12 11:42:17 +08:00
Leslie Leigh (李的序) 43b9fd4485 PoseGraph: fix apply transform node (#15632)
* Fix apply transform

Tweak

* Optimize
2023-07-12 11:20:25 +08:00
GengineJS 4b62d5d813 [Remove] Remove the discard check of the managed resource (#15685) 2023-07-12 10:45:43 +08:00
mmyduckx 57414e27c2 fix videoPlayer puase seekTo bug (#15678) 2023-07-12 09:58:47 +08:00
黄森斌 3c963bb94f optimize inspector interface when edit node (#15679)
* optimize inspector interface

* move up or down component, keep its expand state
2023-07-12 09:15:51 +08:00
Santy-Wang b318b39eb9 Revert "remove useless code (#15682)" (#15683)
This reverts commit 9f035047c7.
2023-07-11 20:50:41 +08:00
Santy-Wang 9f035047c7 remove useless code (#15682) 2023-07-11 20:42:46 +08:00
Santy-Wang ddc19f1228 Remove useless code (#15670)
* remove unused data

* refine
2023-07-11 18:38:34 +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
Knox 09f83b4d03 Optimization of user warnings when checking "Use Baked Animation. (#15612)
* 勾选use baked animation时的用户警告优化

* 更新 i18n
2023-07-11 16:16:36 +08:00
Santy-Wang 31b10ffdc5 update external version (#15675) 2023-07-11 14:27:39 +08:00
mmyduckx dd55b22ef8 fix wechat videoplayer pause&stop&play bug (#15668)
* fix wechat videoplayer pause&stop&play bug
2023-07-10 18:17:35 +08:00
Leslie Leigh (李的序) 47694d591d Animation: fix ExoticVectorLikeTrackValues field serialization (#15507) 2023-07-10 16:14:07 +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
江战 4b6f482b60 fix CI vulkan-sdk CDN? issue, run vcpkg when choco fails (#15667) 2023-07-10 13:41:34 +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
Canvas aa9b4520c3 fix spine animation does not render in cache mode when total time is 0. (#15662)
* fix spine animation does not render in cache mode when total time is 0.

* fix code format.
2023-07-10 11:02:19 +08:00
Leslie Leigh (李的序) f608d9840e Prevent jest from transforming physics external module (#15653) 2023-07-10 10:10:32 +08:00
PP cc35a61075 fix: crash on OH 4.0 (#15656) 2023-07-10 09:31:14 +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 99faec005f remove TextDecoder (#15648) 2023-07-07 16:24:43 +08:00
PP 79bec572f9 [AOT] fix: crash when setting uniform of particle system (#15639)
* [AOT] fix: crash when setting uniform of particle system

* update note
2023-07-07 16:06:58 +08:00
hyde zhou 308816f4a9 fix native pipeline instancing implementation (#15647) 2023-07-07 16:06:24 +08:00
jk20012001 9169f73ba3 fix shader compilation error (#15646) 2023-07-07 12:45:14 +08:00
jk20012001 14c1237a3d fix leaf scattering code (#15645) 2023-07-07 12:22:32 +08:00
ChiaNing 8d235204de add renderRoot2d help (#15644) 2023-07-07 12:01:58 +08:00
James Chen 73776a0993 Update external to v3.8.0-14 (#15635) 2023-07-07 10:53:23 +08:00
Santy-Wang 1f45c86e4d fix spine artifact in editor (#15640) 2023-07-07 10:50:54 +08:00
changhua 7b5bec1241 optimize the text when fbx do not exist lod (#15643) 2023-07-07 10:29:13 +08:00
ChiaNing acd8e96cd3 fix spine cache mode bug when no animation (#15637) 2023-07-06 20:43:49 +08:00
troublemaker52025 9421ab1165 fix csm instancedBuffer large primitives count for custom-pipeline (#15636) 2023-07-06 18:56:06 +08:00
徐兵 38906003bf fix crash on color grading with GLES (#15634) 2023-07-06 18:28:32 +08:00
Leslie Leigh (李的序) a3ee06e374 Optimize unit test; support overriding constants in per-test-suite (#15628)
* Optimize unit test; support overriding constants in per-test-suite
2023-07-06 18:00:03 +08:00
bofeng-song 777c855ef2 Fix the problem that the sound cannot be stopped after calling minigamePlayer.stop on the Alipay platform. (#15633)
* fix audio can not be stopped while call MiniGamePlayer's stop
2023-07-06 15:42:13 +08:00
PP 649e81a7b2 optimize: ensure wasm module ready before importing (#15631)
* optimize: ensure wasm module ready before importing

* Update @types/pal/minigame.d.ts

* Update pal/wasm/wasm-minigame.ts

* use reject instead of warnning

* optimize: add promiseToLoadWasmModule

* add shouldUseWasmModule method to simplify code

* fix: subpackage loading on taobao minigame platform

* Update pal/wasm/wasm-minigame.ts
2023-07-06 15:34:31 +08:00
Leslie Leigh (李的序) ff40e7402e Tweak deserialization code (#15630)
* Tweak deserialization code
2023-07-06 14:34:03 +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
mmyduckx b3eeaba86b add constrain for wechat logo default ratio (#15627)
* add constrain for wechat logo default ratio
2023-07-06 09:48:47 +08:00
Ling Zhan 08d9a34457 character controller api tweaks (#15621)
* character controller api tweaks

* tweak
2023-07-05 15:28:18 +08:00
yinkaile 937f80abfe fix shadow issue for camera use post process with custom pipeline (#15620) 2023-07-05 14:33:31 +08:00
bofeng-song 1d85b94925 All games, mini-programs, and runtime platforms with onWindowResize need to listen to it. (#15617)
* All games, mini-programs, and runtime platforms with onWindowResize need to listen to it.
2023-07-05 11:20:24 +08:00
bofeng-song 85db1c3d7c alipay: the accessSync interface needs to check if it is successful. (#15616) 2023-07-05 11:02:37 +08:00