Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-12-21 04:47:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-21 04:55:02 +0300
commit63fcbfc3a7325d79b9e916457d64c302ddfeadfa (patch)
treef194e16441c06af61a2c34ef6dc119ac2c98f9a3 /release/scripts/modules/bl_app_template_utils.py
parent9dde3e42a7c5bc5f7896fd30e2b3a5859d6857bf (diff)
RNA: naming, user-preferences -> preferences
Diffstat (limited to 'release/scripts/modules/bl_app_template_utils.py')
-rw-r--r--release/scripts/modules/bl_app_template_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/bl_app_template_utils.py b/release/scripts/modules/bl_app_template_utils.py
index 66ed7327b31..c00ac6a50b1 100644
--- a/release/scripts/modules/bl_app_template_utils.py
+++ b/release/scripts/modules/bl_app_template_utils.py
@@ -33,7 +33,7 @@ __all__ = (
import bpy as _bpy
-# Normally matches 'user_preferences.app_template_id',
+# Normally matches 'preferences.app_template_id',
# but loading new preferences will get us out of sync.
_app_template = {
"id": "",
@@ -184,7 +184,7 @@ def reset(*, reload_scripts=False):
"""
Sets default state.
"""
- template_id = _bpy.context.user_preferences.app_template
+ template_id = _bpy.context.preferences.app_template
if _bpy.app.debug_python:
print("bl_app_template_utils.reset('%s')" % template_id)