Commit Graph

17466 Commits

Author SHA1 Message Date
黄森斌 f5464fd27c [Optimize] optimize ts template (#10530)
* optimize ts template

* update ts template
2022-03-27 16:39:28 +08:00
黄森斌 ea9dceeb1b V3.5.0 enable readonly material can be edited (#10518)
* 初步增加克隆只读资源界面

* 编辑节点模式下克隆只读资源时节点里的数据同步替换

* add stopPropagation

Co-authored-by: SijieWang <itharbors@outlook.com>
2022-03-27 13:53:31 +08:00
Yiwen 718ea8ee3f Add a method to select mipmap range for Texture2D and TextureCube. (#10500)
* Add a feature to select mipmap range to image asset.

* fix format

* fix format

* modify comments, remove uncessary methods

* finx comments.

* fix logic problem

* fix mipmap range problems

* Add validation information incase someone wants to generate mipmap for compressed texture

* remove some validations to make gfx bakend clear

* fix a stupid typo

* Add validation information for setMipRange

* use assertID to validate the mipmap range
2022-03-27 13:52:24 +08:00
qiuguohua 6166752b37 Use fixed coordinates and modify function name (#10527)
* Use fixed coordinates and modify function name
2022-03-27 09:42:11 +08:00
袁炜海 4f91740690 feat: add i18n config (#10517)
* feat: add i18n config

* feat: add inpsector i18n
2022-03-26 22:41:22 +08:00
Santy-Wang 98e52e3f16 output warning info when attached to the node has zero scaling (#10524)
* output warning info when attached to the node has zero scaling

* use approx instead
2022-03-26 22:23:29 +08:00
hyde zhou 60a3704955 partial specialization (#10525) 2022-03-26 21:53:33 +08:00
qiuguohua 422e4ccfe0 V3.5.0 window position (#10526) 2022-03-26 21:12:41 +08:00
qiuguohua 893643d278 V3.5.0 appdelegate (#10509)
1. Modify the parameters of the creation window
2. Modify the relationship between platform and interface
3. Rename vibrate to vibrator in linux and QNX

* Move appdelegate into template

* Optimize the main function of IOS

* Move view.mm into template

* Modify file copyright information

* Modify the addition location of view.mm

* Engine remove dependency SDKWrapper
2022-03-26 19:35:47 +08:00
Cocos Robot 6df16fe826 [ci skip][AUTO]: Automated clang-format update: 1f6796cbe497b6c7e4e0d6596aabb955fc6c58b5 (#10513) (#10514)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-26 19:33:26 +08:00
pandamicro f4aa81d88e Fix vec3 & vec4 transformAffine (#10508) 2022-03-26 19:23:41 +08:00
zhakesi 5157fd2734 fix tiled show with pixel offset (#10523)
Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-03-26 19:13:47 +08:00
ChiaNing 0587992cb1 fix label Blend Factor bug for BYTEDANCE (#10516)
* fix label Blend Factor bug for BYTEDANCE

* update
2022-03-26 18:53:07 +08:00
Leslie Leigh (李的序) 73374aa999 Fix animation bug introduced from #10485 (#10512)
* Fix animation bug introduced from #10485

* Add test
2022-03-26 15:57:50 +08:00
qiuguohua ecb0533c66 V3.5.0 window position (#10513)
* Mac,windows,linux create lower left window by default

* Mac creates bottom left window by default
2022-03-26 15:38:57 +08:00
袁炜海 495016bf01 feat: add markdown render (#9821)
Co-authored-by: SijieWang <itharbors@outlook.com>
2022-03-26 15:12:10 +08:00
袁炜海 35529038e2 fix: There is no need to execute updatePreview in the ready lifecycle (#10466) 2022-03-26 15:11:25 +08:00
媛媛 afddb82033 [Feature] support inspector droppable style (#10440) 2022-03-26 15:11:03 +08:00
黄森斌 380e87c33d [Optimize] edit fbx importer of legacy options (#10471)
* edit fbx legacy importer

* Update editor/inspector/assets/fbx/fbx.js

Co-authored-by: SijieWang <itharbors@outlook.com>
2022-03-26 15:04:35 +08:00
江战 909c9df9e9 prevent class CocosWebSocket from obfuscation in release mode (#10511) 2022-03-26 11:00:42 +08:00
zhangxin 749226eefb [Bug] add fix alpha transparency artifact options and fix bug (#10419)
* add fix alpha transparency artifact options and fix bug

add fix alpha transparency artifact options

fix bug
- Fixed an issue where events were registered more than once

* Non-transparent channels or RGBE channels are not allowed

* Update image.js

* revert set hidden to set style
2022-03-25 19:07:40 +08:00
Leslie Leigh (李的序) 673844eafb Fix: animation blending zero check (#10499)
* Fix: zero check animation blending

* Rename
2022-03-25 18:51:15 +08:00
qiuguohua b6af1ada02 V3.5.0 create window (#10481)
* 1. Modify the parameters of the creation window
2. Modify the relationship between platform and interface
3. Rename vibrate to vibrator in linux and QNX

* Fix empty platform implementation

* Fix empty platform implementation

* Modify mac and ios createwindow interface

* Create a centered window by default

* Mobile platforms do not require window creation
2022-03-25 18:43:17 +08:00
mu xiandong 1f11536a1f fix: Fix getUrlWithUuid smart hint issue (#10484)
* fix: Fix getUrlWithUuid smart hint issue

link https://github.com/cocos/3d-tasks/issues/8714

* fix ci

* fix ci

* fix

Allow the options value to be empty, keeping it consistent with the previous API

* Update helper.ts

* fix

Co-authored-by: muxiandong <24754593@qq.com>
2022-03-25 18:39:44 +08:00
PP 5ef14f649f remove help decorator on non-component class (#10503) 2022-03-25 16:25:30 +08:00
Cocos Robot 80d49e36e2 [ci skip][AUTO]: Automated clang-format update: 1f05c945e35a7f637d7990cad60f2a1367dabf6c (#10479) (#10493)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-25 16:03:44 +08:00
江战 f1e60342e3 fix websocket send string (#10495) 2022-03-25 15:20:49 +08:00
PP 96f3bd00e3 fix pointer event when camera.orthoHeight changed (#10496)
* deprecated uiTransform.isHit with hitTest method

* use hitTest instead of isHit

* add type info

* update
2022-03-25 13:53:09 +08:00
Zeqiang Li 723c223b01 shader optimization always on (#10483) 2022-03-25 13:50:38 +08:00
江战 437e50692c V3.5 simplify native templates (#10479) 2022-03-25 11:25:07 +08:00
Leslie Leigh (李的序) f00d11adaa Optimize the way how animation component update its animation content (#10485)
* Optimize the way how animation component update its animation content

* Update

* Update

* update

* Update
2022-03-25 10:03:29 +08:00
jk20012001 80ceb1c6eb Fix punctual lights luminance * PI (#10480)
* Fix punctual lights luminance * PI

* code style
2022-03-24 18:13:19 +08:00
Cocos Robot da2bb3c5db [ci skip][AUTO]: Automated clang-format update: f9971a5a25b7a78c29f81b633160a7b55ee1cc97 (#10327) (#10478)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-24 18:02:46 +08:00
Zeqiang Li e64301ad34 3.5.0 swappy (#10327)
* gles2/3 swappy
* vk swappy
* manually fallback in GL

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>
2022-03-24 15:37:38 +08:00
Myway bc59c43cd1 set lightmap clamp to border and fixed rebuild terrain weights (#10470) 2022-03-24 11:43:44 +08:00
ChiaNing e348ae4e2e clear Particle under UIMeshRenderer when play end (#10468)
* clear Particle under UIMeshRenderer when play end

* format

* format change
2022-03-23 20:21:26 +08:00
jk20012001 d5f172b782 Fix fog accumulated error with multiple local lights (#10445)
* Fix fog accumulated error with multiple local lights

* add standard exposure value for lightmap
2022-03-23 17:43:43 +08:00
Leslie Leigh (李的序) 16253687b9 Handle legacyPublic in API doc (#10456)
* Handle legacy public

* Update
2022-03-23 14:26:27 +08:00
CC9701 f8d36990af update runtime ral (#10166)
Re: cocos-creator/3d-tasks#

Changelog:
1. Fix the value of windowHeight and windowWidth pixelRatio return by getSystemInfo(Sync) on VIVO platform
Add ral/API.md as ral API reference
2. Add API getFeaturePropertyInt which was described in ral/API.md
3. Fix CP call sys.garbageCollect() will get TypeError on OVH and cocosplay
2022-03-23 12:11:24 +08:00
黄森斌 a2501a368e [Optimize] optimize material editing using cache prop-value (#10376)
* 调整材质编辑中的数据缓存方式

* useCache
2022-03-23 10:19:57 +08:00
黄森斌 bd5950a43f [Optimize] optimize property name show (#10241) 2022-03-23 10:19:39 +08:00
黄森斌 72eadcc873 [Optimize] optimize fault compatibility (#10439) 2022-03-23 10:18:31 +08:00
kenshin 2b016c7eeb force update for spine color setting. (#10417) 2022-03-22 18:12:52 +08:00
江战 b455e7fc86 V3.5 rename assets (#10443)
* add resources

* fix order

* ignore _external
2022-03-22 18:07:50 +08:00
黄森斌 d065ca6aee V3.5.0 fix bug: reset renderer-component would not update model (#10342)
* fix bug: reset materials would not update model

* add comment

* reset _materials.length

* fix bug: model in scene would not disappear when remove mesh

* modify code written
2022-03-22 17:57:56 +08:00
pandamicro d3f5e58acc Fix templates and minor tweaks (#10434)
* Fix templates

* Minor tweaks

* Minor
2022-03-22 17:22:41 +08:00
Santy-Wang ab82e1b42d remove hidden (#10414)
* remove hidden

* fix typo

* fix unit-test

* turn on auto fix
2022-03-22 15:11:16 +08:00
Leslie Leigh (李的序) b87c185333 Marionette: layer, mask, auto trigger, pass through state (#10179)
* Marionette/3.5.0 Initial Commit

* Auto trigger default value

* import skeleton 改为选择 fbx 文件

* Rename passthrough -> empty

* Refactor Auto Trigger (#81)

* Refactor auto trigger

* Lint

* Optimize

* Update

* Migrate triggers (#82)

* Fix merge problems

* Optimize

* Optimize

Co-authored-by: arsen2010 <arsen2010@126.com>
2022-03-22 15:05:45 +08:00
Leslie Leigh (李的序) 466d4cf1f9 API documentation: category (#10435)
* Typdoc: category

* Add categories

* workflow
2022-03-22 13:57:00 +08:00
Myway 459abdbd72 change lighting map unpack and luminance multiply (#10185) 2022-03-22 12:01:47 +08:00