forked from listyque/TACTIC-Handler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main_maya.py
26 lines (20 loc) · 839 Bytes
/
main_maya.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# main.py
# Start here
CURRENT_PATH = 'D:/APS/OneDrive/Dropbox/Work/CGProjects/tacticbase_dev/TACTIC-Handler'
import sys
if CURRENT_PATH not in sys.path:
sys.path.append(CURRENT_PATH)
from lib.environment import env_mode
env_mode.set_current_path(CURRENT_PATH)
env_mode.set_mode('maya')
import lib.ui_classes.ui_maya_dock as main
reload(main)
# To restart set restart=True; default False;
# hotkeys = {
# 'project': 'complex_testing_phase_two',
# 'control_tab': 'checkout'
# }
# example: main.startup(restart=True, hotkeys=hotkeys): run app, open complex_testing_phase_two project, checkout tab and restart if app already started.
# main.startup(hotkeys={'control_tab': 'checkin'}): just raise and set active tab to checkin, tab with current project
hotkeys = None
main.startup(hotkeys=hotkeys)