-
Notifications
You must be signed in to change notification settings - Fork 97
Added an RMB option to Scale->Normalize in AutoUV window #625
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
base: master
Are you sure you want to change the base?
Conversation
d7d25fd to
7d5b3c4
Compare
|
I have let co-pilot review this, fix stuff that seems valid and write when your are done, or nothing needs fixing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a new Right Mouse Button (RMB) option to the AutoUV window's Scale -> Normalize menu that allows normalizing a set of charts relative to a reference chart. This is useful when remapping portions of already unwrapped objects or unwrapping composite objects in parts, ensuring new charts remain consistent in scale with previously unwrapped ones.
Key Changes
- Refactored the normalize menu structure to support both standard normalization (LMB) and reference-based normalization (RMB)
- Added new
normalize_by_ref/2function that calculates scaling based on a user-selected reference chart - Implemented interactive chart selection workflow with validation to ensure only unselected charts can be used as references
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
It's intended to normalize a set of charts relative to a reference one. This is option is useful in cases where we need to remap a portion of an already unwrapped object, or when someone unwraps a composite object in parts. In these situations, we want the new charts to remain consistent in scale with the previously unwrapped ones. To achieve this, we simply select one of them as a reference. NOTE: New AutoUV option to Normalize a set of charts using another as reference. It's accessed via RMB option. Thanks to envelupo and Vaughan for the suggestion
7d5b3c4 to
829a868
Compare

It's intended to normalize a set of charts relative to a reference one.
This is option is useful in cases where we need to remap a portion of an already unwrapped object, or when someone unwraps a composite object in parts. In these situations, we want the new charts to remain consistent in scale with the previously unwrapped ones. To achieve this, we simply select one of them as a reference.
NOTE:
New AutoUV option to Normalize a set of charts using another as reference. It's accessed via RMB option. Thanks to envelupo and Vaughan for the suggestion