apply UserPrefs and Theme rna naming changes.

This commit is contained in:
2010-08-17 13:14:41 +00:00
parent 9dd43244a2
commit 7a31417f50
18 changed files with 191 additions and 186 deletions

View File

@@ -224,7 +224,7 @@ _scripts = (_os.path.normpath(_scripts), )
def user_script_path():
path = _bpy.context.user_preferences.filepaths.python_scripts_directory
path = _bpy.context.user_preferences.filepaths.script_directory
if path:
path = _os.path.normpath(path)
@@ -243,7 +243,7 @@ def script_paths(subdir=None, user=True):
# add user scripts dir
if user:
user_script_path = _bpy.context.user_preferences.filepaths.python_scripts_directory
user_script_path = _bpy.context.user_preferences.filepaths.script_directory
else:
user_script_path = None