SEToolsPlugin.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:SETools 作者: dtzxporter 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号