From 94902dac977cfc089e9740782a19c6ab370cdc03 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 21 May 2009 15:34:09 +0000 Subject: 2.5 UI: Modifier Template * template_modifier creates the modifier box, and returns a layout to put the buttons in. * Only the armature modifier is now done with python code, all other modifiers use C code. To convert a modifier to python, remove the corresponding C code and create a function in DATA_PT_modifiers. * Some modifiers still require some RNA work to get it working well, especially to make pointers editable. Mostly that is a matter of defining an own _set callback and put some of the modifier C code into it. * Still various buttons that don't work, like for hooks or mesh deform binding. * Fix for crashing decimate modifier (still disabled). * Removed UI_BUT_NO_HILITE, HMENU. * Make uiLayoutBox work with align. --- source/blender/blenkernel/BKE_object.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenkernel/BKE_object.h') diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index 2af72d98701..3d71193f37a 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -85,6 +85,7 @@ struct Object *add_object(struct Scene *scene, int type); struct Object *copy_object(struct Object *ob); void expand_local_object(struct Object *ob); void make_local_object(struct Object *ob); +int object_data_is_libdata(struct Object *ob); void set_mblur_offs(float blur); void set_field_offs(float field); void disable_speed_curve(int val); -- cgit v1.2.3