minggo
cfccc5d2af
Fix typo in html-text-parser.ts ( #16625 )
...
Co-authored-by: Elias Griffith <11166320+bb00@users.noreply.github.com >
2023-12-19 15:39:19 +08:00
qiuguohua
bae1a4ad64
If the parent node has a uiopacity component, it does not need to be initialized ( #16526 )
...
* If the parent node has a uiopacity component, it does not need to be initialized
---------
Co-authored-by: qgh <>
2023-11-30 11:19:11 +08:00
James Chen
96a1b61976
Fix an error of mesh.renderingSubMeshes is undefined ( #16539 )
...
* Fix an error of mesh.renderingSubMeshes is undefined
* Update renderingSubMeshes checking logic
2023-11-27 14:44:22 +08:00
minggo
18ec4dd39b
fix touch event dispatching issue ( #16468 )
...
if a node is disabled when handling touch event, then it should not continue to
handle other touch events, such as touch move or touch cancle.
2023-11-09 09:59:36 +08:00
SijieWang
02f35dd266
Merge pull request #16442 from cocos/v3.8.1
...
Revert "Fix sprite size mode change by preload (#15908 )" (#16388 )
2023-10-26 11:19:24 +08:00
Leslie Leigh (李的序)
3781d34b34
Label component inspector localization ( #16234 )
...
* Label component inspector localization
* Update editor/i18n/zh/modules/ui.js
* Update
2023-10-11 14:47:54 +08:00
Santy-Wang
c4fcece553
Revert "Fix sprite size mode change by preload ( #15908 )" ( #16388 )
...
This reverts commit 93e397e9f0 .
2023-10-09 19:10:00 +08:00
ChiaNing
d2d7623e9d
Integration of outline and shadow to label ( #16106 )
...
* Integration of outline and shadow to label
* add test
* change getter/setter
* name change & use assert
* test name change
* name change
* fix
* remove old attribute & add visible
* remove assert
* fix: gulp-build-h5-source
* Revert "fix: gulp-build-h5-source"
---------
Co-authored-by: PP_Pro <chinese1236@qq.com >
2023-09-20 11:14:42 +08:00
ChiaNing
1ee3a59411
skip batch when GFX Texture is null ( #16273 )
2023-09-18 15:49:44 +08:00
ChiaNing
70b7875101
don`t destroy sub com when mask destroy ( #16162 )
2023-09-01 15:36:47 +08:00
ChiaNing
ba93769911
fix mask change sprite size mode Bug ( #16047 )
2023-08-21 12:01:27 +08:00
pandamicro
be9a52dc36
export ISpriteFrameInitInfo for SpriteFrame reset ( #16005 )
2023-08-18 17:32:05 +08:00
Santy-Wang
daa4a4ffbc
remove unnecessary code ( #15687 )
...
* Revert "Revert "remove useless code (#15682 )" (#15683 )"
This reverts commit b318b39eb9 .
* fix lint
* Revert "fix lint"
This reverts commit 269acd1715a93d59f61286d336afa9a03f07f805.
* revert some change
* fix lint
2023-08-18 14:40:26 +08:00
ChiaNing
f4a7b95767
fix sprite world matrix update bug ( #15978 )
...
* fix sprite world matrix update bug
* fix by flag Changed Version
* add test
* CI & more test
2023-08-18 14:32:30 +08:00
zxx43
0b8b6981b6
fix uimeshrender in native ( #15879 )
...
* fix uimeshrender in native
* fix eslint
2023-08-18 10:22:12 +08:00
pandamicro
9b08b34a2b
Replace Renderer setMaterial with setSharedMaterial ( #15980 )
...
* Replace Renderer setMaterial with setSharedMaterial
* Fix all usage of Renderer.setMaterial
* Soft deprecate Renderer.setMaterial
* Remove unnecessary change
2023-08-17 13:15:21 +08:00
ChiaNing
93e397e9f0
Fix sprite size mode change by preload ( #15908 )
...
* Fix sprite size mode change by preload
* fix on runtime
2023-08-17 10:04:39 +08:00
ChiaNing
a7213c3b6c
RichText: support set default font color ( #15669 )
...
* add richText default color
* doc
2023-08-16 14:11:03 +08:00
ChiaNing
dfe70e83a4
deprecated UIMeshRenderer ( #15956 )
...
* deprecated UIMeshRenderer
* update
* add info
* fix CI
2023-08-16 11:20:03 +08:00
Jiujiang Liu
f55abfa949
remove _fitDesignResolution function call in EVENT_AFTER_UPDATE ( #15802 )
...
* fix can't adjust the 2D camera in editor
* simple code
* update function name
* remove unused import function
* use anchorX
* update code
2023-08-09 10:05:39 +08:00
dogeFu
54c81416ec
refactor : call safeMeasureText when needed ( #15754 )
2023-07-31 14:42:25 +08:00
pandamicro
41a16d7322
Fix ci
2023-07-26 12:07:22 +08:00
pandamicro
381505cc28
Merge remote-tracking branch 'cocos-for-editor/v3.8.0' into v3.8.1
...
# Conflicts:
# cocos/3d/framework/mesh-renderer.ts
# cocos/rendering/custom/executor.ts
# cocos/rendering/post-process/passes/fxaa-pass.ts
# cocos/spine/skeleton.ts
2023-07-25 22:16:11 +08:00
Canvas
81ab041446
fix spine opacity failure. ( #15765 )
2023-07-18 23:55:23 +08:00
minggo
802a1f0959
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
...
Conflicts:
cocos/core/utils/x-deprecated.ts
cocos/physics/bullet/instantiated.ts
cocos/physics/framework/components/character-controllers/character-controller.ts
cocos/render-scene/scene/shadows.ts
cocos/rendering/render-shadow-map-batched-queue.ts
cocos/spine/lib/instantiated.ts
cocos/spine/lib/spine-define.ts
cocos/spine/skeleton.ts
native/cocos/editor-support/spine-wasm/AtlasAttachmentLoaderExtension.cpp
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.cpp
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.h
native/cocos/editor-support/spine-wasm/spine-type-export.cpp
native/cocos/editor-support/spine-wasm/spine-wasm.cpp
native/external-config.json
2023-07-12 16:02:10 +08:00
Santy-Wang
b318b39eb9
Revert "remove useless code ( #15682 )" ( #15683 )
...
This reverts commit 9f035047c7 .
2023-07-11 20:50:41 +08:00
Santy-Wang
9f035047c7
remove useless code ( #15682 )
2023-07-11 20:42:46 +08:00
Santy-Wang
ddc19f1228
Remove useless code ( #15670 )
...
* remove unused data
* refine
2023-07-11 18:38:34 +08:00
ChiaNing
8d235204de
add renderRoot2d help ( #15644 )
2023-07-07 12:01:58 +08:00
ChiaNing
7f201a0ca3
fix label Precision ( #15594 )
2023-07-03 17:40:14 +08:00
minggo
7ef995b655
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
...
Conflicts:
cocos/3d/lights/spot-light-component.ts
cocos/animation/event/event-emitter.ts
cocos/physics-2d/box2d/physics-contact.ts
cocos/physics-2d/box2d/physics-world.ts
cocos/physics-2d/box2d/platform/physics-contact-listener.ts
cocos/physics-2d/builtin/builtin-world.ts
cocos/physics/framework/components/constraints/configurable-constraint.ts
cocos/spine/assembler/simple.ts
cocos/spine/skeleton.ts
native/cocos/editor-support/spine-wasm/spine-model.cpp
native/cocos/editor-support/spine-wasm/spine-model.h
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.cpp
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.h
native/cocos/editor-support/spine-wasm/spine-type-export.cpp
native/external-config.json
2023-07-03 15:25:13 +08:00
ChiaNing
8e5ea9342c
fix label limit canvas size bug ( #15514 )
...
* fix label limit canvas size bug
* limit recursion time
* fix
* fix
* move
* change
* change
* name change
2023-06-29 18:58:04 +08:00
minggo
e7c5b34e18
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
...
Conflicts:
cocos/2d/assembler/label/text-processing.ts
cocos/physics/bullet/instantiated.ts
cocos/profiler/profiler.ts
cocos/rendering/custom/executor.ts
cocos/rendering/custom/index.ts
cocos/rendering/custom/web-pipeline.ts
cocos/rendering/pipeline-scene-data.ts
cocos/root.ts
cocos/spine/assembler/simple.ts
cocos/spine/lib/instantiated.ts
cocos/spine/lib/spine-define.ts
cocos/spine/skeleton.ts
2023-06-27 13:35:35 +08:00
ChiaNing
202e50ec55
fix bmfont render bug ( #15510 )
...
* fix bmfont render bug
* fix
2023-06-21 17:05:57 +08:00
dogeFu
60c9eaa376
fix : undo remove label component cause error in editor ( #15475 )
...
* fix : add onRestore implement for label component
* refactor code
2023-06-20 13:50:56 +08:00
ChiaNing
5edc55140d
Fix Android text truncation problem ( #15448 )
...
* Fix Android text truncation problem
* fix calculation bias
* move
* limit android
* Revert "limit android "
This reverts commit 12dfcd0b3ed82be0cf3cf16340859bfd444166d8.
* Revert "Revert "limit android ""
This reverts commit 2aaf4162ada7850672c532098e530636e593642f.
* remove round
* fix
2023-06-19 17:55:57 +08:00
PP
b8a96f0080
fix type in debug.ts ( #15426 )
...
* fix type in debug.ts
2023-06-14 11:33:00 +08:00
PP
509d73b27d
merge branch v3.8.0-aot ( #15421 )
...
* PR1: add explicit function return type (#15311 )
* PR4: add explicit function return type (#15314 )
* [ci skip][AUTO]: Automated code generating update: 8843bfe54cd3f8e6f84432948716c8d130ecb233 (#15314 ) (#15357 )
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
* add function return type
* fix version checking
* fix return type
---------
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com >
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2023-06-13 18:08:45 +08:00
ChiaNing
a88cdecadf
limit font scale to 1 ( #15367 )
...
* limit font scale to 1
* to fix 1
* move
2023-06-08 17:48:48 +08:00
ChiaNing
58299f0ef4
fix label auto Atlas bug ( #15356 )
2023-06-07 18:40:20 +08:00
May2nd
d962a3d374
- fix memory leak on tiled resized ( #15212 )
...
Co-authored-by: Viet <>
2023-06-07 18:18:38 +08:00
dogeFu
09e000266d
feature : add EDITOR_NOT_IN_PREVIEW marco ( #15354 )
...
* feature : add marco for editor preview and refactor code with new marco
* refactor: replace GAME_VIEW with EDITOR_PREVIEW
* Revert "refactor: replace GAME_VIEW with EDITOR_PREVIEW"
This reverts commit e28953e9e7acbb49dc5bdc650b2ff65510d4b084.
* update cc config json
* refactor code
* remove uselese parentheses
* set ccglobal to be false
* skip global variable test case
2023-06-07 17:52:51 +08:00
ChiaNing
2862b75391
fix bm font anchor bug ( #15353 )
2023-06-07 14:56:08 +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
ChiaNing
eb94bbaefe
fix font scale limit bug ( #15342 )
...
* fix font scale limit bug
* name change
2023-06-07 10:39:56 +08:00
ChiaNing
7b60d75daa
HD processing of ttf mode labels ( #15206 )
...
* Adding ttf is affected by dpr
* Adding Char mode is affected by dpr
* move dpr to style
* rebase & add max font size
* name change
* remove use less
* misc
2023-06-05 18:14:22 +08:00
ChiaNing
0796fb1e3d
Text Processing Refactoring ( #14739 )
...
* text processing file add
* processing String
* render & effect
* bmfont add
* char mode add
* code collate
* use less remove
* after rebase and change Sync
* add data class
* fix bm font clamp bug
* fix bitmap mode
* fix ci
* fix misc
* fix ci
* remove some code
* remove data class
* name change
* bug fix
2023-05-25 11:56:45 +08:00
ChiaNing
548dbefd2e
fix rich text render bug ( #15081 )
2023-05-24 17:30:29 +08:00
minggo
a22d16bbe6
Merge branch 'v3.7.3' into merge_v3.7.3
2023-04-24 11:26:58 +08:00
zxx43
fbbdab53a4
use getSharedMaterial to replace getMaterial ( #14814 )
...
* use getSharedMaterial to replace getMaterial
* call getSharedMaterial directly
* modify note
2023-04-19 11:07:46 +08:00