Commit Graph

10550 Commits

Author SHA1 Message Date
zheng han 2949226876 remove priority visible decorator (#8546) 2021-04-25 16:18:03 +08:00
GengineJS d9a08ea128 [Feature] deferred rt adapter (#8542)
* [Feature] deferred rt adapter

* [Feature] change deferred quad calculation

* [Remove] Removed pipeline offscreen judgment
2021-04-25 16:17:50 +08:00
Zeqiang Li 39378960af red frame flickering when launched (#8545) 2021-04-25 16:10:24 +08:00
PP 120a43ab21 revert scrollView cached Vector (#8103) (#8543)
* revert scrollView cached Vector

* revert PageView
2021-04-25 15:53:05 +08:00
PP b3977bd507 fix audio duration on native (#8539) 2021-04-23 22:25:05 +08:00
zhangxin 2221eee6ae Reuse the node according to the key (#8534)
Reuse the node according to the key
2021-04-23 21:54:16 +08:00
troublemaker52025 e8dda5406d Delete additional UBOGlobal && UBOCamera (#8514) 2021-04-23 21:51:31 +08:00
cary 68c141f7c1 Optimize the performance of the typed array pool on the native. (#8512) 2021-04-23 21:47:34 +08:00
PP f031d490aa fix audio seeking (#8538) 2021-04-23 21:45:40 +08:00
zhangxin d8ccc63a29 [Editor]Update particle's inspector and material's inspector (#8522)
* Update particle.js

add readonly of ui-prop

* Hide content when multiple material components are selected

* fix format and logic

* remove useless selector
2021-04-23 18:27:25 +08:00
zhangxin 7d3c4b4fc1 [Editor] fbx/preview's inspector choice first animation (#8520)
* choice first animation

use the clip info of the first animation whether or not the boardcast is received

* choice first animation

use the clip info of the first animation whether or not the boardcast is received

* Revert "Merge branch 'fixed-gltf-animation-inspector-bug' of https://github.com/chichinohaha/engine into fixed-gltf-animation-inspector-bug"

This reverts commit f4275bc52fb2d016698cffb59178d14b77fbfffd, reversing
changes made to 7a2a49493459e29019fbfb74221c2950ecc773f4.

* reuse the function of animation

add initial function to animation.js
    initAnimationNameToUUIDMap();
    initAnimationInfos();
preview will reuse the method from animation
   to get the info of first animationClip

* reuse animation.methods.getCurClipInfo
2021-04-23 18:08:23 +08:00
PP cd1548d3f6 fix Audio bug (#8515)
* support AudioPlayer.loadOneShotAudio

* support native

* support minigame

* support createInnerAudioContextPolyfill

update

* fix audioLoading on runtime

* fix Safari doesn't support promise based decodeAudioData

* optimize interface design

* add onPlay polyfill for vivo

* fix setting AudioSource.clip concurrently

* add createInnerAudioContextPolyfill for Xiaomi

* add createInnerAudioContextPolyfill on Baidu

* fix web audio player currentTime
2021-04-23 18:07:58 +08:00
zhangxin 818482bcb9 fix edit-ruler bug (#8533)
now will dispatch change event when mouse up,
not mouse move
2021-04-23 17:21:03 +08:00
zhangxin f5efe292ea [Editor] fix widget's inspector bug (#8525)
* fix widget bug

1 use vue.min.js instead of  vue.js.
    - remove vue's tips.
2、 use an invisible <ui-prop> element to dispatch "change-dump"

* fix format
2021-04-23 17:04:58 +08:00
jiaxin.lai fddce41cae more check for physx (#8529)
* add protect for physx

* use is in scene
2021-04-23 16:47:04 +08:00
ChiaNing b7ff216502 fix priority bug when scene change (#8531) 2021-04-23 16:46:43 +08:00
Leslie Leigh (李的序) 5aac75bf0e Fix some deprecated usages (#8532) 2021-04-23 15:36:28 +08:00
troublemaker52025 de219a880f fix mini game platform shadow not display for v3.1 (#8526)
* fix mini game platform shadow not display for v3.1

* update

* only ues  texture half float
2021-04-23 14:17:26 +08:00
Santy-Wang c779312320 bump version of engine (#8530) 2021-04-23 11:50:48 +08:00
Zeqiang Li 641800cd9c fix float ratio on iphone7p (#8524)
* fix float ratio on iphone7p

* get pixelRatio from sys
2021-04-23 10:17:24 +08:00
cary c751a76924 Fix instance count error. (#8527) 2021-04-23 09:39:53 +08:00
ChiaNing 98bf04576f remove event at _applySpriteFrame (#8517)
* remove event at _applySpriteFrame

* remove version dirty
2021-04-22 16:52:18 +08:00
PP 05e65d381e remove sys related adapter (#8523)
* remove sys adapter in runtime

* remove web-adapter README.md

* remove sys adapter on minigame
2021-04-22 16:40:31 +08:00
Yun Hsiao Wu f904d11935 fix fog header (#8521) 2021-04-22 16:16:08 +08:00
jiaxin.lai 3381db3dfb fix get world bounds of physx in bytedance (#8511)
* tweaks

* fix get world bounds of physx in bytedance

* tweaks

* replace magic constant with enums

* more docs
2021-04-22 14:27:46 +08:00
黄森斌 90da785348 V3.1 optimise inspector edit asset (#8513)
* optimise inspector edit fbx animation

* fix inspector render-texture edit bug

* optimise inspector edit asset

* inspector edit asset not use fs-extra

* optimise inspector asset preview
2021-04-22 10:25:54 +08:00
PP f94c933e13 fix linksure getSystemInfo language (#8516) 2021-04-22 10:13:08 +08:00
minggo 99d5f8f96c support max pass up to 8 (#8510) 2021-04-21 16:53:55 +08:00
PP cf554645f0 fix touch event on alipay (#8507)
update
2021-04-20 19:54:31 +08:00
黄森斌 5cba31f3ec do some hack to edit inspector material (#8506)
(cherry picked from commit 4520560f1d1eddc1fcdec3a3b89044eb76afb325)
2021-04-20 19:45:25 +08:00
黄森斌 55e6be35ff V3.1 optimise some assets edit (#8505)
* disabled scene and prefab  asset editable

* fix inspector edit material  bug

* optimise material asset edit
2021-04-20 18:56:16 +08:00
PP be61795bcd remove onDeviceOrientationChange usage && fix touch event on Xiaomi (#8502)
* remove onDeviceOrientationChange usage on Xiaomi

* update

* support  touch event
2021-04-20 18:27:57 +08:00
ChiaNing cfcd66a76a fix auto Atlas PersistRootNode bug (#8500)
* fix auto Atlas PersistRootNode bug

* name change
2021-04-20 18:20:46 +08:00
ChiaNing 217bc4c4e6 fix opacity bug (#8504) 2021-04-20 18:01:18 +08:00
zhangxin d21ee95173 Preview the animation in fbx's inspector (#8503)
* Preview the animation in fbx's inspector

* replaceChinese
2021-04-20 17:59:24 +08:00
Yun Hsiao Wu 8d2c784fb4 fix text fill style (#8499) 2021-04-20 16:32:23 +08:00
pandamicro 2927f4a77e Merge pull request #8498 from pandamicro/v3.1
Cherry pick mesh data leak and update effects
2021-04-20 15:54:10 +08:00
pandamicro 9566fe0cd3 Update effects 2021-04-20 15:45:08 +08:00
kenshin 445c8ad160 avoid mesh data leak. (#8413)
* release mesh data.

* mesh maybe share with other object, so just modify the batch utils.

* remove empty space.

* remove empty space.
2021-04-20 15:44:39 +08:00
Myway 621a039dc0 fix terrain lighting map shader compile error (#8497)
Co-authored-by: Myway3D1 <404793124@qq.com>
2021-04-20 15:39:33 +08:00
jiaxin.lai afdf5985b0 add USE_PHYSICS_PHYSX to render-config (#8496) 2021-04-20 14:31:06 +08:00
pandamicro 42d38dcc3d Revert "temporarily bypass splash screen (#8486)" (#8495)
This reverts commit e46a3b04d5.

Co-authored-by: Zeqiang Li <mingmingmou@gmail.com>
2021-04-20 12:38:01 +08:00
PP f570320c31 update build-engine to v4.2.6 (#8493) 2021-04-20 12:37:33 +08:00
pandamicro b8716b058f Revert "Revert "temporarily bypass splash screen (#8486)" (#8490)" (#8494)
This reverts commit 8a54533514.
2021-04-20 12:24:49 +08:00
Zeqiang Li 8a54533514 Revert "temporarily bypass splash screen (#8486)" (#8490)
This reverts commit e46a3b04d5.
2021-04-20 12:23:50 +08:00
Santy-Wang f5a349655c fix prefab missing (#8491)
* fix prefab missing

* fix lint
2021-04-20 11:26:32 +08:00
黄森斌 ec76218be2 V3.1 optimise inspector edit asset and node (#8492)
* inspector, adjust material preview

* optimise inspector edit
2021-04-20 11:25:36 +08:00
jiaxin.lai 28d62c8393 native physx (#8455)
* Stash

* add plane/capsule shape

* add syncTo/FromNativeTransform

* support trigger/collision events

* set rigid body property on enable

* group distinguish between serialized  and lowlevel

* support trimesh-shape/mass-center

* fix cone/cylinder direction

* support cylinder/cone shape

* tweaks of pmtl

* fix setMesh

* support terrain

* support raycast

* support revolute joint

* support distance joint

* tweaks

* add some API docs

* tweaks

* optimize book and unBook

* tweaks

* tweaks
2021-04-19 20:21:29 +08:00
GengineJS 8b89c3fef2 [Feature] Rt adaptation (#8483)
* [Feature] Rt adaptation

* [Feature] Effect adds CC_HANDLE_GET_CLIP_FLIP function

* update effect

* update effects
2021-04-19 20:05:48 +08:00
Santy-Wang 2b3ab66a47 add asset place holder and remove deferred loading (#8473)
* remove deferred loading and add place holder

* resolve circle referenced

* support most of asset

* refine

* fix bugs

* refine

* should use getClassId

* change name

* change name

* change isPlaceHolder to isDefault
2021-04-19 19:48:27 +08:00