Blender V5.3
blender::BPyContextTempOverride Struct Reference

Classes

struct  [struct].ctx_temp_orig

Public Attributes

PyObject_HEAD bContext * context
ContextStore ctx_init
ContextStore ctx_temp
struct  ctx_temp_orig
bContext_PyState py_state
PyObject * py_state_context_dict

Detailed Description

Definition at line 129 of file bpy_rna_context.cc.

Member Data Documentation

◆ context

◆ ctx_init

◆ ctx_temp

◆ ctx_temp_orig

◆ py_state

bContext_PyState blender::BPyContextTempOverride::py_state

Bypass Python overrides set when calling an operator from Python.

Definition at line 147 of file bpy_rna_context.cc.

Referenced by blender::bpy_rna_context_temp_override_enter(), and blender::bpy_rna_context_temp_override_exit().

◆ py_state_context_dict

PyObject* blender::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 156 of file bpy_rna_context.cc.

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


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