forked from bartvdbraak/blender
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:
parent
4f278a78d4
commit
7ce069850f
@ -2,7 +2,7 @@
|
||||
|
||||
"""
|
||||
Name: 'Apply Deformation'
|
||||
Blender: 233
|
||||
Blender: 234
|
||||
Group: 'Mesh'
|
||||
Tooltip: 'Create fixed copies of deformed meshes'
|
||||
"""
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
""" Registration info for Blender menus
|
||||
Name: 'Bevel Center'
|
||||
Blender: 233
|
||||
Blender: 234
|
||||
Group: 'Mesh'
|
||||
Tip: 'Bevel selected vertices.'
|
||||
Tip: 'Bevel selected vertices'
|
||||
"""
|
||||
|
||||
# $Id$
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
""" Registration info for Blender menus: <- these words are ignored
|
||||
Name: 'Dispaint'
|
||||
Blender: 233
|
||||
Blender: 234
|
||||
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$
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
""" Registration info for Blender menus: <- these words are ignored
|
||||
Name: 'Rvk1 to Rvk2'
|
||||
Blender: 232
|
||||
Blender: 234
|
||||
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$
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
"""
|
||||
Name: 'Select Same Faces'
|
||||
Blender: 232
|
||||
Blender: 234
|
||||
Group: 'UV'
|
||||
Tooltip: 'Select faces if attributes match the active.'
|
||||
Tooltip: 'Select faces if attributes match the active'
|
||||
"""
|
||||
|
||||
# $Id$
|
||||
|
@ -3,7 +3,7 @@
|
||||
Name: 'Unweld'
|
||||
Blender: 234
|
||||
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$
|
||||
@ -198,7 +198,7 @@ def D():
|
||||
def E(evt,val):
|
||||
global mouse_x,x,pl,orig,me,debut
|
||||
global mouse_y,y, MouseClickG,MouseClickD,MouseClickM
|
||||
if (evt== QKEY or evt== ESCKEY): Exit()
|
||||
if (evt== QKEY): Exit()
|
||||
|
||||
if (evt == MOUSEX):
|
||||
mouse_x = val
|
||||
|
@ -564,11 +564,11 @@ int BPY_menu_do_python(short menutype, int event)
|
||||
pym = BPyMenu_GetEntry(menutype, (short)event);
|
||||
|
||||
if (!pym) return 0;
|
||||
|
||||
/* uncomment before release 2.34
|
||||
if (pym->version > G.version)
|
||||
notice ("Version mismatch: script was written for Blender %d. "
|
||||
"It may fail with yours: %d.", pym->version, G.version);
|
||||
|
||||
*/
|
||||
/* if there are submenus, let the user choose one from a pupmenu that we
|
||||
* create here.*/
|
||||
pysm = pym->submenus;
|
||||
|
@ -78,8 +78,10 @@ static int bpymenu_group_atoi (char *str)
|
||||
if (!strcmp(str, "Import")) return PYMENU_IMPORT;
|
||||
else if (!strcmp(str, "Export")) return PYMENU_EXPORT;
|
||||
else if (!strcmp(str, "Help")) return PYMENU_HELP;
|
||||
else if (!strcmp(str, "HelpWebsites")) return PYMENU_HELPWEBSITES;
|
||||
else if (!strcmp(str, "HelpSystem")) return PYMENU_HELPSYSTEM;
|
||||
else if (!strcmp(str, "Websites") || !strcmp(str, "HelpWebsites"))
|
||||
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, "Mesh")) return PYMENU_MESH;
|
||||
else if (!strcmp(str, "Wizards")) return PYMENU_WIZARDS;
|
||||
|
Loading…
Reference in New Issue
Block a user