Commit Graph

10901 Commits

Author SHA1 Message Date
PP 2ec06d5524 close screen.windowSize interface (#9047) 2021-07-23 14:40:44 +08:00
GengineJS 13d86798d4 Solve the circular reference between renderscene and nativescene (#9039) 2021-07-23 14:27:05 +08:00
cary ca61c1f479 Update deferred lighting effect. (#9037) 2021-07-23 14:24:09 +08:00
jiaxin.lai 9e7f40d4cb let pack physx libs optional (#9046) 2021-07-23 13:45:08 +08:00
SijieWang c808f024dd TextureCube: Add isRGBE (#9042)
* TextureCube: Add isRGBE

* Update texture-cube.ts

* Update texture-cube.ts
2021-07-23 12:00:17 +08:00
cary d2b3181851 change pipeline warn to console info. (#9044) 2021-07-23 11:57:31 +08:00
Yun Hsiao Wu 9a185dab77 fix skeletal animation remove/restore (#9041) 2021-07-23 11:49:02 +08:00
Leslie Leigh (李的序) 6d10f68ef8 AnimationCurve (#8409)
* AnimationCurve

* Mark curve frame values as uniquelyReferenced

* Adjust modules

* Update

* Manually implements KeyframeCurve.iterator

* TargetPath

* Update

* Fix BUG

* Fix

* Add size track

* Update

* Fix size; unit tests

* fix split animation (#24)

* CCONB animation clip; Remove integer track/channel/curve

* Optimize key shared curves

* Remove keyframecurve.empty

* Exotic animation

* Fix unit tests

* start/end -> left/right

* Curve range rename

* Easing methods

* Fix untyped track

* Fix

* fix upgradUnTypedTracks (#26)

* Rename

.interpMode -> .interpolationMode
RealInterpMode -> RealInterpolationMode
QuaternionInterpMode -> QuaternionInterpolationMode
ExtrapMode -> ExtrapolationMode
.preExtrap -> .preExtrapolation
.postExtrap -> .postExtrapolation
QuaternionCurve -> QuatCurve
QuaternionKeyframeValue -> QuatKeyframeValue

* Update pre/post extrap

* Optimize-1

* Optimize-2

* Eliminate for-of

* Mark deprecateds

* Hide RealKeyframeValue/QuatKeyframeValue Constructor

* Fix quat keyframe value name

* Error ID

* Fix RealKeyframeValue editor extras

* Elimanate for-of forEach

Co-authored-by: zheng han <sunstar198941@gmail.com>
2021-07-23 11:26:55 +08:00
PP eb06667bda fix touch event on SubContextView when fitWidth and fitHeight (#9043)
update
2021-07-22 18:31:14 +08:00
黄森斌 56377bab71 V3.3.0 when create typescript asset , predefined some variales (#9024)
* add ts template Predefined variables

* change variable name
2021-07-22 17:04:21 +08:00
pandamicro 064d7905c1 Merge pull request #9038 from cocos-creator/v3.1.2
Merge v3.1.2
2021-07-22 16:24:32 +08:00
ChiaNing d6469818e4 widget misc bug fix (#8970)
* widget misc bug fix

* refresh Scene on EVENT_AFTER_SCENE_LAUNCH
2021-07-22 16:23:35 +08:00
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