diff options
author | Matt Ebb <matt@mke3.net> | 2007-11-14 02:53:58 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2007-11-14 02:53:58 +0300 |
commit | a1c5b3b51d6c32ba055cf25c0e8efb0d2683248c (patch) | |
tree | 8cc0854de684bdb10fb35de5e3fcb635f4feb5ea /source/blender/blenkernel/intern | |
parent | 07110e83fd46b17e584c912aaa3a082f5f27416b (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.c | 5 |
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; |