Drivers: ensure Python expressions are cached with copy-on-write.
Store the compiled expressions on the original driver. Ref T55442.
This commit is contained in:
@@ -27,14 +27,7 @@
|
||||
#ifndef __BPY_DRIVER_H__
|
||||
#define __BPY_DRIVER_H__
|
||||
|
||||
struct ChannelDriver;
|
||||
struct PathResolvedRNA;
|
||||
|
||||
int bpy_pydriver_create_dict(void);
|
||||
extern PyObject *bpy_pydriver_Dict;
|
||||
|
||||
/* externals */
|
||||
float BPY_driver_exec(struct PathResolvedRNA *anim_rna, struct ChannelDriver *driver, const float evaltime);
|
||||
void BPY_driver_reset(void);
|
||||
|
||||
#endif /* __BPY_DRIVER_H__ */
|
||||
|
||||
Reference in New Issue
Block a user