update
This commit is contained in:
19
2023/scripts/animation_tools/studiolibrary/SIMPLE_LAUNCH.py
Normal file
19
2023/scripts/animation_tools/studiolibrary/SIMPLE_LAUNCH.py
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
Studio Library 简单启动脚本
|
||||
用于工具架按钮,不需要绝对路径
|
||||
"""
|
||||
|
||||
def launch():
|
||||
"""启动 Studio Library"""
|
||||
try:
|
||||
import animation_tools.studiolibrary as studiolib
|
||||
studiolib.show()
|
||||
except ImportError as e:
|
||||
print("Failed to import Studio Library: " + str(e))
|
||||
print("Please make sure animation_tools is in your PYTHONPATH")
|
||||
|
||||
if __name__ == "__main__":
|
||||
launch()
|
||||
Reference in New Issue
Block a user