Update
This commit is contained in:
@@ -24,17 +24,16 @@ from . import ModIt_CSS
|
||||
|
||||
|
||||
##_____________________________________________PATH
|
||||
MODIT_DIR = os.path.dirname(os.path.abspath(__file__)).replace('\\', '/')
|
||||
USERAPPDIR = mc.internalVar(userAppDir=True)
|
||||
VERSION = mc.about(v=True)
|
||||
# Get ModIt's actual location
|
||||
ModItDir = os.path.dirname(os.path.abspath(__file__))
|
||||
IconsPathThemeClassic = os.path.join(ModItDir, 'Icons/Theme_Classic/')
|
||||
ToolPath = os.path.join(ModItDir, 'Tools/')
|
||||
PreferencePath = os.path.join(ModItDir, 'Preferences/')
|
||||
PlugInsPath = os.path.join(USERAPPDIR, VERSION+'/plug-ins')
|
||||
PrefIcons = os.path.join(USERAPPDIR, VERSION+'/prefs/icons')
|
||||
UserScriptFolder = os.path.join(USERAPPDIR, VERSION+'/scripts')
|
||||
RessourcePath = os.path.join(ModItDir, 'Ressources/')
|
||||
IconsPathThemeClassic = os.path.join(MODIT_DIR, 'Icons/Theme_Classic/').replace('\\', '/')
|
||||
ToolPath = os.path.join(MODIT_DIR, 'Tools/').replace('\\', '/')
|
||||
PreferencePath = os.path.join(MODIT_DIR, 'Preferences/').replace('\\', '/')
|
||||
PlugInsPath = os.path.join(USERAPPDIR, VERSION+'/plug-ins').replace('\\', '/')
|
||||
PrefIcons = os.path.join(USERAPPDIR, VERSION+'/prefs/icons').replace('\\', '/')
|
||||
UserScriptFolder = os.path.join(USERAPPDIR, VERSION+'/scripts').replace('\\', '/')
|
||||
RessourcePath = os.path.join(MODIT_DIR, 'Ressources/').replace('\\', '/')
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user