-
Notifications
You must be signed in to change notification settings - Fork 203
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
MAYA-122134 bad variant cache with empty pref #2200
Conversation
Fix that caching to USD fails when the Maya prefs are reset. Also add word-wrap to the descriptions UI.
@@ -116,7 +116,7 @@ proc fileOptionsTabPage(string $tabLayout) | |||
setParent $topForm; | |||
frameLayout -label `getMayaUsdLibString("kMayaRefDescription")`; | |||
columnLayout -adjustableColumn true; | |||
text -align "left" -label `getMayaUsdLibString("kMayaRefAddToUSDDescription")`; | |||
text -align "left" -wordWrap 1 -label `getMayaUsdLibString("kMayaRefAddToUSDDescription")`; |
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.
Doesn't wordWrap flag take a boolean? Using a 1 makes it seems like its some kind of word wrap value choice.
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.
I thought MEL did not have a boolean type as I've seen int, 0 and 1 used in most places. It worked with that 1. Just searched< yeah, true/false... I can change it. Although, half the usages I've seen in maya pass 0 or 1 there.
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.
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.
No wonder it is confusing :) I guess it is all for historical reasons. Putting true here does cost much, so I did.
Fix that caching to USD fails when the Maya prefs are reset.
Also add word-wrap to the descriptions UI.