[#10996] Wrong tooltip in "Fields" panel
authorMartin Poirier <theeth@yahoo.com>
Wed, 7 May 2008 22:26:47 +0000 (22:26 +0000)
committerMartin Poirier <theeth@yahoo.com>
Wed, 7 May 2008 22:26:47 +0000 (22:26 +0000)
Also fixed typo and insuficiant length of label Longitudinal

source/blender/src/buttons_object.c

index 9a749b6fbd94c3ed9a68eae8db9545e6f4f23c4d..c71caa082e78e4b0a965913a1855a880aebbdedc 100644 (file)
@@ -3422,9 +3422,9 @@ static void object_panel_fields(Object *ob)
                                uiBlockEndAlign(block);
                        }
                        else{
-                               uiDefButS(block, MENU, B_FIELD_DEP, "Fall-off%t|Cone%x2|Tube%x1|Sphere%x0",     160,180,140,20, &pd->falloff, 0.0, 0.0, 0, 0, tipstr);
+                               uiDefButS(block, MENU, B_FIELD_DEP, "Fall-off%t|Cone%x2|Tube%x1|Sphere%x0",     160,180,140,20, &pd->falloff, 0.0, 0.0, 0, 0, "Fall-off shape");
                                if(pd->falloff==PFIELD_FALL_TUBE)
-                                       uiDefBut(block, LABEL, 0, "Lognitudinal",               160,160,70,20, NULL, 0.0, 0, 0, 0, "");
+                                       uiDefBut(block, LABEL, 0, "Longitudinal",               160,160,140,20, NULL, 0.0, 0, 0, 0, "");
                                uiBlockBeginAlign(block);
                                uiDefButBitS(block, TOG, PFIELD_POSZ, B_FIELD_CHANGE, "Pos",    160,140,40,20, &pd->flag, 0.0, 0, 0, 0, "Effect only in direction of positive Z axis");
                                uiDefButF(block, NUM, B_FIELD_CHANGE, "Fall-off: ",     200,140,100,20, &pd->f_power, 0, 10, 10, 0, "Falloff power (real gravitational falloff = 2)");