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

How to implement an "undo"? #538

Open
Zarxrax opened this issue Jan 15, 2025 · 0 comments
Open

How to implement an "undo"? #538

Zarxrax opened this issue Jan 15, 2025 · 0 comments

Comments

@Zarxrax
Copy link

Zarxrax commented Jan 15, 2025

I would like to be able to undo adding points to an object, and am wondering what best practices I should follow?

I currently keep track of my points in a list, and I can just pop the last point off of the list, call clear_all_prompts_in_frame(), and then segment the frame again without that point. However, this doesn't work after running propagation when I am trying to make corrections to the propagated masks. What should I do in those cases?

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

No branches or pull requests

1 participant