From 0e6f8e3e25d9c48501c12cdb56bc78868b568ff5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 26 Oct 2012 10:33:57 +0000 Subject: fix for crash when a python operator or render engine was freed in the C code and then referenced from python. now further access in python gives an exception at the line when the freed data is accessed. --- source/blender/python/intern/bpy_rna.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/python/intern/bpy_rna.h') diff --git a/source/blender/python/intern/bpy_rna.h b/source/blender/python/intern/bpy_rna.h index 1fb4b116872..880ef4c2185 100644 --- a/source/blender/python/intern/bpy_rna.h +++ b/source/blender/python/intern/bpy_rna.h @@ -207,6 +207,7 @@ int pyrna_array_contains_py(PointerRNA *ptr, PropertyRNA *prop, PyObject *value) int pyrna_write_check(void); void pyrna_write_set(int val); +void pyrna_invalidate(BPy_DummyPointerRNA *self); int pyrna_struct_validity_check(BPy_StructRNA *pysrna); int pyrna_prop_validity_check(BPy_PropertyRNA *self); -- cgit v1.2.3