江战
719c756656
revert a6684b1 ( #15393 )
2023-06-08 22:48:53 +08:00
pandamicro
c8d3be08a3
Fix issues in Node.updateWorldTransform and UITransform.getBoundingBoxTo[World] ( #15273 )
...
* Fix transform update issue when only rotation is set to root node
* Fix UITransform.getBoundingBoxTo and UITransform.getBoundingBoxToWorld
* Improve API and test
* Fix native Node::updateWorldTransform
* Fix UITransform.getBoundingBoxTo
* Fix getBoundingBoxTo by ensuring one time rect transform
* Ignore zero sized rect for bounding box calculation
* Improve API doc
2023-06-07 11:10:28 +08:00
santy-wang
0a81bf445e
Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2
2023-03-13 16:51:47 +08:00
江战
a6684b18c9
Merge _flagChangeVersion and _hasChangedFlags, Use Single uint32_t to Save Memory and Avoid Inconsistencies ( #14454 )
...
* merge _flagChangeVersion & _hasChangedFlags into single uint32_t
2023-03-07 10:27:51 +08:00
ChiaNing
a769f3fb5a
change node dirtyFlag name & add interface ( #14396 )
...
* change node dirtyFlag name & add interface
2023-02-28 13:47:23 +08:00
James Chen
78f4dd8be6
[native] Merge some optimizations from new serialization task ( #14338 )
...
* [native] Merge some optimizations from new serialization task
- Optimize the loading time of loading scene which has plenty of nodes.
2023-02-23 14:51:26 +08:00
bofeng-song
e6277b9911
fix name can not be reset after node is destroyed ( #13908 )
...
* fix property can not be reset normally
2022-12-28 13:56:25 +08:00
pandamicro
afd22296b4
MIT license update and to new year 2023 ( #13927 )
...
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
李吉林
b857bd1cc8
remove emitting onAncestorTransform ( #13823 )
...
* remove emitting onAncestorTransform
2022-12-15 13:36:47 +08:00
江战
046a2b1378
Re-impl CC_ASSERT & CC_ASSERTF ( #13588 )
2022-12-05 17:12:30 +08:00
江战
c0fb0bba84
Bugfix: ensure reentryability for Node::setWorld* functions ( #13617 )
2022-12-02 18:34:29 +08:00
江战
db8c0dda7d
fix setWorldScale ( #12988 )
2022-11-08 11:05:26 +08:00
江战
280fd976bc
Add EventTarget & EventBus ( #13100 )
2022-10-28 15:44:33 +08:00
李吉林
a9d4e13f85
Light probe merge ( #13093 )
...
* add light probe
2022-10-19 22:34:21 +08:00
minggo
834cfa66af
Merge branch 'v3.6.1' into merge_v3.6.1
2022-08-23 14:13:02 +08:00
James Chen
e4cd83ec59
Fix potential crash in Node::isChildOf ( #12493 )
2022-08-22 09:54:42 +08:00
江战
b12553b582
3.6 Node updateTransform apply recursive form ( #12398 )
2022-08-18 16:35:30 +08:00
minggo
5778aab354
Merge branch 'v3.6.0' into merge_v3.6
2022-08-08 10:49:46 +08:00
mmyduckx
6e0be03987
add Node::getPathInHierarchy ( #12319 )
2022-08-04 13:44:09 +08:00
James Chen
fe0fd229a4
Fix CocosApplication doesn't unregister engine event when restarting. ( #12250 )
2022-07-28 18:15:35 +08:00
James Chen
41b8936484
Fix wrong logic if passing 'keepWorldTransform = true' to setParent. ( #12169 )
2022-07-25 11:44:34 +08:00
James Chen
75180a1c68
Correct the logic of visiting _worldRotation/Scale/Position in Node.cpp. ( #12170 )
...
Mark Node::getScene as inlined.
2022-07-25 10:49:58 +08:00
minggo
616968d7bd
Adjust code struct and remove unneeded variables in Node ( #12069 )
2022-07-19 23:23:25 +08:00
minggo
9f8092cef5
simplify logic of Node::walk() ( #11997 )
...
* simplify logic of Node::walk()
2022-07-15 10:26:07 +08:00
James Chen
9f615e1fec
fixed #11911 : [v3.6][optimization] Use External ArrayBuffer to optimize the shared memory in Node ( #11926 )
2022-07-13 13:50:53 +08:00
James Chen
6cc101f361
Use more const and make Node::getIdxOfChild protected ( #11915 )
2022-07-09 19:23:03 +08:00
James Chen
598ac36113
Fix memory overflow in getDirtyNode ( #11890 )
2022-07-08 13:35:23 +08:00
江战
4a964c3ba3
3.6 Optimize resetHasChangedFlags ( #11639 )
2022-06-22 14:16:04 +08:00
minggo
d56e8db561
remove duplicate codes ( #11588 )
2022-06-18 10:54:18 +08:00
minggo
18be330613
remove uitransformdirty ( #11578 )
...
* remove uitransformdirty
2022-06-17 18:34:27 +08:00
James Chen
5c9186a756
Cleanup code in Node.h/.cpp ( #11564 )
2022-06-17 15:03:47 +08:00
James Chen
b65b47c04b
[v3.6][native] Cleanup code, minor changes ( #11237 )
...
* [v3.6][native] Cleanup code, minor changes
2022-05-27 09:46:04 +08:00
James Chen
7203b63a50
fixed #3d-tasks/11110: [native] Avoid two implementation of CCObject ( #11060 )
...
* fixed #3d-tasks/11110: [native] Avoid two implementation of CCObject
* Add more comments in CCObject.cpp
2022-05-16 09:49:45 +08:00
minggo
271cc5cf23
Remove some format rule ( #10919 )
...
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
bofeng-song
719315add2
fix editor to do ( #10827 )
2022-04-22 09:51:16 +08:00
minggo
444bfe31c4
Refactor CC_NEW/CC_DELETE ( #10810 )
...
* replace CC_NEW/CC_DELETE with ccnew/delete
2022-04-21 16:39:34 +08:00
Cocos Robot
a2df4e4dbd
[ci skip][AUTO]: Automated clang-format update: 771de57fc2c1edbaaf3ae94e77f9801b0379cc6c ( #10469 ) ( #10472 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-24 13:50:39 +08:00
minggo
7f4cb9e3b1
Remove string ( #10469 )
...
* replace std::string with ccstd::string
2022-03-24 11:53:10 +08:00
Cocos Robot
24d84664f8
[ci skip][AUTO]: Automated clang-format update: 3de15842004cba2142ec0fecd82876d8f6a28236 ( #10402 ) ( #10424 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-21 16:04:49 +08:00
minggo
34bf14269c
unify stl ( #10402 )
...
* add ccstd::vector
* replace cc::vector with ccstd::vector
* replace std::vector with ccstd::vector
* do not include <vector>
2022-03-21 15:55:02 +08:00
bofeng-song
48d8baf3ac
implement logic of debug.ts ( #10070 )
...
* implement logic of debug.ts
2022-02-10 15:32:51 +08:00
bofeng-song
0092d3555b
implement notifyAttached & modify MACRO EDITOR to EDITOR_JS(cocos/re… ( #4192 )
...
* implement notifyAttached & modify MACRO EDITOR to EDITOR_JS(cocos/renderer/pipeline/Define.h has been use EDITOR)
2022-01-18 18:08:18 +08:00
minggo
5410a48a58
Implement more logic in native ( #4131 )
...
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com >
Co-authored-by: dumganhar <dumganhar@gmail.com >
Co-authored-by: mmyduckx <308303735@qq.com >
Co-authored-by: Patrice Jiang <397136899@qq.com >
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com >
2022-01-07 18:39:40 +08:00