- background job style cleanup.
[blender.git] / doc / python_api / examples / bpy.props.2.py
index e27e6227ba3b9086f1f6506d7c08aa7c120bedea..22fef5dc13a45ce515184340be8ce0482f5ebd55 100644 (file)
@@ -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"