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

MAYA-121808 Add curve filtering option in UI #2161

Merged
merged 1 commit into from
Mar 4, 2022

Conversation

JGamache-autodesk
Copy link
Collaborator

Using the existing filtering mechanism.

Using the existing filtering mechanism.
@JGamache-autodesk
Copy link
Collaborator Author

Preflight succeeded. One Linux machine had GPU issues though.

Comment on lines +691 to +692
// We currently have only one type to filter. In the future, we might need to build the array separately as more types are added.
$currentOptions = mayaUsdTranslatorExport_SetFromCheckbox($currentOptions, "", "filterTypes=nurbsCurve", "exportCurvesCheckBox");
Copy link
Collaborator

Choose a reason for hiding this comment

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

What you are saying here is that currently you cannot call mayaUsdTranslatorExport_SetFromCheckbox() again with a different filterType because then the option string would have two filterType args. Is that right. Instead we would need extra code here to build up the array of filter types?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Exactly. In a future where we might add more prim filtering checkboxes, the filterType array will have to be built by reviewing all checkboxes before being assigned to the filterType export parameter.

Copy link
Collaborator

@seando-adsk seando-adsk left a comment

Choose a reason for hiding this comment

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

Great work. Thanks for the test.

@JGamache-autodesk JGamache-autodesk added the ready-for-merge Development process is finished, PR is ready for merge label Mar 4, 2022
@seando-adsk seando-adsk merged commit 561fc86 into dev Mar 4, 2022
@seando-adsk seando-adsk deleted the t_gamaj/MAYA-121808/add_curve_filter_option branch March 4, 2022 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
import-export Related to Import and/or Export ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants