diff options
Diffstat (limited to 'doc/python_api/examples/bpy.props.2.py')
-rw-r--r-- | doc/python_api/examples/bpy.props.2.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/python_api/examples/bpy.props.2.py b/doc/python_api/examples/bpy.props.2.py index ec9c838f5f2..aeb3bab65b4 100644 --- a/doc/python_api/examples/bpy.props.2.py +++ b/doc/python_api/examples/bpy.props.2.py @@ -14,6 +14,7 @@ class MaterialSettings(bpy.types.PropertyGroup): my_float = bpy.props.FloatProperty() my_string = bpy.props.StringProperty() + bpy.utils.register_class(MaterialSettings) bpy.types.Material.my_settings = \ |