Commit Graph

21081 Commits

Author SHA1 Message Date
Ling Zhan 38bcd20e9f V3.8.2 bullet embind (#16350)
* bullet wasm embind

# Conflicts:
#	tests/init.ts

* replace imports with abstract methods of class

* embind performance opt

* wasm split loading

* tweak

* update native/external-config.json 3.8.2-14
2023-10-13 16:16:23 +08:00
qiuguohua f8b5d131f4 Turning off textinput when using SDL (#16421) 2023-10-13 10:20:04 +08:00
Zeqiang Li a73168142c storage image usage fix (#16404) 2023-10-12 14:02:32 +08:00
Leslie Leigh (李的序) d75496e187 Physics material inspector localization (#16409)
* Physics material inspector localization
* Document property ranges.
* Revert
* Update editor/i18n/en/modules/physics.js
2023-10-11 17:37:12 +08:00
徐兵 59acd11737 upload property from asset (#16281) 2023-10-11 16:40:27 +08:00
Leslie Leigh (李的序) 3781d34b34 Label component inspector localization (#16234)
* Label component inspector localization

* Update editor/i18n/zh/modules/ui.js

* Update
2023-10-11 14:47:54 +08:00
Leslie Leigh (李的序) 52726aa1a2 physx disable unused PVD for now (#16383)
* Disable unused PVD for now

* Update physx dep
2023-10-11 13:31:57 +08:00
bofeng-song 2831c61f0d Fix webaudio's bug: calling the 'checkEnded' interface after 'destroy' has been called can trigger a JavaScript error (#16393)
(cherry picked from commit a8e7f18bf7e4bc5decad9b78d1dc169c6068ce86)
2023-10-11 10:06:51 +08:00
James Chen 40ec21934b fixed #16355: Compilation fails in CI env if using Android NDK r26 (#16401)
* fixed #16355: Compilation fails in CI env if using Android NDK r26

* Update predefine.cmake
2023-10-11 10:00:13 +08:00
bofeng-song c76c160393 Fix the issue that after double-clicking the editbox, the editbox shifts or displays an offset on web mobile platforms (#16402)
* Fix the issue that after double-clicking the editbox, the editbox shifts or displays an offset on web mobile platforms
2023-10-10 18:19:33 +08:00
Ling Zhan db5779c77c V3.8.2 box2d wasm node scale performance opt (#16386)
* node scale cause box2d shape recreate, low perf
* box2d and polygon2d shape
* WASM_OBJECT_PTR_2_TS_OBJECT WASM_OBJECT_PTR_2_WASM_OBJECT
* tweak
* update external-config.json to v3.8.2-12
2023-10-10 16:57:01 +08:00
Zeqiang Li 6eb501d6ab geometry renderer macro in physx (#16396) 2023-10-10 16:46:54 +08:00
oahc09 fcb95b5a37 feat:[xr] support dispatch xr event to ts (#16382)
* feat:[xr] support dispatch xr event to ts

* improve:add se::AutoHandleScope scope;
2023-10-10 13:53:38 +08:00
James Chen 093bc8724e Update v8 to 11.6.189.22 (#16364)
* Update se code to adapt v8 11.4

* Fix setter

* VisitHandlesWithClassIds was added again.

* Remove log in evalString

* Revert in ScriptEngine.cpp

* Update external-config.json

* Remove unused ndkPath in libcocos2dx/build.gradle

* Update external config to v3.8.2-11
2023-10-10 11:06:02 +08:00
Zach Lee ac4ff3870a feat:add imutable texture flag for Webgl2 (#16332)
* feat:add imutable texture flag for Webgl2

* fix lint
2023-10-09 17:44:02 +08:00
Leslie Leigh (李的序) 767f44a313 Bug: deserialized scene should have node transforms invalidated at initial (#16353)
* Bug: deserialized scene should have node transforms invalidated

* Remove transformFlags modification in _onBatchCreated
2023-10-09 16:50:25 +08:00
minggo 5465d2bdb6 Merge pull request #16378 from minggo/v3.8.2-merge-v3.8.1
V3.8.2 merge v3.8.1
2023-10-09 15:27:59 +08:00
hyde zhou 7ccbd91d53 fix web (#165)
* fix web

* fix fg dispatcher
2023-10-09 14:45:06 +08:00
minggo 36a2933f6c Merge branch 'v3.8.1' into v3.8.2-merge-v3.8.1
Conflicts:
	.github/workflows/native-compile-platforms.yml
	cocos/physics/framework/deprecated.ts
	cocos/rendering/custom/executor.ts
	native/cocos/renderer/pipeline/custom/FrameGraphDispatcher.cpp
2023-10-09 14:15:51 +08:00
江战 d79d09557b Memleak fix (#16354) 2023-10-08 14:16:34 +08:00
Cocos Robot 602fa60627 [ci skip][AUTO]: Automated code generating update: 5e7e390c52d505377d699389e21304d86d7ee52d (#16339) (#16360)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-10-08 13:33:49 +08:00
GengineJS 956d71343e [Fixed] web pipeline framebuffer resize issue. (#16321) 2023-10-08 11:12:50 +08:00
PP 7a8bde3ace fix: load script packages before loading builtin assets (#16339)
* fix: load script packages before loading builtin assets

* fix eslint

* fix ci

* Revert "fix ci"

This reverts commit 38584722e93c5823684be31dbb796bb3908b4703.

* add errorID logID
2023-10-08 10:47:56 +08:00
James Chen 3d65154e61 Fix ndk version in ci script (#16356)
* Fix ndk version in ci script

* Fix typo of ANDROID_NDK in ci script

* Update ci script, free space for android build

* Don't clear android tools
2023-10-07 16:54:41 +08:00
dogeFu 461c4fe5ee fix : terrain paint error after save file in editor (#16343) 2023-10-07 16:50:33 +08:00
Leslie Leigh (李的序) 23ca385cae Autofix physics lint problems (#16323)
* Autofix physics lint problems

* Fix lint

* Opt
2023-10-07 16:13:49 +08:00
James Chen 91f5ea9cbf Fix ndk version in ci script (#16357) 2023-10-07 15:33:56 +08:00
Ling Zhan d437903c86 [fix] box2d-wasm joint2d null check (#16337) 2023-09-26 17:32:54 +08:00
Ling Zhan d8f1be6f05 [fix] box2d wasm joint stiffness and damping ratio now behaves the same as box2d.ts; fix rigidbody set type; fix box2d-wasm reallocate mem (#16278)
* [fix] box2d wasm joint stiffness and damping ratio now behaviors the same as box2d.ts; 
fix rigidbody set type; 
fix box2d-wasm reallocate mem
[fix] [physics2d] 1. debugdraw circle shape not consider rotation transform; 2. box2dwasm circle shape offset error
update native/external-config.json --> v3.8.2-9
2023-09-26 16:29:57 +08:00
oahc09 2928e74036 feat:support xr controller a/b/x/y/trigger/thumbstick touch event (#16293)
* feat:support xr controller a/b/x/y/trigger/thumbstick touch event

* fix:eslint problem

* refactor:add new enum/struct for touch event info
2023-09-26 14:32:23 +08:00
jk20012001 312a4b294b better tips for float output macro (#16335) 2023-09-26 14:30:35 +08:00
Ling Zhan 9a42164966 V3.8.2 physics debug draw (#16325)
* init debug draw

* tweak _debugDrawFlags

* px debug draw performance opt

* tweaks

* add debug draw for physx c++

* debug draw use MainWindow's cameras

* builtin physics draw; WireFrame-->wireframe

* cannon.js supports debug draw

* update engine-native-external --> v3.8.2-5

* tweak

* set engine-native-external --> v3.8.2-5, so that we can pass npm test

* fix: bullet debug draw by default should draw nothing

* comment tweaks

* tweaek

* update native/external-config.json --> 3.8.2-8
2023-09-25 18:05:33 +08:00
James Chen e9b2a15f18 Fix XR header include and don't build XRInterface.cpp if XR is disabled. (#16324) 2023-09-25 14:09:28 +08:00
Ling Zhan c909152ac8 physx supports wasm-split-loading(eg. wechat minigame) (#16310) 2023-09-25 10:23:02 +08:00
qiuguohua d75fb4e1b5 OpenHarmony platform modification configuration update rules (#16320)
* 1.Rules for modifying configuration changes
2.Update app name

* Modify variable name
2023-09-25 09:59:59 +08:00
Zeqiang Li 2c178e08f6 subpass output sort logic (#16314)
* subpass local attachment sort logic

* fix narrow cast
2023-09-22 18:34:46 +08:00
黄森斌 2ade35990f enable resize inspector preview area height (#16219)
* stash css style

* use inspector-resize-preview to resize height

* delay broadcast fbx change tab

* change material-header layout
2023-09-22 17:15:13 +08:00
黄森斌 ed14fdda2a optimize record material preview params (#16188) 2023-09-22 17:14:52 +08:00
GengineJS e2614859a7 [Fixed] sampler synchronization issues with compute view texture (#16318) 2023-09-22 17:02:19 +08:00
袁炜海 7e53d99269 feat: add block-input-events tip (#16147)
* feat: add block-input-events tip

* feat: use css var
2023-09-22 17:00:04 +08:00
黄森斌 8485880b00 fix edit texture-cube bug (#16260)
* fix edit texture-cube bug

* recover partial code
2023-09-22 16:44:18 +08:00
黄森斌 fccaa94938 set some assets not need to preview when editing property (#16312) 2023-09-22 16:42:23 +08:00
黄森斌 0f6dbbb318 Inspector: Add asset location icon (#16295) 2023-09-22 15:40:21 +08:00
James Chen 8c3e160846 Fix a compilation issue and a crash issue if using Xcode 15 (#16306)
* Fix crash in __cxx_global_var_init if using Xcode 15 and targeting <= iOS 14

* fixed #16190: Compilation errors if using Clang 15 with c++17 since std::unary_function has been removed (#16191)

* fixed #16190: Compilation errors if using Clang 15 with c++17 since std::unary_function has been removed

* Windows doesn't need to define BOOST_NO_CXX98_FUNCTION_BASE since it has already been defined.
2023-09-21 18:59:07 +08:00
Zeqiang Li 2039c33462 correct renderpass reorder logic (#16294) 2023-09-21 17:31:07 +08:00
Ling Zhan df58eb6df6 physics2d supports joint2d apply (#16299)
* support joint2d apply

* tweak
2023-09-21 14:01:45 +08:00
Yiwen 0a5befb6fc physics removes useless cone twist joint (#16285) 2023-09-20 21:31:53 +08:00
minggo 2a44a31ff6 Merge pull request #16290 from minggo/v3.8.2-merge-v3.8.1
V3.8.2 merge v3.8.1
2023-09-20 17:25:42 +08:00
minggo aa601815c4 Merge branch 'v3.8.1' into v3.8.2-merge-v3.8.1
Conflicts:
	cocos/render-scene/scene/submodel.ts
2023-09-20 15:15:22 +08:00
ChiaNing d2d7623e9d Integration of outline and shadow to label (#16106)
* Integration of outline and shadow to label

* add test

* change getter/setter

* name change & use assert

* test name change

* name change

* fix

* remove old attribute & add visible

* remove assert

* fix: gulp-build-h5-source

* Revert "fix: gulp-build-h5-source"

---------

Co-authored-by: PP_Pro <chinese1236@qq.com>
2023-09-20 11:14:42 +08:00