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
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenkernel/intern/texture.c')
-rw-r--r--source/blender/blenkernel/intern/texture.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c
index e25a8a7f13c..c5f26eeb19c 100644
--- a/source/blender/blenkernel/intern/texture.c
+++ b/source/blender/blenkernel/intern/texture.c
@@ -65,7 +65,6 @@
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
-#include "BKE_osa_types.h"
#include "BKE_plugin_types.h"
#include "BKE_bad_level_calls.h"
@@ -82,8 +81,6 @@
#include "BKE_ipo.h"
-
-
/* ------------------------------------------------------------------------- */
/* All support for plugin textures: */
@@ -241,14 +238,11 @@ ColorBand *add_colorband()
int do_colorband(ColorBand *coba, float in, float out[4])
{
- /* These vars form the texture channel, in render/intern/texture.c */
- extern int Talpha;
CBData *cbd1, *cbd2, *cbd0, *cbd3;
float fac, mfac, t[4];
int a;
if(coba->tot==0) return 0;
- Talpha= 1;
cbd1= coba->data;
if(coba->tot==1) {