Skip to content

Make all material property setters return themselves to allow method chaining#2820

Merged
ALongStringOfNumbers merged 1 commit into
masterfrom
zb/property-return-this
Jun 18, 2025
Merged

Make all material property setters return themselves to allow method chaining#2820
ALongStringOfNumbers merged 1 commit into
masterfrom
zb/property-return-this

Conversation

@Zorbatron

Copy link
Copy Markdown
Member

What

Changes all MaterialProperty value setters to return itself to allow for method chaining

Outcome

Addons changing material properties can have cleaner code

@Zorbatron Zorbatron requested a review from a team as a code owner May 30, 2025 00:05
@Zorbatron Zorbatron added the type: refactor Suggestion to refactor a section of code label May 30, 2025
@ALongStringOfNumbers ALongStringOfNumbers merged commit 96b0dcc into master Jun 18, 2025
3 of 4 checks passed
@ALongStringOfNumbers ALongStringOfNumbers deleted the zb/property-return-this branch June 18, 2025 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: refactor Suggestion to refactor a section of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants