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>2018-06-26 23:56:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-26 23:56:39 +0300
commita61480c27103fbf449fd14ea8061b65c29f19eae (patch)
tree8d626b465ebe17936b7551aa91cc5b9d3b192607 /doc/python_api/examples/bpy.types.Operator.1.py
parenta3cd57ea8c57c10d4c65ddd51faa6cce14c98e10 (diff)
parent532c8ac58384309e77791e32ab78f448ad2a76a6 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'doc/python_api/examples/bpy.types.Operator.1.py')
-rw-r--r--doc/python_api/examples/bpy.types.Operator.1.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/python_api/examples/bpy.types.Operator.1.py b/doc/python_api/examples/bpy.types.Operator.1.py
index 1ba13c040ba..f09ae969001 100644
--- a/doc/python_api/examples/bpy.types.Operator.1.py
+++ b/doc/python_api/examples/bpy.types.Operator.1.py
@@ -42,6 +42,7 @@ class SimpleMouseOperator(bpy.types.Operator):
self.y = event.mouse_y
return self.execute(context)
+
bpy.utils.register_class(SimpleMouseOperator)
# Test call to the newly defined operator.