Fix T48212: Typos in bpy enum props examples.
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 21 Apr 2016 10:16:32 +0000 (12:16 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Thu, 21 Apr 2016 10:16:32 +0000 (12:16 +0200)
doc/python_api/examples/bpy.props.3.py
doc/python_api/examples/bpy.props.5.py

index e0b2cf419d2ab1168ecd396b278dee9e809668cf..807edde8f589a060b48f47830abd98eebad420ac 100644 (file)
@@ -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"
index 4e9d61d53852d67bb4ea7701760e6a66c85cae5f..87741cbab8ab3a0b887798c7d9e2bed644013985 100644 (file)
@@ -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),
     ]