diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-17 10:58:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-17 10:58:07 +0400 |
commit | fda20451502fea888019ce0d8b044b5dbecab491 (patch) | |
tree | 8f5d726fbad35bb1563d28c0365cb7f58f05999d /release/scripts/modules/bpy | |
parent | 61389bba41857ec468b5844e3fd9f713b4d9c4a5 (diff) |
correct spelling errors in comments
Diffstat (limited to 'release/scripts/modules/bpy')
-rw-r--r-- | release/scripts/modules/bpy/__init__.py | 2 | ||||
-rw-r--r-- | release/scripts/modules/bpy/ops.py | 2 | ||||
-rw-r--r-- | release/scripts/modules/bpy/utils.py | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/modules/bpy/__init__.py b/release/scripts/modules/bpy/__init__.py index 5c371fd750a..5fe5cfd7cf4 100644 --- a/release/scripts/modules/bpy/__init__.py +++ b/release/scripts/modules/bpy/__init__.py @@ -56,7 +56,7 @@ def main(): # from bpy.types import Panel sys.modules["bpy.types"] = types - # if "-d" in sys.argv: # Enable this to measure startup speed + #~ if "-d" in sys.argv: # Enable this to measure start up speed if 0: import cProfile cProfile.run('import bpy; bpy.utils.load_scripts()', 'blender.prof') diff --git a/release/scripts/modules/bpy/ops.py b/release/scripts/modules/bpy/ops.py index ba9f6dafd19..382a47cb4e6 100644 --- a/release/scripts/modules/bpy/ops.py +++ b/release/scripts/modules/bpy/ops.py @@ -138,7 +138,7 @@ class BPyOpsSubModOp(object): @staticmethod def _scene_update(context): scene = context.scene - if scene: # None in backgroud mode + if scene: # None in background mode scene.update() else: import bpy diff --git a/release/scripts/modules/bpy/utils.py b/release/scripts/modules/bpy/utils.py index fdd22f403a4..6eb16bd7e7a 100644 --- a/release/scripts/modules/bpy/utils.py +++ b/release/scripts/modules/bpy/utils.py @@ -142,9 +142,9 @@ def load_scripts(reload_scripts=False, refresh_scripts=False): if reload_scripts: _bpy_types.TypeMap.clear() - # just unload, dont change user defaults, this means we can sync + # just unload, don't change user defaults, this means we can sync # to reload. note that they will only actually reload of the - # modification time changes. This `wont` work for packages so... + # modification time changes. This `won't` work for packages so... # its not perfect. for module_name in [ext.module for ext in prefs.addons]: _addon_utils.disable(module_name, default_set=False) @@ -220,7 +220,7 @@ def load_scripts(reload_scripts=False, refresh_scripts=False): if _os.path.isdir(path): _sys_path_ensure(path) - # only add this to sys.modules, dont run + # only add this to sys.modules, don't run if path_subdir == "modules": continue @@ -374,7 +374,7 @@ def smpte_from_seconds(time, fps=None): if time >= 3600.0: # hours hours = int(time / 3600.0) time = time % 3600.0 - if time >= 60.0: # mins + if time >= 60.0: # minutes minutes = int(time / 60.0) time = time % 60.0 |