|
Blender V5.3
|
#include <Python.h>#include "DNA_anim_types.h"#include "BLI_listbase.hh"#include "BLI_string_utf8.hh"#include "BKE_animsys.hh"#include "BKE_fcurve_driver.h"#include "BKE_global.hh"#include "BKE_idtype.hh"#include "RNA_access.hh"#include "RNA_prototypes.hh"#include "bpy_rna_driver.hh"#include "bpy_intern_string.hh"#include "bpy_driver.hh"#include "bpy_driver_bytecode.hh"#include "bpy_rna.hh"#include "BPY_extern.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | USE_RNA_AS_PYOBJECT |
Functions | |
| int | blender::bpy_pydriver_create_dict () |
| static void | blender::bpy_pydriver_namespace_update_frame (const float evaltime) |
| static void | blender::bpy_pydriver_namespace_update_self (PathResolvedRNA *anim_rna) |
| static void | blender::bpy_pydriver_namespace_clear_self () |
| static PyObject * | blender::bpy_pydriver_depsgraph_as_pyobject (Depsgraph *depsgraph) |
| static void | blender::bpy_pydriver_namespace_update_depsgraph (Depsgraph *depsgraph) |
| void | blender::BPY_driver_exit () |
| void | blender::BPY_driver_reset () |
| static void | blender::pydriver_error (ChannelDriver *driver, const PathResolvedRNA *anim_rna) |
| bool | blender::BPY_driver_secure_bytecode_test (PyObject *expr_code, PyObject *py_namespace, const bool verbose) |
| float | blender::BPY_driver_exec (PathResolvedRNA *anim_rna, ChannelDriver *driver, ChannelDriver *driver_orig, const AnimationEvalContext *anim_eval_context) |
Variables | |
| PyObject * | blender::bpy_pydriver_Dict = nullptr |
| static PyObject * | blender::bpy_pydriver_Dict__secure_ids = nullptr |
| static struct | blender::g_pydriver_state_prev |
This file defines the #BPY_driver_exec to execute python driver expressions, called by the animation system, there are also some utility functions to deal with the name-space used for driver execution.
Definition in file bpy_driver.cc.
| #define USE_RNA_AS_PYOBJECT |
Definition at line 40 of file bpy_driver.cc.