def initializePlugin(mObject):
# Register the plugin
mPlugin = OpenMayaMPx.MFnPlugin(mObject, "DTZxPorter", "1.0", "Any")
# Try and register the file translators
try:
# Register seanim
mPlugin.registerFileTranslator("SEAnim", None, ProxySEAnimRegister)
except:
# Log the error
print("Failed to register SETools!")
# If we got here, setup the menu
CreateMenu()
# Unload the plugin
评论列表
文章目录