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
path: root/doc
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-01-14 13:53:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-14 13:53:56 +0400
commit9f2e845181e0828124b3c29519a82b38293291f5 (patch)
treebbe5d9bad3ff6791373d49b31c65d4460efc65ff /doc
parentd476113c05af90ae3b8beffa2637fe2aee512bbd (diff)
code cleanup: use BMW_begin insode for loops body.
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/examples/bpy.types.AddonPreferences.1.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/python_api/examples/bpy.types.AddonPreferences.1.py b/doc/python_api/examples/bpy.types.AddonPreferences.1.py
index 08de6f4f5a9..73f90acb3fa 100644
--- a/doc/python_api/examples/bpy.types.AddonPreferences.1.py
+++ b/doc/python_api/examples/bpy.types.AddonPreferences.1.py
@@ -17,6 +17,8 @@ from bpy.props import StringProperty, IntProperty, BoolProperty
class ExampleAddonPreferences(AddonPreferences):
+ # this must match the addon name, use '__package__'
+ # when defining this in a submodule of a python package.
bl_idname = __name__
filepath = StringProperty(