Docs: update examples to use Context.temp_override

This commit is contained in:
2022-04-20 12:49:13 +10:00
parent f438344cf2
commit 9364e17936
3 changed files with 18 additions and 12 deletions

View File

@@ -33,6 +33,11 @@ There are 3 optional positional arguments (documented in detail below).
bpy.ops.test.operator(override_context, execution_context, undo)
- override_context - ``dict`` type.
.. deprecated:: 3.2
:class:`bpy.types.Context.temp_override` should be used instead of this argument.
- execution_context - ``str`` (enum).
- undo - ``bool`` type.