Blender  V3.3
Public Attributes | List of all members
BPyContextTempOverride Struct Reference

Public Attributes

PyObject_HEAD bContextcontext
 
ContextStore ctx_init
 
ContextStore ctx_temp
 
struct bContext_PyState py_state
 
PyObject * py_state_context_dict
 

Detailed Description

Definition at line 39 of file bpy_rna_context.c.

Member Data Documentation

◆ context

PyObject_HEAD bContext* BPyContextTempOverride::context

Definition at line 41 of file bpy_rna_context.c.

◆ ctx_init

ContextStore BPyContextTempOverride::ctx_init

Definition at line 43 of file bpy_rna_context.c.

◆ ctx_temp

ContextStore BPyContextTempOverride::ctx_temp

Definition at line 44 of file bpy_rna_context.c.

◆ py_state

struct bContext_PyState BPyContextTempOverride::py_state

Bypass Python overrides set when calling an operator from Python.

Definition at line 44 of file bpy_rna_context.c.

◆ py_state_context_dict

PyObject* BPyContextTempOverride::py_state_context_dict

This dictionary is used to store members that don't have special handling, see: bpy_context_temp_override_extract_known_args, these will then be accessed via BPY_context_member_get.

This also supports nested stacking, so a nested temp-context-overrides will overlay the new members on the old members (instead of ignoring them).

Definition at line 55 of file bpy_rna_context.c.


The documentation for this struct was generated from the following file: