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/makesdna/DNA_texture_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesdna/DNA_texture_types.h') diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h index b93276624d5..01de2196f8c 100644 --- a/source/blender/makesdna/DNA_texture_types.h +++ b/source/blender/makesdna/DNA_texture_types.h @@ -89,6 +89,7 @@ typedef struct PluginTex { float data[32]; int (*doit)(void); + void (*instance_init)(void *); /* should be void (*)(unsigned short)... patched */ void (*callback)(dna_ushort_fix); -- cgit v1.2.3