From 6d6dee7ba8877e468326b21c735c05c2032c3e00 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sun, 21 Dec 2003 22:57:02 +0000 Subject: - globals were defined double... showed up thanks to warning of irix compiler! --- source/blender/blenkernel/intern/texture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source') diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c index 5875356bae9..2c73746d4a1 100644 --- a/source/blender/blenkernel/intern/texture.c +++ b/source/blender/blenkernel/intern/texture.c @@ -82,9 +82,6 @@ #include "BKE_ipo.h" -/* These vars form the texture channel */ -float Tin, Tr, Tg, Tb, Ta, Txtra; -extern int Talpha; /* ------------------------------------------------------------------------- */ @@ -244,6 +241,9 @@ ColorBand *add_colorband() int do_colorband(ColorBand *coba) { + /* These vars form the texture channel, in render/intern/texture.c */ + extern float Tin, Tr, Tg, Tb, Ta; + extern int Talpha; CBData *cbd1, *cbd2, *cbd0, *cbd3; float fac, mfac, t[4]; int a; -- cgit v1.2.3