diff options
Diffstat (limited to 'source/blender/blenkernel/intern/library.c')
-rw-r--r-- | source/blender/blenkernel/intern/library.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index 6e80a677a7a..e81d3bac655 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -116,9 +116,6 @@ #include "BPI_script.h" -/* for maintaining the python id hash when removeing data */ -#include "BPY_extern.h" - #define MAX_IDPUP 60 /* was 24 */ /* ************* general ************************ */ @@ -435,9 +432,6 @@ void free_libblock(ListBase *lb, void *idv) { ID *id= idv; - /* invalidate the data if its in the python pool */ - BPY_idhash_invalidate(id); - switch( GS(id->name) ) { /* GetShort from util.h */ case ID_SCE: free_scene((Scene *)id); |