Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize the texture string property previously unused. #3961

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

aymanhab
Copy link
Member

@aymanhab aymanhab commented Nov 7, 2024

Fixes issue #0

Brief summary of changes

SurfaceProperties (used to support visualization) had an optional property of texture that was never used, now I'm trying to use it but it appears the initialization of the property was missing. Adding it back.

Testing I've completed

Looking for feedback on...

CHANGELOG.md (choose one)

  • no need to update because internal bug

This change is Reviewable

@aymanhab
Copy link
Member Author

Pretty trivial but necessary change to serialize texture string, needed now to test textures, will populate defaults in a later PR to modify xml comment.

Copy link
Member

@nickbianco nickbianco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Strange that this hasn't issued an error previously.

@aymanhab
Copy link
Member Author

Thanks @nickbianco 👍 I guess a property that is never used can do without constructProperty since nobody tries to access it.

@aymanhab aymanhab merged commit 2300a90 into main Nov 12, 2024
12 checks passed
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