Commit Graph

10559 Commits

Author SHA1 Message Date
ChiaNing f1735ee251 fix ui opacity bug on some type (#8549) 2021-04-25 20:27:29 +08:00
jiaxin.lai 6b9778dafd refactor the splash screen to support automatic resizing (#8535)
* refactor splash screen

* update splash screen effect

* docs

* words

* flush commands before submit

* adapt for Android Vulkan

* fix logo width scale
2021-04-25 20:23:27 +08:00
ChiaNing ef119af6ec hot point (#8540)
* hot point

* Revert

* Optimize non-skeletal curves

Co-authored-by: shrinktofit <leslieleigh@outlook.com>
2021-04-25 20:20:22 +08:00
Santy-Wang 4f43bbcd3b support image asset merging (#8551)
* support image asset merging

* sync 2.x maxConcurrency
2021-04-25 20:08:17 +08:00
PP 8b58bd34fb use windowHeight to handle touch event on minigame platform (#8552)
* use  windowHeight to handle  touch event on minigame platform

* remove HACK logic in alipay
2021-04-25 20:05:02 +08:00
PP 4e61a9b568 fix window 'keydown' event swallow EditBox input event on Web (#8548) 2021-04-25 19:37:26 +08:00
PP 9022edc5e4 support webp on Native platform (#8550) 2021-04-25 18:21:27 +08:00
Myway ec8fdb182f fix terrain component sample weight error, add get max weight layer f… (#8541)
* fix terrain component sample weight error, add get max weight layer function

* Modify terrain component some code grammar

Co-authored-by: Myway3D1 <404793124@qq.com>
2021-04-25 17:02:14 +08:00
黄森斌 4d26448753 optimise insepctor edit asset (#8544) 2021-04-25 16:18:19 +08:00
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