correct example

This commit is contained in:
Campbell Barton 2011-02-22 04:42:21 +00:00
parent 12d62831b8
commit 93d562b7b6

@ -33,8 +33,8 @@ class MyPropertyGroup(bpy.types.PropertyGroup):
bpy.utils.register_class(MyPropertyGroup)
bpy.types.Object.my_properties = MyPropertyGroup
bpy.types.Object.my_prop_grp = bpy.props.PointerProperty(type=MyPropertyGroup)
# test this worked
bpy.data.objects[0].my_properties.custom_1 = 22.0
bpy.data.objects[0].my_prop_grp.custom_1 = 22.0