mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
- background job style cleanup.
- assert if material assignment is called with lib. (so the callers can be corrected). - correct example docs
This commit is contained in:
parent
1c11e40cb7
commit
dbd3009108
4 changed files with 39 additions and 30 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue