Commit Graph

10574 Commits

Author SHA1 Message Date
PP 4b8aeb35fa HACK: fix touch event on VIVO (#8563)
add NOTE
2021-04-26 22:23:20 +08:00
黄森斌 bd53bb1610 V3.1 optimise inspector edit asset (#8561)
* optimise inspector edit asset

* update internal-db meta file

* change mark
2021-04-26 22:22:16 +08:00
zhangxin c6db8bdb14 [editor] fix particle-system's inspector ui bug (#8559)
* fix particle-system

Using replacechildren function will causes event issues in the UI.
So replace it

* use while loop instead of for loop
2021-04-26 22:01:39 +08:00
zhangxin d9664f219f [Editor] fix widget inspector bug (#8562)
* vue use exports.methods ,Do not use dump.values

in order to debug,
vue use exports.methods .
 There is no dump.values now
so use the values of dump.value[key]

* update format
2021-04-26 21:59:51 +08:00
jiaxin.lai ff37cc95fd fix sync node transform on native (#8558)
* fix sync node transform

* sync node dirty only if in jsb

* tweaks
2021-04-26 21:32:05 +08:00
zheng han cd9c495552 fix light gizmo color (#8560) 2021-04-26 20:17:21 +08:00
PP 7e5da07c8a fix preview toolbar (#8557) 2021-04-26 15:43:00 +08:00
Leslie Leigh (李的序) 08926421ce Add log method with verbose level; verbose on zero duration clip (#8519)
* Add log method with verbose level; verbose on zero duration clip

* Lint

* Rearrange DebugMode values
2021-04-26 15:20:08 +08:00
ChiaNing 5f8c5edb16 revert animation update bug (#8556) 2021-04-26 15:15:53 +08:00
Leslie Leigh (李的序) e0c81f62b0 Optimize some hot spot (#8536) 2021-04-26 13:39:41 +08:00
GengineJS 6e040fae7c [Fix] Deferred rt adaptor (#8555) 2021-04-26 12:36:07 +08:00
ChiaNing 00aca35ef2 fix some deprecated value warn (#8553) 2021-04-25 21:08:58 +08:00
ChiaNing d86feb9eae name change (#8554) 2021-04-25 21:08:33 +08:00
jiaxin.lai edb52786b0 try js transform optimized by bytedance (#8537)
* try js transform

* adapt

* using getWorldBoundsArray
2021-04-25 20:51:14 +08:00
zheng han 4eb07ef829 fix preview window bug (#8518)
Co-authored-by: pandamicro <lphuabin@gmail.com>
2021-04-25 20:37:16 +08:00
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