diff options
Diffstat (limited to 'doc/python_api/examples/bpy.types.Menu.py')
-rw-r--r-- | doc/python_api/examples/bpy.types.Menu.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/python_api/examples/bpy.types.Menu.py b/doc/python_api/examples/bpy.types.Menu.py index 3fbc0f6a8f0..e8c4a2aa072 100644 --- a/doc/python_api/examples/bpy.types.Menu.py +++ b/doc/python_api/examples/bpy.types.Menu.py @@ -10,6 +10,12 @@ convention for menus. .. note:: Menu subclasses must be registered before referencing them from blender. + +.. note:: + Menu's have their :class:`Layout.operator_context` initialized as + 'EXEC_REGION_WIN' rather then 'INVOKE_DEFAULT', so if the operator context + needs to initialize inputs from the :class:`Operator.invoke` function + then this needs to be explicitly set. """ import bpy |