Skip to content

Commit

Permalink
EMSUSD-1504 prevent warnings when reloading the plugin
Browse files Browse the repository at this point in the history
- Move all resource to a Python dictionary.
- This allows unregistering resources when unloaded.
  • Loading branch information
pierrebai-adsk committed Oct 11, 2024
1 parent bcb5b3e commit 068062f
Show file tree
Hide file tree
Showing 7 changed files with 540 additions and 527 deletions.
2 changes: 1 addition & 1 deletion lib/mayaUsd/fileio/doc/How-to-add-new-option.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Usually, you will need to modify these places:
- wrapPrimReader.cpp:
- Expose the option to Python

- mayaUSDRegisterStrings.mel:
- mayaUSDRegisterStrings.py:
Add the new UI labels

- mayaUsdTranslatorImport.mel: (or mayaUsdTranslatorExport.mel)
Expand Down
1 change: 0 additions & 1 deletion lib/mayaUsd/resources/scripts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
list(APPEND scripts_src
mayaUsdLibRegisterStrings.mel
mayaUsdLibRegisterStrings.py
mayaUsdAddMayaReference.mel
mayaUsdAddMayaReference.py
Expand Down
58 changes: 0 additions & 58 deletions lib/mayaUsd/resources/scripts/mayaUsdLibRegisterStrings.mel

This file was deleted.

Loading

0 comments on commit 068062f

Please sign in to comment.