From 0b0c8c92441aeb0a21aec52de8689e8000495e0e Mon Sep 17 00:00:00 2001 From: Chris Want Date: Wed, 22 Nov 2006 15:53:46 +0000 Subject: =Texture Plugins= Added a callback instance_init() so that any particular instance of a texture plugin can initialize data. Updated the clouds2 and tile example plugins to have a (dummy) call back. --- source/blender/blenkernel/BKE_plugin_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenkernel/BKE_plugin_types.h') diff --git a/source/blender/blenkernel/BKE_plugin_types.h b/source/blender/blenkernel/BKE_plugin_types.h index 338cfee7291..2b7c6c06832 100644 --- a/source/blender/blenkernel/BKE_plugin_types.h +++ b/source/blender/blenkernel/BKE_plugin_types.h @@ -65,6 +65,7 @@ typedef struct _PluginInfo { void (*callback)(int); TexDoit tex_doit; SeqDoit seq_doit; + void (*instance_init)(void *); } PluginInfo; #endif -- cgit v1.2.3