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

Ensure GovernExclusion and ConfigureGUI work together #80

Merged
merged 23 commits into from
Jan 15, 2025

Conversation

rocco8773
Copy link
Member

@rocco8773 rocco8773 commented Jan 15, 2025

Modify code to ensure the functionality around GovernExclusion (created in #60) works with ConfigureGUI functionality (specifically MotionBuilderConfigOverlay).

Updates include:

  • Making MBItem._determine_name an abstract method so all the child classes can better handle their naming schema.
  • Simplify painting of the global mask canvas in MotionBuilderConfigOverlay.update_canvas
  • Update Shadow2DExclusion._paint_mask to handle triangles where all vertices lie on a line.
  • Remove govern exclusions from the configure combo box if a GovernExclusion is already defined.
  • GovernExclusions must regenerate their mask when updating the global mask since they [may] examine the global mask to build their own mask.

…if the drive control widget does not have the valid MG
@rocco8773 rocco8773 added Component | GUI code touching the GUI functionality Componenet | Exclusion code touchign exclusion layer functionality Component | Motion Builder code touching the motion space/builder functionality labels Jan 15, 2025
@rocco8773 rocco8773 marked this pull request as ready for review January 15, 2025 03:38
@rocco8773 rocco8773 merged commit f894e38 into main Jan 15, 2025
8 checks passed
@rocco8773 rocco8773 deleted the configuregui_handle_governexclusion branch January 15, 2025 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Componenet | Exclusion code touchign exclusion layer functionality Component | GUI code touching the GUI functionality Component | Motion Builder code touching the motion space/builder functionality
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant