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

Setting up the shading mode option menu dynamically. #166

Merged

Conversation

sirpalee
Copy link
Contributor

Description of Change(s)

The change builds the Shading Mode list dynamically, instead of hard coding the values in the Mel scripts. The advantage of this change is adding a new shading mode export won't require manual changes in the UI scripts, and the translatorMaterial will use the right exporter at export time.

To make this work, I needed to add a new command to list the export/import Shading Modes, similar functions to the Registry, and modify the UI scripts to build the optionMenu based on the output of the command.

Fixes Issue(s)

N/A

@sirpalee sirpalee force-pushed the pr_dynamic_shading_mode_list branch from 4de0d52 to 5c57e4b Compare April 10, 2017 08:13
@sirpalee
Copy link
Contributor Author

@sunyab @spiffmon Can we get this reviewed as well?

@pixar-oss pixar-oss merged commit 5c57e4b into PixarAnimationStudios:dev Apr 13, 2017
pixar-oss added a commit that referenced this pull request Apr 13, 2017
Setting up the shading mode option menu dynamically.
@sirpalee sirpalee deleted the pr_dynamic_shading_mode_list branch April 14, 2017 22:14
AdamFelt pushed a commit to autodesk-forks/USD that referenced this pull request Apr 16, 2024
…splay issue. (PixarAnimationStudios#166)

Fix in TextSystem side: The reason is the text run is replaced by sub text runs and deleted, but the range of lines still save the old text run iterator. Remove recheckLines functions, and do similar things before the old text run is deleted after font substitution or divide.
Add complex scripts test file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants