def uninitializePlugin(mObject):
# Get the plugin instance
mPlugin = OpenMayaMPx.MFnPlugin(mObject)
# Try and unregister the file translators
try:
# Unregister seanim
mPlugin.deregisterFileTranslator("SEAnim")
except:
# Log error
print("Failed to unload SETools!")
# If we got here, clean up the menu
DeleteMenu()
评论列表
文章目录