Commit Graph

17245 Commits

Author SHA1 Message Date
Santy-Wang a963881d4e add category config file for docs (#10589)
* add category config file for docs

* add input module

* adjust name
2022-03-30 18:32:37 +08:00
ChiaNing 864535baab fix opacity bug when active false (#10595) 2022-03-30 17:52:22 +08:00
jk20012001 5f75e3a206 add constants for surface shaders (#10590)
* make sure shader include

* add constants
2022-03-30 17:37:13 +08:00
jk20012001 6e93a0e10f Fix #11796 using cc_shadowbias without batching macro (#10587)
* Fix #11796 using cc_shadowbias without batching macro

* code style
2022-03-30 15:01:41 +08:00
Leslie Leigh (李的序) 6b7fbf65c3 Mark some animation stuff as legacyPublic (#10585) 2022-03-30 13:53:19 +08:00
ChiaNing 5bfe5046ba fix ui-mesh-renderer in editor (#10582) 2022-03-30 11:16:41 +08:00
mmyduckx 8747790eda fix ios enter forground crash by useless appDelegateBridge (#10580) 2022-03-30 08:33:52 +08:00
Leslie Leigh (李的序) 891237b06e Fix skeletal animation state got update twice (#10571)
* Fix skeletal animation state got update twice

* update

* Add test

* Update

* Update

* Always update

* rename
2022-03-29 21:39:59 +08:00
黄森斌 a5b4d28fdb update a property value of object from null (#10575) 2022-03-29 20:24:03 +08:00
timlyeee 61988646c1 add main.mm back while main function is needed for simulator (#10577)
* add main.mm back while main function is needed for simulator

* add license
2022-03-29 20:17:03 +08:00
Leslie Leigh (李的序) b1271e6370 Unit test on retrieving class id and class name (#10559) 2022-03-29 20:15:20 +08:00
黄森斌 5866b04333 V3.5.0 optimize ts templates (#10553)
* optimize ts templates

* modify ts template

* recover code, import Node from cc
2022-03-29 20:13:55 +08:00
Leslie Leigh (李的序) 81a2ff7328 Fix animation event type typing (#10562) 2022-03-29 20:04:00 +08:00
Leslie Leigh (李的序) 6070aa5c79 Fix cross fade bug introduced from #10485 (#10576) 2022-03-29 20:02:10 +08:00
Cocos Robot e0d52b3a94 [ci skip][AUTO]: Automated clang-format update: 3efcfd93e6c5a8242db6db9d5c0782ed5290f8ca (#10566) (#10569)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-29 16:39:26 +08:00
qiuguohua 50d2db2035 Avoid creating the window twice (#10566) 2022-03-29 16:26:30 +08:00
Cocos Robot fb40da563d [ci skip][AUTO]: Automated clang-format update: e752c9cef279f2ee5a2dbe3db86da885d9717ea5 (#10556) (#10564)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-29 15:32:17 +08:00
qiuguohua 02c0800df8 Delete some redundant files (#10561) 2022-03-29 15:27:10 +08:00
qiuguohua 9a5f43d80c Modify the application interface name and remove the js keyword (#10556)
* Modify the application interface name and remove the js keyword
2022-03-29 15:08:49 +08:00
qiuguohua 723f2f0d4b Replacing the Observer Pattern with the Event Pattern (#10551)
* Replacing the Observer Pattern with the Event Pattern

* Fix callbacksinvoker interface

* fix callbacksInvokder compilation error

* Add remove event listener
2022-03-29 15:06:29 +08:00
Leslie Leigh (李的序) 0a67669190 Animation state bugfix (#10558) 2022-03-29 11:33:47 +08:00
Leslie Leigh (李的序) 732d75fc3b Marionette feature i18n (#10550)
* Marionette feature i18n

* Update
2022-03-28 19:26:31 +08:00
Cocos Robot c62f828551 [ci skip][AUTO]: Automated clang-format update: bdf9ae46e7c60cfc50876fff03424edccb4646e8 (#10543) (#10548)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-28 18:12:33 +08:00
bofeng-song 025770fbce fix watermark can not show normally (#10547) 2022-03-28 18:09:33 +08:00
qiuguohua 051e034f3f Put main.cpp in the template (#10543)
* Put main.cpp in the template
2022-03-28 18:03:51 +08:00
Leslie Leigh (李的序) 9e46834765 Category description (#10544)
* Category description

* Update
2022-03-28 17:53:45 +08:00
zhakesi bac3bc99b3 fix sprite-frame size after repetitive dynamic creation of tiledmap (#10535)
* fix sprite-frame size after repetitive dynamic creation of tiledmap

* rename texture to sprite-frame

Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-03-28 16:55:28 +08:00
Zeqiang Li de1c34a6b0 fix donknownwho's typo : ( (#10532) 2022-03-28 00:09:48 +08:00
黄森斌 e529d6c381 optimize assets editing interface (#10531) 2022-03-27 21:12:11 +08:00
黄森斌 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