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:
authorCampbell Barton <ideasman42@gmail.com>2011-04-10 19:24:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-10 19:24:05 +0400
commitdbd300910815692294e8919b6ea21e934731d2c8 (patch)
tree3ee917259147fc4d5fdd5140f7fd48ce85683de0 /doc
parent1c11e40cb7ed708228b70284a62be34916ec1b4d (diff)
- background job style cleanup.
- assert if material assignment is called with lib. (so the callers can be corrected). - correct example docs
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/examples/bpy.props.2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/python_api/examples/bpy.props.2.py b/doc/python_api/examples/bpy.props.2.py
index e27e6227ba3..22fef5dc13a 100644
--- a/doc/python_api/examples/bpy.props.2.py
+++ b/doc/python_api/examples/bpy.props.2.py
@@ -22,6 +22,6 @@ bpy.types.Material.my_settings = \
# test the new settings work
material = bpy.data.materials[0]
-material.my_settings.val_int = 5
-material.my_settings.val_float = 3.0
+material.my_settings.my_int = 5
+material.my_settings.my_float = 3.0
material.my_settings.my_string = "Foo"