diff options
Diffstat (limited to 'doc/python_api/examples/bpy.props.4.py')
-rw-r--r-- | doc/python_api/examples/bpy.props.4.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/python_api/examples/bpy.props.4.py b/doc/python_api/examples/bpy.props.4.py index 2b44d94f72a..daab18c8986 100644 --- a/doc/python_api/examples/bpy.props.4.py +++ b/doc/python_api/examples/bpy.props.4.py @@ -14,6 +14,7 @@ import bpy def update_func(self, context): print("my test function", self) + bpy.types.Scene.testprop = bpy.props.FloatProperty(update=update_func) bpy.context.scene.testprop = 11.0 |