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

DeletePoints : Add support for id lists. #6105

Merged

Conversation

danieldresser-ie
Copy link
Contributor

Adds support for using lists of ids ( like the "inactiveIds" primvar coming from USD instancers ) to delete points.

Copy link
Member

@johnhaddon johnhaddon left a comment

Choose a reason for hiding this comment

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

Thanks Daniel - a user was mentioning what a faff it was to delete specific ids (via OSLObject) just the other day, so this will go down nicely. Comments inline as usual.

include/Gaffer/TypeIds.h Show resolved Hide resolved
src/GafferScene/DeletePoints.cpp Outdated Show resolved Hide resolved
src/GafferScene/DeletePoints.cpp Outdated Show resolved Hide resolved
python/GafferSceneTest/DeletePointsTest.py Outdated Show resolved Hide resolved
python/GafferSceneUI/DeletePointsUI.py Outdated Show resolved Hide resolved
python/GafferSceneUI/DeletePointsUI.py Show resolved Hide resolved
python/GafferSceneUI/DeletePointsUI.py Show resolved Hide resolved
src/GafferScene/DeletePoints.cpp Outdated Show resolved Hide resolved
python/GafferSceneTest/DeletePointsTest.py Outdated Show resolved Hide resolved
@danieldresser-ie
Copy link
Contributor Author

Added a fix commit addressing feedback.

I think the only remaining question is the naming of "idList" vs "idListVariable".

@danieldresser-ie danieldresser-ie changed the base branch from main to 1.5_maintenance October 29, 2024 01:14
@danieldresser-ie
Copy link
Contributor Author

I think this is ready to merge, pending a squash after review, and any comments from @murraystevenson on the naming of "idListVariable".

@johnhaddon
Copy link
Member

Thanks Daniel! I've squashed the fix in, added the DeletePoints change to Changes.md, and am merging.

@johnhaddon johnhaddon merged commit c5d6d2e into GafferHQ:1.5_maintenance Nov 4, 2024
5 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