From a4069c860c169f98cded044d23c430577800a235 Mon Sep 17 00:00:00 2001 From: Pierre Baillargeon Date: Wed, 4 Dec 2024 14:38:13 -0500 Subject: [PATCH] EMSUSD-968 shorter nice names - 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. --- lib/usdUfe/utils/Utils.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/usdUfe/utils/Utils.cpp b/lib/usdUfe/utils/Utils.cpp index 79322798d3..13685c7f1b 100644 --- a/lib/usdUfe/utils/Utils.cpp +++ b/lib/usdUfe/utils/Utils.cpp @@ -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" }, }; static const auto subRegexes = []() {