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:
Diffstat (limited to 'doc/python_api/examples/bpy.types.AddonPreferences.1.py')
-rw-r--r--doc/python_api/examples/bpy.types.AddonPreferences.1.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/python_api/examples/bpy.types.AddonPreferences.1.py b/doc/python_api/examples/bpy.types.AddonPreferences.1.py
index e478ba9b19a..e6c720e0fad 100644
--- a/doc/python_api/examples/bpy.types.AddonPreferences.1.py
+++ b/doc/python_api/examples/bpy.types.AddonPreferences.1.py
@@ -9,7 +9,7 @@ bl_info = {
"wiki_url": "",
"tracker_url": "",
"category": "Object",
- }
+}
import bpy
@@ -23,17 +23,17 @@ class ExampleAddonPreferences(AddonPreferences):
bl_idname = __name__
filepath = StringProperty(
- name="Example File Path",
- subtype='FILE_PATH',
- )
+ name="Example File Path",
+ subtype='FILE_PATH',
+ )
number = IntProperty(
- name="Example Number",
- default=4,
- )
+ name="Example Number",
+ default=4,
+ )
boolean = BoolProperty(
- name="Example Boolean",
- default=False,
- )
+ name="Example Boolean",
+ default=False,
+ )
def draw(self, context):
layout = self.layout