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

Add parseStructValueString function #2019

Merged

Conversation

ld-kerley
Copy link
Contributor

As requested by @jstone-lucasfilm, breaking apart #1831.

This is the first part.

Adding a simple function that tokenize a c++ style list initializer string, which will be used to initialize struct values.

Copy link
Member

@jstone-lucasfilm jstone-lucasfilm left a comment

Choose a reason for hiding this comment

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

This looks really promising, thanks @ld-kerley, and I had just a couple of minor notes.

source/MaterialXCore/Value.cpp Outdated Show resolved Hide resolved
source/MaterialXCore/Value.cpp Outdated Show resolved Hide resolved
@jstone-lucasfilm jstone-lucasfilm changed the title Add splitListInitializer() function Add parseStructValueString function Sep 18, 2024
Signed-off-by: Jonathan Stone <[email protected]>
Signed-off-by: Jonathan Stone <[email protected]>
Signed-off-by: Jonathan Stone <[email protected]>
Signed-off-by: Jonathan Stone <[email protected]>
@ld-kerley
Copy link
Contributor Author

Looks good to me - thanks for the tidy up @jstone-lucasfilm

@jstone-lucasfilm jstone-lucasfilm merged commit 322da6e into AcademySoftwareFoundation:main Sep 18, 2024
34 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