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

Magic glue fails when no SHAPE constraint is present #833

Open
luxaritas opened this issue Nov 13, 2024 · 0 comments
Open

Magic glue fails when no SHAPE constraint is present #833

luxaritas opened this issue Nov 13, 2024 · 0 comments
Labels
priority: p4/minor There is a reasonable workaround, or there is a nice to have with limited impact size: sm type: bug Something isn't working

Comments

@luxaritas
Copy link
Member

Expected Behavior

Magic glue succeeds without a SHAPE constraint

Current Behavior

When there is no SHAPE constraint, the magic glue doesn't change the structure and fails with an error

Reproduction Steps

  1. Create a puzzle with no SHAPE constraint and a region where magic glue can be used
  2. Apply magic glue on two equal-sized regions
  3. Instead of changing the target structure, nothing happens and an error is thrown in the console

Environment

No response

Other information

It appears to be throwing in ConstrantBar#getShapeBox, presumably for PoseEditMode#flashConstraintForTarget which flashes the constraint box on target change

@luxaritas luxaritas added type: bug Something isn't working pending triage size: sm priority: p4/minor There is a reasonable workaround, or there is a nice to have with limited impact and removed pending triage labels Nov 13, 2024
@github-project-automation github-project-automation bot moved this to Todo in Roadmap Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p4/minor There is a reasonable workaround, or there is a nice to have with limited impact size: sm type: bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant