diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-14 13:53:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-14 13:53:56 +0400 |
commit | 9f2e845181e0828124b3c29519a82b38293291f5 (patch) | |
tree | bbe5d9bad3ff6791373d49b31c65d4460efc65ff /doc | |
parent | d476113c05af90ae3b8beffa2637fe2aee512bbd (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.py | 2 |
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( |