diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-10 19:24:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-10 19:24:05 +0400 |
commit | dbd300910815692294e8919b6ea21e934731d2c8 (patch) | |
tree | 3ee917259147fc4d5fdd5140f7fd48ce85683de0 /doc/python_api | |
parent | 1c11e40cb7ed708228b70284a62be34916ec1b4d (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/python_api')
-rw-r--r-- | doc/python_api/examples/bpy.props.2.py | 4 |
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" |