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:
authorMatt Ebb <matt@mke3.net>2007-11-14 02:53:58 +0300
committerMatt Ebb <matt@mke3.net>2007-11-14 02:53:58 +0300
commita1c5b3b51d6c32ba055cf25c0e8efb0d2683248c (patch)
tree8cc0854de684bdb10fb35de5e3fcb635f4feb5ea /source/blender/blenkernel/intern
parent07110e83fd46b17e584c912aaa3a082f5f27416b (diff)
* New feature on compo scale node: "Scene Size %"
This option sets the relative scaling factor to the amount set in the scene "100%/75%/50%/25%" buttons. It's useful when you've got a fixed background image, and want to do preview renders at a lesser percentage, so you don't have to go and change the scale node each time you change the %. Also removed unnecessary use of a global from texture node.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r--source/blender/blenkernel/intern/texture.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c
index a53db265c52..baa6fae6fc8 100644
--- a/source/blender/blenkernel/intern/texture.c
+++ b/source/blender/blenkernel/intern/texture.c
@@ -411,7 +411,7 @@ void default_tex(Tex *tex)
tex->stype= 0;
tex->flag= TEX_CHECKER_ODD;
- tex->imaflag= TEX_INTERPOL+TEX_MIPMAP;
+ tex->imaflag= TEX_INTERPOL+TEX_MIPMAP+TEX_USEALPHA;
tex->extend= TEX_REPEAT;
tex->cropxmin= tex->cropymin= 0.0;
tex->cropxmax= tex->cropymax= 1.0;
@@ -425,7 +425,8 @@ void default_tex(Tex *tex)
tex->turbul= 5.0;
tex->nabla= 0.025; // also in do_versions
tex->bright= 1.0;
- tex->contrast= tex->filtersize= 1.0;
+ tex->contrast= 1.0;
+ tex->filtersize= 1.0;
tex->rfac= 1.0;
tex->gfac= 1.0;
tex->bfac= 1.0;