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

EMSUSD-968 shorter nice names #4029

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Conversation

pierrebai-adsk
Copy link
Collaborator

@pierrebai-adsk pierrebai-adsk commented Dec 4, 2024

  • Ui Nodegraph Node -> Ui
    Example: Ui Nodegraph Node Pos -> Ui Pos
    Justification: the section is already titled Node Graph Node
  • Translate Scale/Rotate Pivot -> Scale/Rotate Pivot
    Example: Translate Scale Pivot -> Scale Pivot
    Justification: pivot are always translations, no need to say it, it is implicit in being a pivot.
  • Translate Scale/Rotate Pivot Translate -> Rotate/Scale Pivot Translate
    Example: Translate Scale Pivot Translate -> Scale Pivot Translate

@pierrebai-adsk pierrebai-adsk added the enhancement New feature or request label Dec 4, 2024
@pierrebai-adsk pierrebai-adsk force-pushed the bailp/EMSUSD-968/shorten-nice-names branch from 2af7691 to 7ddc905 Compare December 4, 2024 20:44
@pierrebai-adsk pierrebai-adsk removed their assignment Dec 5, 2024
- Ui Nodegraph Node -> Ui
    Example: Ui Nodegraph Node Pos -> Pos
    Justification: the section is already titled Node Graph Node
- Translate Rotate Pivot -> Rotate Pivot
  Translate Scale Pivot  -> Scale Pivot
    Example: Translate Scale Pivot -> Scale Pivot
    Justification: pivot are always translations, no need to say it, it is implicit in being a pivot.
- Translate Rotate Pivot Translate -> Pivot Rotate Translate
  Translate Scale Pivot Translate  -> Pivot Scale Translate
    Example: Translate Scale Pivot Translate -> Scale Pivot Translate
    Justification: follow what is done for the pivot.
@pierrebai-adsk pierrebai-adsk force-pushed the bailp/EMSUSD-968/shorten-nice-names branch from 7ddc905 to a4069c8 Compare December 5, 2024 16:35
@pierrebai-adsk pierrebai-adsk self-assigned this Dec 5, 2024
@@ -216,6 +216,9 @@ std::string prettifyName(const std::string& name)
{ "usd", "USD" },
{ "mtlx", "MaterialX" },
{ "lookdevx", "LookdevX" },
{ "Ui Nodegraph Node", "Ui" },
{ "Translate Scale Pivot", "Scale Pivot" },
{ "Translate Rotate Pivot", "Rotate Pivot" },
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wouldn't the compensation ones still have a very long name and get trimmed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, it gets fixed by the same replacement as the pivot one. I tested it manually to be sure :)

@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Dec 5, 2024
@seando-adsk seando-adsk added ufe-usd Related to UFE-USD plugin in Maya-Usd and removed enhancement New feature or request labels Dec 5, 2024
@seando-adsk seando-adsk merged commit 50b562f into dev Dec 5, 2024
11 checks passed
@seando-adsk seando-adsk deleted the bailp/EMSUSD-968/shorten-nice-names branch December 5, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge ufe-usd Related to UFE-USD plugin in Maya-Usd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants