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:
authorCampbell Barton <ideasman42@gmail.com>2008-02-19 21:36:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-02-19 21:36:50 +0300
commit97d40faee9b3ec0c40cbe460a1f60ba713af6b6a (patch)
treeff4fac4f2bfb59eb5b1068a3c2d4b799bb076817 /source/blender/src/toolbox.c
parent2463e7a32e76d8925f253ae2d5712e5f3d753af1 (diff)
Added an option for texture forcefields to use the root location of a particle for its texture coords.
Without this, animating grass would either look like seaweed (with low freq texture) Or the grass would wrinkle up and get kinks (high freq texture) This lets you use a high frequency texture while having straight grass.
Diffstat (limited to 'source/blender/src/toolbox.c')
-rw-r--r--source/blender/src/toolbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/toolbox.c b/source/blender/src/toolbox.c
index 0db63c787ae..c2773611bb2 100644
--- a/source/blender/src/toolbox.c
+++ b/source/blender/src/toolbox.c
@@ -2268,7 +2268,7 @@ void toolbox_generic( TBitem *generic_menu )
uiBut *but;
TBitem *menu;
int dx=96;
- short event, mval[2], tot=0;
+ short event, mval[2];
long ypos = -5;
tb_mainx= -32;