From 71500a2df1bc309a5d011c39f8af462cf977f64f Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Fri, 21 Nov 2003 12:30:15 +0000 Subject: - fixed another oldie... displaylists for MBall was generated FAR too often. even for each redraw! Now its all smooth & fast again. introduced new kernel API call: int is_basis_mball(ob), this provides a quick check of the object is the actual basis for the displaylist and polygonization. --- source/blender/blenkernel/BKE_mball.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenkernel/BKE_mball.h') diff --git a/source/blender/blenkernel/BKE_mball.h b/source/blender/blenkernel/BKE_mball.h index b722e84a550..4bb49828553 100644 --- a/source/blender/blenkernel/BKE_mball.h +++ b/source/blender/blenkernel/BKE_mball.h @@ -52,6 +52,7 @@ void make_local_mball(struct MetaBall *mb); void tex_space_mball( struct Object *ob); void make_orco_mball( struct Object *ob); struct Object *find_basis_mball( struct Object *ob); +int is_basis_mball(struct Object *ob); void metaball_polygonize(struct Object *ob); void calc_mballco(struct MetaElem *ml, float *vec); float densfunc(struct MetaElem *ball, float x, float y, float z); -- cgit v1.2.3