RNA: naming, user-preferences -> preferences

This commit is contained in:
2018-12-21 12:47:44 +11:00
parent 9dde3e42a7
commit 63fcbfc3a7
48 changed files with 220 additions and 220 deletions

View File

@@ -37,7 +37,7 @@ class EditExternally(Operator):
def _editor_guess(context):
import sys
image_editor = context.user_preferences.filepaths.image_editor
image_editor = context.preferences.filepaths.image_editor
# use image editor in the preferences when available.
if not image_editor:
@@ -189,7 +189,7 @@ class ProjectEdit(Operator):
if bpy.data.is_saved:
filepath = "//" + filepath
else:
tmpdir = context.user_preferences.filepaths.temporary_directory
tmpdir = context.preferences.filepaths.temporary_directory
filepath = os.path.join(tmpdir, "project_edit")
obj = context.object