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:
authorBastien Montagne <montagne29@wanadoo.fr>2016-04-21 13:16:32 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-04-21 13:16:32 +0300
commit0b349871d81d61637722d775302a7505b515dd8a (patch)
tree3bd5156cf487bc911a10ebb4054d486d0ebcfe73 /doc
parent7205bac989771d2198d6683f4cdae3aedb64ab1e (diff)
Fix T48212: Typos in bpy enum props examples.
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/examples/bpy.props.3.py2
-rw-r--r--doc/python_api/examples/bpy.props.5.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/python_api/examples/bpy.props.3.py b/doc/python_api/examples/bpy.props.3.py
index e0b2cf419d2..807edde8f58 100644
--- a/doc/python_api/examples/bpy.props.3.py
+++ b/doc/python_api/examples/bpy.props.3.py
@@ -20,7 +20,7 @@ bpy.types.Scene.my_settings = \
bpy.props.CollectionProperty(type=SceneSettingItem)
# Assume an armature object selected
-print("Adding 3 values!")
+print("Adding 2 values!")
my_item = bpy.context.scene.my_settings.add()
my_item.name = "Spam"
diff --git a/doc/python_api/examples/bpy.props.5.py b/doc/python_api/examples/bpy.props.5.py
index 4e9d61d5385..87741cbab8a 100644
--- a/doc/python_api/examples/bpy.props.5.py
+++ b/doc/python_api/examples/bpy.props.5.py
@@ -48,9 +48,9 @@ bpy.types.Scene.test_array = bpy.props.BoolVectorProperty(size=2, get=get_array,
# Note: the getter/setter callback must use integer identifiers!
test_items = [
("RED", "Red", "", 1),
- ("GREEN", "Red", "", 2),
- ("BLUE", "Red", "", 3),
- ("YELLOW", "Red", "", 4),
+ ("GREEN", "Green", "", 2),
+ ("BLUE", "Blue", "", 3),
+ ("YELLOW", "Yellow", "", 4),
]