diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-02-15 11:37:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-02-15 11:43:08 +0300 |
commit | 318d3b9ab40bac7b22d10d3e00428c433670d721 (patch) | |
tree | c92dd9c49144712ef7ce32385c955d855d35f6d6 /doc/python_api/examples/bpy.types.Menu.py | |
parent | 41fb953fa0b54d0bb3127bb479833efb6281f178 (diff) |
Cleanup: rst style
Diffstat (limited to 'doc/python_api/examples/bpy.types.Menu.py')
-rw-r--r-- | doc/python_api/examples/bpy.types.Menu.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/python_api/examples/bpy.types.Menu.py b/doc/python_api/examples/bpy.types.Menu.py index c2162444055..295c108abe3 100644 --- a/doc/python_api/examples/bpy.types.Menu.py +++ b/doc/python_api/examples/bpy.types.Menu.py @@ -9,9 +9,11 @@ Notice the 'CATEGORY_MT_name' in :class:`Menu.bl_idname`, this is a naming convention for menus. .. note:: + Menu subclasses must be registered before referencing them from blender. .. note:: + Menus have their :class:`Layout.operator_context` initialized as 'EXEC_REGION_WIN' rather than 'INVOKE_DEFAULT' (see :ref:`Execution Context <operator-execution_context>`). If the operator context needs to initialize inputs from the |