Skip to content

add line updateColor function - #317

Merged
llsansun merged 3 commits into
cocos:v4.0.0from
zxx43:LineFix
Aug 31, 2026
Merged

add line updateColor function#317
llsansun merged 3 commits into
cocos:v4.0.0from
zxx43:LineFix

Conversation

@zxx43

@zxx43 zxx43 commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Re: #

Changelog


Continuous Integration

This pull request:

  • needs automatic test cases check.

    Manual trigger with @cocos-robot run test cases afterward.

  • does not change any runtime related code or build configuration

    If any reviewer thinks the CI checks are needed, please uncheck this option, then close and reopen the issue.


Compatibility Check

This pull request:

  • changes public API, and have ensured backward compatibility with deprecated features.
  • affects platform compatibility, e.g. system version, browser version, platform sdk version, platform toolchain, language version, hardware compatibility etc.
  • affects file structure of the build package or build configuration which requires user project upgrade.
  • introduces breaking changes, please list all changes, affected features and the scope of violation.

@zxx43
zxx43 requested a review from llsansun August 29, 2026 10:32
@github-actions

github-actions Bot commented Aug 29, 2026

Copy link
Copy Markdown

Code Size Check Report

Wechat (WASM) Before After Diff
2D Empty (legacy pipeline) 1015436 bytes 1015436 bytes ✅ 0 bytes
2D All (legacy pipeline) 2683579 bytes 2683579 bytes ✅ 0 bytes
2D All (new pipeline) 2775832 bytes 2775832 bytes ✅ 0 bytes
(2D + 3D) All 10033274 bytes 10033405 bytes ⚠️ +131 bytes
Web (WASM + ASMJS) Before After Diff
(2D + 3D) All 16869692 bytes 16869823 bytes ⚠️ +131 bytes

Interface Check Report

! WARNING this pull request has changed these public interfaces:

@@ -46637,8 +46637,9 @@
         onLoad(): void;
         onEnable(): void;
         onDisable(): void;
         protected _attachToScene(): void;
+        updateColor(): void;
         protected _onMaterialModified(index: number, material: Material | null): void;
     }
     /**
      * @en

@zxx43

zxx43 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

@cocos-robot run test cases

@zxx43 zxx43 changed the title add line setColor function add line updateColor function Aug 31, 2026
@llsansun
llsansun merged commit 550eb15 into cocos:v4.0.0 Aug 31, 2026
14 checks passed
@github-actions

Copy link
Copy Markdown

@zxx43, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS FAIL graphics-continuous-filling
ios PASS PASS PASS
mac PASS PASS PASS

@github-actions

Copy link
Copy Markdown

@zxx43, Please check the result of run test cases:

Task Details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants