First of all thanks Kent Mein for committing the fix to space.c and Peter den Bak for reporting and testing it.

- making Blender not warn about 2.34 scripts, as Ton requested.  Will turn this on again before release;
- small fix to the new helpwebsites and helpsystem additions in BPy_menus.c, should solve problem reported by Jean-Luc Peurière about empty menus on startup;
- updated version info of a few scripts to 2.34, since they use recently added bpython api functions.
This commit is contained in:
Willian Padovani Germano 2004-07-30 05:18:14 +00:00
parent 4f278a78d4
commit 7ce069850f
8 changed files with 17 additions and 15 deletions

@ -2,7 +2,7 @@
""" """
Name: 'Apply Deformation' Name: 'Apply Deformation'
Blender: 233 Blender: 234
Group: 'Mesh' Group: 'Mesh'
Tooltip: 'Create fixed copies of deformed meshes' Tooltip: 'Create fixed copies of deformed meshes'
""" """

@ -2,9 +2,9 @@
""" Registration info for Blender menus """ Registration info for Blender menus
Name: 'Bevel Center' Name: 'Bevel Center'
Blender: 233 Blender: 234
Group: 'Mesh' Group: 'Mesh'
Tip: 'Bevel selected vertices.' Tip: 'Bevel selected vertices'
""" """
# $Id$ # $Id$

@ -2,9 +2,9 @@
""" Registration info for Blender menus: <- these words are ignored """ Registration info for Blender menus: <- these words are ignored
Name: 'Dispaint' Name: 'Dispaint'
Blender: 233 Blender: 234
Group: 'Mesh' Group: 'Mesh'
Tip: 'Use vertex paint color value to modify shape displacing vertices along normal.' Tip: 'Use vertex paint color value to modify shape displacing vertices along normal'
""" """
# $Id$ # $Id$

@ -2,9 +2,9 @@
""" Registration info for Blender menus: <- these words are ignored """ Registration info for Blender menus: <- these words are ignored
Name: 'Rvk1 to Rvk2' Name: 'Rvk1 to Rvk2'
Blender: 232 Blender: 234
Group: 'Mesh' Group: 'Mesh'
Tip: 'Copy deform data (not surf. subdiv) of active obj to rvk of the 2nd selected obj.' Tip: 'Copy deform data (not surf. subdiv) of active obj to rvk of the 2nd selected obj'
""" """
# $Id$ # $Id$

@ -2,9 +2,9 @@
""" """
Name: 'Select Same Faces' Name: 'Select Same Faces'
Blender: 232 Blender: 234
Group: 'UV' Group: 'UV'
Tooltip: 'Select faces if attributes match the active.' Tooltip: 'Select faces if attributes match the active'
""" """
# $Id$ # $Id$

@ -3,7 +3,7 @@
Name: 'Unweld' Name: 'Unweld'
Blender: 234 Blender: 234
Group: 'Mesh' Group: 'Mesh'
Tip: 'Unweld all faces from a selected and common vertex. Made vertex bevelling.' Tip: 'Unweld all faces from a selected and common vertex. Made vertex bevelling'
""" """
# $Id$ # $Id$
@ -198,7 +198,7 @@ def D():
def E(evt,val): def E(evt,val):
global mouse_x,x,pl,orig,me,debut global mouse_x,x,pl,orig,me,debut
global mouse_y,y, MouseClickG,MouseClickD,MouseClickM global mouse_y,y, MouseClickG,MouseClickD,MouseClickM
if (evt== QKEY or evt== ESCKEY): Exit() if (evt== QKEY): Exit()
if (evt == MOUSEX): if (evt == MOUSEX):
mouse_x = val mouse_x = val

@ -564,11 +564,11 @@ int BPY_menu_do_python(short menutype, int event)
pym = BPyMenu_GetEntry(menutype, (short)event); pym = BPyMenu_GetEntry(menutype, (short)event);
if (!pym) return 0; if (!pym) return 0;
/* uncomment before release 2.34
if (pym->version > G.version) if (pym->version > G.version)
notice ("Version mismatch: script was written for Blender %d. " notice ("Version mismatch: script was written for Blender %d. "
"It may fail with yours: %d.", pym->version, G.version); "It may fail with yours: %d.", pym->version, G.version);
*/
/* if there are submenus, let the user choose one from a pupmenu that we /* if there are submenus, let the user choose one from a pupmenu that we
* create here.*/ * create here.*/
pysm = pym->submenus; pysm = pym->submenus;

@ -78,8 +78,10 @@ static int bpymenu_group_atoi (char *str)
if (!strcmp(str, "Import")) return PYMENU_IMPORT; if (!strcmp(str, "Import")) return PYMENU_IMPORT;
else if (!strcmp(str, "Export")) return PYMENU_EXPORT; else if (!strcmp(str, "Export")) return PYMENU_EXPORT;
else if (!strcmp(str, "Help")) return PYMENU_HELP; else if (!strcmp(str, "Help")) return PYMENU_HELP;
else if (!strcmp(str, "HelpWebsites")) return PYMENU_HELPWEBSITES; else if (!strcmp(str, "Websites") || !strcmp(str, "HelpWebsites"))
else if (!strcmp(str, "HelpSystem")) return PYMENU_HELPSYSTEM; return PYMENU_HELPWEBSITES;
else if (!strcmp(str, "System") || !strcmp(str, "HelpSystem"))
return PYMENU_HELPSYSTEM;
else if (!strcmp(str, "Add")) return PYMENU_ADD; else if (!strcmp(str, "Add")) return PYMENU_ADD;
else if (!strcmp(str, "Mesh")) return PYMENU_MESH; else if (!strcmp(str, "Mesh")) return PYMENU_MESH;
else if (!strcmp(str, "Wizards")) return PYMENU_WIZARDS; else if (!strcmp(str, "Wizards")) return PYMENU_WIZARDS;