added missing reference in the docs for the edgesplit modifier

Extended the add object tooltip to note that new objects cant be on a visible layer.
This commit is contained in:
2007-02-06 07:11:44 +00:00
parent 75b32a6f54
commit a185758581
2 changed files with 3 additions and 2 deletions

View File

@@ -56,6 +56,7 @@ Example::
- LATTICE - type value for Lattice modifiers - LATTICE - type value for Lattice modifiers
- SUBSURF - type value for Subsurf modifiers - SUBSURF - type value for Subsurf modifiers
- WAVE - type value for Wave modifiers - WAVE - type value for Wave modifiers
- EDGESPLIT - type value for Edge Split modifiers
@type Settings: readonly dictionary @type Settings: readonly dictionary
@var Settings: Constant Modifier dict used for changing modifier settings. @var Settings: Constant Modifier dict used for changing modifier settings.

View File

@@ -1765,7 +1765,7 @@ static short draw_actuatorbuttons(bActuator *act, uiBlock *block, short xco, sho
glRects(xco, yco-ysize, xco+width, yco); glRects(xco, yco-ysize, xco+width, yco);
uiEmboss((float)xco, (float)yco-ysize, (float)xco+width, (float)yco, 1); uiEmboss((float)xco, (float)yco-ysize, (float)xco+width, (float)yco, 1);
uiDefIDPoinBut(block, test_obpoin_but, ID_OB, 1, "OB:", xco+10, yco-44, (width-20)/2, 19, &(eoa->ob), "Add this Object"); uiDefIDPoinBut(block, test_obpoin_but, ID_OB, 1, "OB:", xco+10, yco-44, (width-20)/2, 19, &(eoa->ob), "Add this Object (cant be on an visible layer)");
uiDefButI(block, NUM, 0, "Time:", xco+10+(width-20)/2, yco-44, (width-20)/2, 19, &eoa->time, 0.0, 2000.0, 0, 0, "Duration the new Object lives"); uiDefButI(block, NUM, 0, "Time:", xco+10+(width-20)/2, yco-44, (width-20)/2, 19, &eoa->time, 0.0, 2000.0, 0, 0, "Duration the new Object lives");
wval= (width-60)/3; wval= (width-60)/3;
@@ -1796,7 +1796,7 @@ static short draw_actuatorbuttons(bActuator *act, uiBlock *block, short xco, sho
glRects(xco, yco-ysize, xco+width, yco); glRects(xco, yco-ysize, xco+width, yco);
uiEmboss((float)xco, (float)yco-ysize, (float)xco+width, (float)yco, 1); uiEmboss((float)xco, (float)yco-ysize, (float)xco+width, (float)yco, 1);
uiDefIDPoinBut(block, test_meshpoin_but, ID_ME, 1, "ME:", xco+40, yco-44, (width-80), 19, &(eoa->me), "Add this Object"); uiDefIDPoinBut(block, test_meshpoin_but, ID_ME, 1, "ME:", xco+40, yco-44, (width-80), 19, &(eoa->me), "replace the existing mesh with this one");
} }
else if(eoa->type==ACT_EDOB_TRACK_TO) { else if(eoa->type==ACT_EDOB_TRACK_TO) {
ysize= 48; ysize= 48;