Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-01-05 09:43:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-05 09:43:35 +0400
commitcce9c432953a73afef0c2105c8ff2341d86c0d3e (patch)
tree75a775ac1e71016f222a41573304968a6891fe18 /doc/python_api/examples/bpy.types.Operator.5.py
parentbe025ea31985f7614106b47a519d6e678a19fb95 (diff)
correct api doc examples and a typo
Diffstat (limited to 'doc/python_api/examples/bpy.types.Operator.5.py')
-rw-r--r--doc/python_api/examples/bpy.types.Operator.5.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/python_api/examples/bpy.types.Operator.5.py b/doc/python_api/examples/bpy.types.Operator.5.py
index 7d1a98d4c34..e123768431b 100644
--- a/doc/python_api/examples/bpy.types.Operator.5.py
+++ b/doc/python_api/examples/bpy.types.Operator.5.py
@@ -31,6 +31,7 @@ class ModalOperator(bpy.types.Operator):
def execute(self, context):
context.object.location.x = self.value / 100.0
+ return {'FINISHED'}
def modal(self, context, event):
if event.type == 'MOUSEMOVE': # Apply