diff options
author | Janne Karhu <jhkarh@gmail.com> | 2009-04-07 04:15:58 +0400 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2009-04-07 04:15:58 +0400 |
commit | 7e23b7dc54f8c59eb3ccbf13839552a3b24a9c5b (patch) | |
tree | 0b54adac60c5084d4811eb03fd64551746be9720 | |
parent | b8270db75c8aa6898794c482bff933f50f21381a (diff) |
Texture effector nabla didn't have a correct initial value and it's button explanation needed some work.
-rw-r--r-- | source/blender/src/buttons_object.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c index 6f871527ab7..5c41390b150 100644 --- a/source/blender/src/buttons_object.c +++ b/source/blender/src/buttons_object.c @@ -3360,6 +3360,7 @@ static void object_panel_fields(Object *ob) ob->pd->pdef_sbdamp = 0.1f; ob->pd->pdef_sbift = 0.2f; ob->pd->pdef_sboft = 0.02f; + ob->pd->tex_nabla = 0.025f; } if(ob->pd) { @@ -3467,7 +3468,7 @@ static void object_panel_fields(Object *ob) else if(pd->forcefield==PFIELD_TEXTURE){ uiDefButS(block, MENU, B_FIELD_CHANGE, "Texture mode%t|RGB%x0|Gradient%x1|Curl%x2", 10,50,140,20, &pd->tex_mode, 0.0, 0.0, 0, 0, "How the texture effect is calculated (RGB & Curl need a RGB texture else Gradient will be used instead)"); - uiDefButF(block, NUM, B_FIELD_CHANGE, "Nabla:", 10,30,140,20, &pd->tex_nabla, 0.0001f, 1.0, 1, 0, "Specify the dimension of the area for gradient and curl calculation"); + uiDefButF(block, NUM, B_FIELD_CHANGE, "Nabla:", 10,30,140,20, &pd->tex_nabla, 0.0001f, 1.0, 1, 0, "Defines size of derivative offset used for calculating gradient and curl"); } else if(particles==0 && ELEM(pd->forcefield,PFIELD_VORTEX,PFIELD_WIND)==0){ //uiDefButF(block, NUM, B_FIELD_CHANGE, "Distance: ", 10,20,140,20, &pd->f_dist, 0, 1000.0, 10, 0, "Falloff power (real gravitational fallof = 2)"); |