From 9f2e845181e0828124b3c29519a82b38293291f5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 14 Jan 2013 09:53:56 +0000 Subject: code cleanup: use BMW_begin insode for loops body. --- doc/python_api/examples/bpy.types.AddonPreferences.1.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') 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( -- cgit v1.2.3