Commit Graph

5933 Commits

Author SHA1 Message Date
李吉林 85395fbcd6 fix interpolation bug due to Mat3::set (#13750)
* fix interpolation bug due to Mat3::set
2022-12-08 20:26:02 +08:00
OnlyKoei e0cd2932b7 Update Android KeepScreenOn handling (#13746) 2022-12-08 17:47:42 +08:00
minggo 6cc76a5f94 Merge pull request #13741 from minggo/merge-v3.6.3
Merge v3.6.3
2022-12-08 17:19:08 +08:00
James Chen 65fcc225b6 fixed #12670: [doc] Swig documentation about %arg(...) and not need to add const prefix for attribute (#13740)
* fixed #12670: [doc] Swig documentation about %arg(...) and not need to add const prefix for attribute
2022-12-08 17:15:16 +08:00
zhakesi 4551b690a2 fix 2d module mesh buffer indices out of range (#13715)
* fix 2d module mesh buffer indices out of range

* use resize instead of checkSpace
2022-12-08 16:35:49 +08:00
hyde zhou aa7c8940ba [pipeline] refactor program-lib.ts, pass.ts (#13610) 2022-12-08 16:33:57 +08:00
徐兵 81d1203f5e fix use instancing planar reflection incorrect (#13734)
* surface shader error

* ci error
2022-12-08 16:32:07 +08:00
minggo 03b5d4c3fd Merge branch 'v3.6.3' into merge-v3.6.3 2022-12-08 15:46:09 +08:00
ChiaNing ddeba2863c Update UIMeshRender model pre frame (#13738) 2022-12-08 15:45:11 +08:00
mmyduckx f2790113b0 refine downloader to fix remote load slowly bug (#13737)
* refine downloader to fix remote load slowly bug
2022-12-08 15:36:51 +08:00
MoHai 3500c2e21a submit jsb_ar_auto manually (#13736) 2022-12-08 13:52:39 +08:00
江战 33d9dca1bd native plugin: fix assertion (#13721)
* native plugin: fix assertion
2022-12-08 13:45:09 +08:00
qiuguohua dac1b5025f 1、Fix the problem of Harmony not running (#13735)
2、Modify setassetmanager to setAssetManager
2022-12-08 13:36:41 +08:00
James Chen e9cc889770 Fix scene.global.skybox is undefined if there is not SceneGlobals data in .scene file (#13724) 2022-12-08 11:38:03 +08:00
李吉林 42b5d4628f add cpp call js function (#13731)
* support emitting MobilityChanged & AncestorTransformChanged events in c++
2022-12-08 11:23:43 +08:00
MoHai 9c36f7e4d1 adjust ar interfaces (#13730)
* adjust ar interfaces

* add plane polygon buffer
2022-12-08 09:58:51 +08:00
fqamic 51bd9bd705 fix: the orthogonal camera does not apply the xr fov parameters correctly (#13727)
* fix: the orthogonal camera does not apply the xr fov parameters correctly, resulting in the inability to focus under different IPDs.

* fix: code format abnormal
2022-12-08 09:50:59 +08:00
bofeng-song 6df0caca16 Android: fix deadlock for update nativeWindow (#13709)
* Android:   fix deadlock for update nativeWindow
2022-12-07 15:40:05 +08:00
James Chen 04b15e44a5 Fix pass states could not be changed in material inspector panel and update swig template (#13707)
* Add se::Class::defineStaticProperty(const char *name, const Value &value, PropertyAttribute attribute = PropertyAttribute::NONE);
2022-12-07 15:18:23 +08:00
徐兵 6d9c0c8f93 add planar reflection culling and refresh models after delete probe (#13671) 2022-12-07 15:12:20 +08:00
李吉林 ab13bdd062 Add tetgen (#13702)
* use tetgen to tetrahedralize
2022-12-07 14:40:39 +08:00
Cocos Robot 12c3d0514e [ci skip][AUTO]: Automated code generating update: cc7861648a9b078f7f0954e3f6550289700d4779 (#13681) (#13708)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-12-07 14:31:18 +08:00
江战 cade7f10d4 JSB: bind some geometry types (#13681) 2022-12-07 14:26:32 +08:00
oahc09 0dd67aee0b fix:android activity jni global reference leak (#13631)
* fix:android activity jni global reference leak

* improve:only release jniObjectActivity,keep classloader
add nullptr check for classloader to avoid new global reference many times
2022-12-07 11:48:03 +08:00
troublemaker52025 77aa1ba748 optmization framebuffer clear (#13690) 2022-12-07 11:45:39 +08:00
Yiwen 841571628c fix the bug that native physics system emits tons of wrong events (#13683) 2022-12-07 11:20:02 +08:00
Cocos Robot 990878c66d [ci skip][AUTO]: Automated code generating update: ffcb61a83a60a98d7b51fe0f1ec7696a9afa4ff7 (#13688) (#13692)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-12-06 20:56:32 +08:00
徐兵 ecb00f7631 fix add reflection probe report error for native scene (#13688)
* add validate

* fix switch probe error
2022-12-06 19:05:49 +08:00
pandamicro 313a1032b7 Separate present time from renderer time in profiler (#13684) 2022-12-06 18:24:02 +08:00
troublemaker52025 ecfb8be5bf fix editor crash when creating a new reflection probe (#13682) 2022-12-06 17:05:35 +08:00
mmyduckx 0e9de1e208 fix win32 editbox cannot getCurrentWindow handler (#13680) 2022-12-06 16:30:07 +08:00
James Chen e56b4c3cb8 Fix material inspector missing elements (#13674)
* Add missing properties in EffectAsset.h for editor

* Move recordAsBool to PassUtils, IPassInfoFull::propertyIndex needs to be optional

* Add IPropertyEditorInfo struct.

* Fix macroRecordAsBool
2022-12-06 15:06:08 +08:00
zhangxin fd665d36fc [fix] cc::scene::Camera::syncCameraEditor (#13673)
* [fix] cc::scene::Camera::syncCameraEditor

- remove ignore cc::scene::Camera::syncCameraEditor
- use const ptr instead of cosnt ref

* Update scene.i
2022-12-06 13:37:18 +08:00
qiuguohua 4841ad7d81 Fix the problem that the simulator initializes Fileutils twice and causes leakage. (#13599) 2022-12-06 10:55:59 +08:00
Cocos Robot 13431ef3fc [ci skip][AUTO]: Automated code generating update: 7e2d567818eeb91c6df0ed2bfd9548f450c9a797 (#13666) (#13668)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-12-06 10:42:57 +08:00
徐兵 73b234a311 fix switch reflection probe type error for native engine (#13666) 2022-12-06 10:38:56 +08:00
James Chen 6716fc8563 [native] Fix script errors if Material.getProperty returns null (#13665) 2022-12-06 10:15:57 +08:00
James Chen 72fcf7797b [native] Fix missing PipelineRuntime::macros property and fix wrong key in ShadowFlow.cpp (#13660) 2022-12-06 09:14:56 +08:00
江战 046a2b1378 Re-impl CC_ASSERT & CC_ASSERTF (#13588) 2022-12-05 17:12:30 +08:00
Cocos Robot b3cf629946 [ci skip][AUTO]: Automated code generating update: 3a71f4278eac2cdaf08b03861ff89dc2df9422b8 (#13655) (#13657)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-12-05 16:23:33 +08:00
zxx43 a485712874 fix particle 2d native crash (#13655) 2022-12-05 15:52:04 +08:00
James Chen c89c532b6d [native] Fix some decorators are missing. (#13651)
* [native] Fix some decorators are missing.
2022-12-05 15:46:42 +08:00
李吉林 f2d3411c71 fix visibility of profiler in editor (#13654) 2022-12-05 15:42:50 +08:00
minggo 0c1786415f check mesh data (#13646) 2022-12-05 14:24:53 +08:00
bofeng-song 317a30d85b disable unused code (#13591)
* disable unused code
2022-12-05 11:56:52 +08:00
李吉林 13d49b1a9b fix mesh merge error (#13639)
* fix mesh merge error

* add log.h for android

* fix DebugRenderer update on metal
2022-12-05 10:18:22 +08:00
James Chen eaa9142b72 Fix missing default values for properties of native classes. (#13642)
* Fix missing default values for properties of native classes.

* Revert setDefaultValue in property.ts , should not return when JSB is enabled.

* Use SetAccessorProperty instead of SetAccessor to bind JS getter & setter.

https://stackoverflow.com/questions/57686545/setaccessor-and-setaccessorproperty-any-difference

* [JSB] Add 'name' property for Node prototype.

* Check whether Root is null in Scene's constructor since editor may new a scene object before Root is created.
2022-12-05 10:08:55 +08:00
Cocos Robot e81fda4ab0 [ci skip][AUTO]: Automated code generating update: 56356efddcabbee58771ca2eabd152d224e10e20 (#13617) (#13637)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-12-02 18:39:25 +08:00
江战 c0fb0bba84 Bugfix: ensure reentryability for Node::setWorld* functions (#13617) 2022-12-02 18:34:29 +08:00
troublemaker52025 8d1ed0e1d5 [Optimize] csm transition code (#13611) 2022-12-02 17:09:26 +08:00