From 94ad8c810c1699188f4c54a9307af31fc5fd9e7a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 22 Apr 2007 22:08:19 +0000 Subject: Changed TESTBASE and TESTBASE_LIB to check the hidden flag Checked every instance of testbase to see this dosnt break anything, also changed TESTBASE and TESTBASELIB, both were used incorrectly in places. added error_libdata() for library error messages that are everywhere. added object_data_is_libdata to test if the object and its data's are from a library. fixed 2 crashs in adding Curve points to a library object (remember to check, verify_ipocurve returns NULL!) made duplicating and making dupli's real for lib objects possible, disabled joining into lib armatures and meshes. --- source/blender/include/BDR_editobject.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/include/BDR_editobject.h') diff --git a/source/blender/include/BDR_editobject.h b/source/blender/include/BDR_editobject.h index 31412a4fd0a..2a96a8d65cb 100644 --- a/source/blender/include/BDR_editobject.h +++ b/source/blender/include/BDR_editobject.h @@ -117,6 +117,7 @@ void add_hook(void); void hook_select(struct HookModifierData *hmd); int hook_getIndexArray(int *tot, int **indexar, char *name, float *cent_r); +int object_data_is_libdata(struct Object *ob); void hide_objects(int select); void show_objects(void); -- cgit v1.2.3