diff options
author | luzpaz <luzpaz> | 2021-02-14 02:23:49 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2021-02-14 02:23:49 +0300 |
commit | f362dad19bf47dad43dd099b76a0eb80f75c4619 (patch) | |
tree | 2d3483fd5dba5a87c0ddd61f48f70e181bc8573b /release | |
parent | 9e81e1c33f44d6d49956a220f6feaa51bf8cba7c (diff) |
Cleanup: Source Code Typos
Corrects approximately 36 spelling errors in source variable names.
Differential Revision: https://developer.blender.org/D10347
Reviewed by Hans Goudey
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_operators/userpref.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_operators/userpref.py b/release/scripts/startup/bl_operators/userpref.py index 0cd97ca6a9e..fa6338fa614 100644 --- a/release/scripts/startup/bl_operators/userpref.py +++ b/release/scripts/startup/bl_operators/userpref.py @@ -1042,7 +1042,7 @@ class PREFERENCES_OT_studiolight_new(Operator): default="StudioLight", ) - ask_overide = False + ask_override = False def execute(self, context): import os @@ -1057,8 +1057,8 @@ class PREFERENCES_OT_studiolight_new(Operator): filepath_final = os.path.join(path_studiolights, filename) if os.path.isfile(filepath_final): - if not self.ask_overide: - self.ask_overide = True + if not self.ask_override: + self.ask_override = True return wm.invoke_props_dialog(self, width=320) else: for studio_light in prefs.studio_lights: @@ -1078,7 +1078,7 @@ class PREFERENCES_OT_studiolight_new(Operator): def draw(self, _context): layout = self.layout - if self.ask_overide: + if self.ask_override: layout.label(text="Warning, file already exists. Overwrite existing file?") else: layout.prop(self, "filename") |