Commit Graph

17181 Commits

Author SHA1 Message Date
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
Zeqiang Li fac0f58a71 skip getraw (#10429) 2022-03-22 11:16:27 +08:00
SijieWang 4cabeed1ee [Feature] imageAsset: add bakeOfflineMipmaps (#10404)
Co-authored-by: Sijie <devhacker520@hotmail.com>
2022-03-22 10:38:41 +08:00
timlyeee 7d7f32e24e rename windows process name (#10422)
* remove file description in game.rc, the process name  will keep the same as project name
* add macro definition GAME_NAME for creating window, as no other way to read it.
2022-03-22 10:29:25 +08:00
kenshin 93f37f2b82 Optimize android download tasks. (#10274) 2022-03-21 19:53:11 +08:00
zhakesi 1f4e10a0c8 fix spine/dragonbones opacity update (#10349)
* fix spine/dragonbones opacity update

* fix use ui-opacity with spine on editor

Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-03-21 19:51:34 +08:00
zhakesi c4730a29dc fix animation not work caused by creating spine in a hided node (#10380)
* fix animation not work caused by creating spine in a hided node

* use a flag to mark if need update skeleton data setting

Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-03-21 19:36:44 +08:00
ChiaNing 44b78f0a89 fix opacity dirty bug when parent change (#10416) 2022-03-21 19:13:51 +08:00
袁炜海 69c46a3a27 feat: sync inspector 3.6 to 3.5 (#10397)
* feat: sync inspector 3.6 to 3.5

* sync inspector edit

Co-authored-by: arsen2010 <arsen2010@126.com>
2022-03-21 15:38:08 +08:00
alpha 5647498081 UIOpacity Component DisallowMultiple (#10390) 2022-03-21 13:52:39 +08:00
Yun Hsiao Wu 7aaac3c6b7 bypass job system creation if possible (#10308) 2022-03-21 11:23:21 +08:00
Cocos Robot f078686229 [ci skip][AUTO]: Automated clang-format update: 65cf4e5ef0f8b518442e457f69bf41e4fa994bed (#10393) (#10408)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-21 11:22:30 +08:00
qiuguohua 94f42b3c4b Add dynamic library export macro (#10393)
* Add dynamic library export macro
2022-03-21 11:17:11 +08:00
江战 cb0618f0d4 3.5 Android: okhttp impl websockets (#10384) 2022-03-21 09:46:49 +08:00
SijieWang 6bf6a96ee9 fix gen-simulator (#10401)
* fix gen-simulator
Co-authored-by: Sijie <devhacker520@hotmail.com>
2022-03-18 18:13:02 +08:00
qiuguohua 6a16077bc5 SDL related interface encapsulation (#10385)
* SDL related interface encapsulation
2022-03-18 14:43:01 +08:00
Zhang mingzhen 09352240ce dont force setting overflow clamp when excuting (#10368) 2022-03-18 14:37:43 +08:00
zhakesi e5caa3ecc2 reset render data before set asset for spine/dragonbones (#10370)
Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-03-18 10:15:03 +08:00
kenshin c374ef59de fix spine rendering confusion (#10348)
Re: cocos/2d-tasks#3621

Changelog:

Fix incorrect parsing of JSON boolean value.
Skips rendering slots without active bones .
2022-03-17 17:35:32 +08:00
Cocos Robot 30b7591b28 [ci skip][AUTO]: Automated clang-format update: 508dd40734e2e9e59a002f0f79482bf2831ad5d9 (#10359) (#10378)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-17 11:08:26 +08:00
Zeqiang Li 6cdaf450e3 fix crash by incorrect hash ---- autotest (#10359)
* fxi crash by incorrect hash
2022-03-17 10:12:51 +08:00
troublemaker52025 18952aafff fix 2D-phyisc rotation error for v3.5.0 (#10373) 2022-03-17 10:00:51 +08:00
qiuguohua 45d95dd285 Add destroy window event and recreate window event on windows platform (#10365) 2022-03-17 09:36:04 +08:00
Santy-Wang a6ffd14c23 optimize decorator performance (#10323)
* optimize decorator performance

* refine

* debug

* delete useless code

* add ccclass

* add freeze
2022-03-16 18:16:21 +08:00
Cocos Robot cd6b22312a [ci skip][AUTO]: Automated clang-format update: 28eb614cf3ba9a0eae9404d84073010e82279726 (#10344) (#10358)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-16 16:35:01 +08:00
timlyeee b9353eb18c only free for native (#10369) 2022-03-16 16:31:04 +08:00
fish9167 82cd89d260 Update native-compile-platforms.yml (#10362)
* Update native-compile-platforms.yml

更新 windows 镜像版本
限制任务触发条件(native 目录下有文件修改才会触发该任务)

* Update automation_labels.yml

组织名称修改

* change Visual Studio version

修改 Visual Studio 版本(2017-->2019)

* Update native-simulator.yml

更新 windows 镜像版本
限制任务触发条件(native 目录下有文件修改才会触发该任务)
2022-03-16 16:00:23 +08:00
Zhang mingzhen 9c37363b69 use approx instead of === (#10357)
* use approx instead of ===

* remove rebundant as
2022-03-16 13:39:11 +08:00
Leslie Leigh (李的序) 02138a9e72 Export Value in animation namespace (#10360) 2022-03-16 13:38:04 +08:00
qiuguohua 1a90cd9013 Windows platform handles multiple events at once (#10344)
* The windows platform handles multiple events at once
2022-03-16 10:33:37 +08:00
qiuguohua eb3a863a28 Replace addPermanentRegisterCallback with addRegisterCallback. (#10350) 2022-03-16 10:32:47 +08:00
kenshin e4743d6373 avoid spine and dragon crash. (#10314) 2022-03-15 18:40:50 +08:00
pandamicro 8281503c4d Merge pull request #10346 from cocos/v3.4.2
Optimize memory occupation of RealCurve, CurveRange (#10328)
2022-03-15 18:09:08 +08:00
Zhang mingzhen 8d3c975116 Rich text v align v3.5 #9984 new (#10340)
* add vertical alignment attribute

(cherry picked from commit fc4013e4016203c9ff13c3fb55ab24d8f6afdd82)

* set vertical alignment

(cherry picked from commit 60afa526e215c6e599560683427701baf42595c8)

* distinguish hAlign and vAlign

(cherry picked from commit 010e097b5c862a8373e860f01c1104b6396f81ba)

* use as instead of instanceof

* reorder attributes

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-03-15 16:27:30 +08:00
jk20012001 766b7efb2a Fix: #11580 create new light source intensity display type unknown (#10324) 2022-03-15 14:32:14 +08:00
jk20012001 6e4d4a30ac code style for surface shader (#10326) 2022-03-15 14:31:41 +08:00