Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2003-12-22 01:57:02 +0300
committerTon Roosendaal <ton@blender.org>2003-12-22 01:57:02 +0300
commit6d6dee7ba8877e468326b21c735c05c2032c3e00 (patch)
treedbdb3f27e12bfde4e0c75408444d86525ea72f12 /source
parent80622fca55ec97fb8f68be2a2982e91b6849e3cf (diff)
- globals were defined double... showed up thanks to warning of irix
compiler!
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/texture.c6
1 files changed, 3 insertions, 3 deletions
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;