From c97be098f7db70f09d7047b7d69de7cf2c6ced70 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 26 Mar 2007 02:10:24 +0000 Subject: Python API made all libdata hashable - use the object type,name and lib for the hash. added .tag to libdata so we can test if data's been processed without using dictionaries added libdataseq.tag (write only) setting the tag flag (which can always be dirty) --- source/blender/python/api2_2x/Ipo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/api2_2x/Ipo.c') diff --git a/source/blender/python/api2_2x/Ipo.c b/source/blender/python/api2_2x/Ipo.c index 4c1865d72b1..8ef4babb415 100644 --- a/source/blender/python/api2_2x/Ipo.c +++ b/source/blender/python/api2_2x/Ipo.c @@ -379,7 +379,7 @@ PyTypeObject Ipo_Type = { /* More standard operations (here for binary compatibility) */ - NULL, /* hashfunc tp_hash; */ + ( hashfunc ) GenericLib_hash, /* hashfunc tp_hash; */ NULL, /* ternaryfunc tp_call; */ NULL, /* reprfunc tp_str; */ #ifdef CURVEATTRS -- cgit v1.2.3