diff options
Diffstat (limited to 'release/scripts/modules/bpy/ops.py')
-rw-r--r-- | release/scripts/modules/bpy/ops.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/modules/bpy/ops.py b/release/scripts/modules/bpy/ops.py index 223a5a89471..7a824ce2e68 100644 --- a/release/scripts/modules/bpy/ops.py +++ b/release/scripts/modules/bpy/ops.py @@ -164,7 +164,7 @@ class bpy_ops_submodule_op(object): if 'FINISHED' in ret: import bpy scene = bpy.context.scene - if scene: # None in backgroud mode + if scene: # None in backgroud mode scene.update() else: for scene in bpy.data.scenes: @@ -178,14 +178,14 @@ class bpy_ops_submodule_op(object): ''' return op_get_rna(self.idname()) - def __repr__(self): # useful display, repr(op) + def __repr__(self): # useful display, repr(op) import bpy idname = self.idname() as_string = op_as_string(idname) descr = getattr(bpy.types, idname).bl_rna.description return as_string + "\n" + descr - def __str__(self): # used for print(...) + def __str__(self): # used for print(...) return "<function bpy.ops.%s.%s at 0x%x'>" % \ (self.module, self.func, id(self)) |