diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-21 04:47:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-21 04:55:02 +0300 |
commit | 63fcbfc3a7325d79b9e916457d64c302ddfeadfa (patch) | |
tree | f194e16441c06af61a2c34ef6dc119ac2c98f9a3 /release/scripts/modules/bl_previews_utils | |
parent | 9dde3e42a7c5bc5f7896fd30e2b3a5859d6857bf (diff) |
RNA: naming, user-preferences -> preferences
Diffstat (limited to 'release/scripts/modules/bl_previews_utils')
-rw-r--r-- | release/scripts/modules/bl_previews_utils/bl_previews_render.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/modules/bl_previews_utils/bl_previews_render.py b/release/scripts/modules/bl_previews_utils/bl_previews_render.py index 084937f0369..55cbd128183 100644 --- a/release/scripts/modules/bl_previews_utils/bl_previews_render.py +++ b/release/scripts/modules/bl_previews_utils/bl_previews_render.py @@ -485,11 +485,11 @@ def main(): help="Do not generate/clear previews for mat/tex/image/etc. IDs (those handled by core Blender code).") args = parser.parse_args(argv) - orig_save_version = bpy.context.user_preferences.filepaths.save_version + orig_save_version = bpy.context.preferences.filepaths.save_version if args.no_backups: - bpy.context.user_preferences.filepaths.save_version = 0 + bpy.context.preferences.filepaths.save_version = 0 elif orig_save_version < 1: - bpy.context.user_preferences.filepaths.save_version = 1 + bpy.context.preferences.filepaths.save_version = 1 if args.clear: print("clear!") @@ -501,7 +501,7 @@ def main(): do_data_intern=args.no_data_intern) # Not really necessary, but better be consistent. - bpy.context.user_preferences.filepaths.save_version = orig_save_version + bpy.context.preferences.filepaths.save_version = orig_save_version if __name__ == "__main__": |