Commit Graph

10888 Commits

Author SHA1 Message Date
ChiaNing 7c05ca3bd3 fix label insert atlas twice bug (#9035)
* fix label insert atlas twice bug

* change function
2021-07-22 16:22:43 +08:00
PP db7f4a3e3c fix can't update default value when show keyboard on Xiaomi platform (#9033)
* add EditBox adapter on Xiaomi platform

* skip invalid input callback

* Revert "skip invalid input callback"

This reverts commit fc4e2ee38cb7aebce7c405483d70a28507f03373.

* delay event registering after showing keyboard

* add note
2021-07-22 16:21:00 +08:00
jiaxin.lai 4cda45bfd9 physics unit-test and features base 3.3 (#9027)
* support ccd

* clearState after change type

* fix Instantiate rigid body with custom group

* add some extra functions

* update physics libs

* tweaks rigid body component

* add EVENT_UPDATE to PhysicsMaterial

* tweaks

* support switch physics backend

* remove redundant constants

* add config & min volume size

* update @cocos/physx to 1.0.4

* fix destroy cannon world

* correct init if manual construct physics system

* disable log info in test

* add some physics unit test

* add physics unit test

* make the config optional

* add runInEditor to selector

* pack physx js libs by default

* fix

* STASH

* stash

* tweaks

* rename

* update test

* support query trigger

* update @cocos/ammo to 1.1.6

* fix raycast with query trigger in physx

* raycast test with query trigger

* rename

* docs

* fix calculate local inertia (#8956)

* rename

* delete

* allow generate mesh/terrain collider at runtime

* tweaks

* use sap by default

* update @cocos/ammo to  1.1.8

* update @cocos/physx to 1.0.7

* update @cocos/cannon to 1.2.8

* update package-lock

* add ccd test

* remove config

* rename

* fix 2d phy sys typing

* support global allow sleep toggle for bullet

* tweaks

* use naive broadphase by default

* rename

* docs

* tweaks

* add missing jugement
2021-07-22 15:52:18 +08:00
Yun Hsiao Wu 2afcb2ac1b fix material instance restore (#9031) 2021-07-22 00:20:39 +08:00
Leslie Leigh (李的序) f7a5bd3102 Store morph weights in mesh renderer (#8754)
* Store morph weights in mesh renderer

* Update

* Document and lint
2021-07-21 16:41:17 +08:00
zxx43 a17dbe28db V3.3 fix range bug & modify default alpha key to 0 & FrameOverTime mode to curve (#8981)
* fix range bug & modify default gradient alpha key to 0 & TextureAnimation FrameOverTime mode to curve

* set default alpha to 255
2021-07-21 13:40:40 +08:00
PP fcb1792ba2 fix NATIVE undefined in module 'cc/env' (#9023) 2021-07-21 09:47:57 +08:00
GengineJS 4df80e89f4 Modify the sharing method of node changeFlag (#9016)
* Modify the way to add native instance views

* Modify the sharing method of node changeFlag

* Remove nodepool flagchange
2021-07-21 00:11:51 +08:00
stanleyljl b4d653aeb3 swap setMaterialInstance parameters (#9021)
* swap setMaterialInstance parameters

* add warnID for setMaterialInstance

Co-authored-by: lijilin <jilin.li@cocos.com>
2021-07-20 21:11:55 +08:00
zhangxin 590b4339e9 Fixed multiple selection error, changed the multiple selection style (#9022) 2021-07-20 20:47:18 +08:00
zhangxin f60655fb5d Added a public method to get the name from dump, changed the comment of the public method, and added the icon style of label. (#9010)
* 增加了一个公用方法从dump中获取名称,更改了一下公用方法的注释,新增了label的图标样式

* Update label.js

* add tooltip of font ,update pr, add utils function

* update inspector of label, i18n of label

* update line-height

* Fixed multiple selection error, changed the multiple selection style

* Revert "Fixed multiple selection error, changed the multiple selection style"

This reverts commit b5e7dce659d339a23f065c1a1fa529c2a3b8c251.
2021-07-20 17:33:03 +08:00
PP 5a8c5432b7 update fetch ral from gitlab (#9019) 2021-07-20 16:45:58 +08:00
ChiaNing b157f056eb label string null protect (#9015)
* label string null protect

* update change
2021-07-20 16:03:34 +08:00
PP 34304e79fc add time for fetch RAL workflow (#9014)
* add time for fetch RAL workflow

* update
2021-07-20 14:44:40 +08:00
PP 5610f118a6 add post install for fetch ral workflow (#9013) 2021-07-20 13:30:52 +08:00
黄森斌 afdf2e9fb9 update prefab meta files (#9012) 2021-07-20 13:22:07 +08:00
PP 2d396ab482 support target-commit.json in RAL repo (#9007)
* support generate ral latest-commit.md

* use target-commit.md

update

update

update

* update
2021-07-20 13:20:26 +08:00
GengineJS 38fd475242 Fixed invalid buffer pool handle (#9011) 2021-07-20 11:40:50 +08:00
江战 94a450c07e set nullptr (#9005) 2021-07-20 09:55:46 +08:00
stanleyljl 4fd3d77bbd RenderTexture implements from TextureBase (#9003)
* RenderTexture implements from TextureBase

* delete constructor

Co-authored-by: lijilin <jilin.li@cocos.com>
2021-07-19 17:36:48 +08:00
cary 89e0feb392 Fix native pipeline mixin error. (#9000) 2021-07-19 17:36:35 +08:00
PP 34f329e090 fix circular dependency (#9004) 2021-07-19 15:51:35 +08:00
yeshao2069 a86df34d12 Optimize code: arr.splice(0,0,foo) to arr.unshift(foo) (#8964)
sync https://github.com/cocos-creator/engine/pull/8963
2021-07-19 11:35:38 +08:00
zhangxin c6d97a0cd7 Allow custom effects to customize the inspector displayed in the material (#8988)
* 允许自定义 effect 自定义在 material 展示的 inspector

* Add protocol judgment. updateCustomInspector Add parameters. Clear the src of the custom panel when updatePasses
2021-07-19 11:22:01 +08:00
Leslie Leigh (李的序) 4cb8eeeffd Support CCONB asset loading (#8996)
* Support CCONB asset loading

* Lint

* Optimize
2021-07-18 22:54:16 +08:00
ChiaNing 33725d600f fix rich Text opacity bug (#8985)
* fix rich Text opacity bug

* update opacity use currOpacity
2021-07-18 17:34:08 +08:00
PP ccb50e340c fix Audio bug on v3.3 (#8960)
* support AudioTimer in pal

update

* optimize InnerAudioContext destroy on MiniGame platform

* fix audio source on persist node paused when change scene

* compatible with audio.duration on WeChat platform

stash destroy

* fix audio can’t resume on WeChat when enter foreground

* fix audio can't pause on Android platform when enter background

* fix ci

* update null
2021-07-18 17:31:45 +08:00
PP c8c74c351b [CHERRY-PICK] fix touch event not working after touch end on an inactive node (#8997) 2021-07-18 17:25:46 +08:00
zheng han 78bf0a588a V3.3.0 fix mounted children (#8994)
* fix mountedChidren bug

* fix editorExtras serialize in prefabInstance
2021-07-18 17:20:58 +08:00
PP 928052a593 optimize minigame.offAccelerometerChange on runtime (#8999) 2021-07-18 17:16:57 +08:00
PP 5b230d70c5 fix sys coding auto completion (#8995)
* fix sys coding auto completion

* fix ci
2021-07-16 19:05:33 +08:00
Leslie Leigh (李的序) ed4ba944c3 Update custom-serialize-symbol test case (#8993) 2021-07-16 15:26:23 +08:00
江战 3eee6dfd4b 3.3 js message queue (#8991) 2021-07-16 15:20:31 +08:00
PP 5a4bed2379 support inputManager.frameDispatchEvents() in main loop (#8954)
* support pollEvent() API on pal/input

update

update pal

* support inputManager.frameDispatchEvents() in main loop

* remove event-manager module

* fix CI

* fix _glView

* fix CI

* fix director pause

* update for
2021-07-16 13:45:01 +08:00
ChiaNing a70f818ffa update builtin UI texture wrapMode (#8986) 2021-07-16 11:52:55 +08:00
Leslie Leigh (李的序) bc817790b8 Add flag to indicates if is targeting CCON (#8990)
* Add flag to indicates if is targeting CCON

* Fix

* Fix

* Add case

* Fix __id__: 0
2021-07-16 11:32:12 +08:00
黄森斌 8e03bfea2e V3.3.0 property decorate add group configuration (#8972)
* change decorate tab to group

* fix inspector edit bug on utils prop

* optimize options of 'group' decorate

* group id replace group key
2021-07-16 11:23:19 +08:00
ref-ptr 9fcdad486d webgl fbo copy (#8984) 2021-07-16 11:17:34 +08:00
PP 20bc9e80e4 support fetch ral workflow (#8971)
* remove RAL adapter in engine repo

* support fetch ral workflow

stash

stash

update

* update lock

* update fetch-ral

* support force fetch ral

* remove fetch-ral from npm install work flow
2021-07-16 10:48:36 +08:00
GengineJS d482e113d1 [Fix] the problem that the pipeline scene data switch scene ia is null (#8989) 2021-07-16 09:37:27 +08:00
pandamicro 9849fdd1f4 Add some object flags (#8987)
* Support number key in EventTarget

* Add replicated and clientLoad

* Update main license

* Fix ci

* Fix ci

* Fix ci

* Fix ci

* Move object getter setter to functional style API

* Adjust

* Add SERVER_MODE constant
2021-07-15 19:41:08 +08:00
OnlyKoei bdd789c31a Update button.ts (#8977)
* Update button.ts

fix the button node to continue to play after hiding and then displaying the animation

* Update button.ts
2021-07-15 15:16:25 +08:00
Santy-Wang ebbe8e036c remove dependant info when release asset (#8976) 2021-07-15 15:13:09 +08:00
Leslie Leigh (李的序) f3c0ffbcf4 Fix compiled deserialize (#8983) 2021-07-15 15:02:27 +08:00
黄森斌 e4c5e354fe modify hideInEditor to editor.hide (#8979) 2021-07-15 14:56:55 +08:00
黄森斌 712ce4c79a update internal db prefab meta (#8980) 2021-07-15 14:51:07 +08:00
zxx43 6b6ce3085d V3.1.2 particle2d bug fix (#8924)
* fix particle 2d bugs

* fix arc spread & arc speed bug

* fix textureModule switch bug

* hide set get color & formerlySerialize preview

* revert blend factor

* remove _dict

* revert _updateWorldAlpha
2021-07-15 12:12:09 +08:00
Leslie Leigh (李的序) 705c977fc9 Binary serialization (#8946)
* Binary serialization

* Update snapshots

* Update

* rename option ccon -> useCCON

* Missing script

* encodeCCONJson: chunks -> chunkURLs

* Update

* (de)serializeSymbol -> (de)serializeTag;

* CustomizedSerializable -> CustomSerializable

* _deserializePrimitiveObject -> _fillPlainObject

* Unify CCClass CCClassConstructor

* encodeCCONJson -> parseCCONJson

* Custom serializable

* Move (de)serializeSuper(This) from context into global

* property -> read(write)Property; (de)serializeThis(Super) -> (read)writeThis(Super)

* CI and lint

* Mock cc env
2021-07-15 10:21:25 +08:00
cary cc9b75eaad Add custom material processing and pipeline type for pipeline. (#8418)
* Add custom material processing and pipeline type for pipeline.

* fix ci

* delete pipelinetype and add deferred pipeline scene data

* rename mat

* fix forward error

* modify native adapter
2021-07-14 17:08:04 +08:00
troublemaker52025 9854f33225 fix shadow problem for v3.3.0 (#8916) 2021-07-14 09:26:38 +08:00