Blender V4.5
BPyContextTempOverride Struct Reference

Classes

struct  [struct].ctx_temp_orig

Public Attributes

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

Detailed Description

Definition at line 126 of file bpy_rna_context.cc.

Member Data Documentation

◆ context

PyObject_HEAD bContext* BPyContextTempOverride::context

◆ ctx_init

◆ ctx_temp

◆ ctx_temp_orig

◆ py_state

bContext_PyState BPyContextTempOverride::py_state

Bypass Python overrides set when calling an operator from Python.

Definition at line 142 of file bpy_rna_context.cc.

Referenced by bpy_rna_context_temp_override_enter(), and bpy_rna_context_temp_override_exit().

◆ 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 151 of file bpy_rna_context.cc.

Referenced by bpy_rna_context_temp_override_clear(), bpy_rna_context_temp_override_dealloc(), bpy_rna_context_temp_override_enter(), bpy_rna_context_temp_override_exit(), and bpy_rna_context_temp_override_traverse().


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