diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-04-21 13:16:32 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-04-21 13:16:32 +0300 |
commit | 0b349871d81d61637722d775302a7505b515dd8a (patch) | |
tree | 3bd5156cf487bc911a10ebb4054d486d0ebcfe73 /doc/python_api/examples | |
parent | 7205bac989771d2198d6683f4cdae3aedb64ab1e (diff) |
Fix T48212: Typos in bpy enum props examples.
Diffstat (limited to 'doc/python_api/examples')
-rw-r--r-- | doc/python_api/examples/bpy.props.3.py | 2 | ||||
-rw-r--r-- | doc/python_api/examples/bpy.props.5.py | 6 |
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), ] |