Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2004-06-21 16:01:23 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2004-06-21 16:01:23 +0400
commita41759cb8b77e75878bbcc70d3a0550f5545cb91 (patch)
treede8f8cf7e8d223d9501f2b506fab24245747780f /source/blender/python/BPY_menus.c
parent625e7fb12cacf2f2db81196fbe54c8efe3e3cd90 (diff)
- Scripts:
Campbell Barton updated his Wavefront OBJ scripts and Ben Omari updated his DirectX 7 and 8 ones (thanks both). The other listed scripts had minor updates to accomodate the menu changes. - Scripts in menus: renamed Tools to Object, Generators to Add, and Modifiers to Mesh (Metaball, Curve, Surface can be added later), to integrate better in the interface. - Fixed a bug in Blender.sys.makename: last letter of file extension was being cut out.
Diffstat (limited to 'source/blender/python/BPY_menus.c')
-rw-r--r--source/blender/python/BPY_menus.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/python/BPY_menus.c b/source/blender/python/BPY_menus.c
index 401e15e177d..a54062165ee 100644
--- a/source/blender/python/BPY_menus.c
+++ b/source/blender/python/BPY_menus.c
@@ -78,13 +78,13 @@ 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, "Generators")) return PYMENU_GENERATORS;
- else if (!strcmp(str, "Modifiers")) return PYMENU_MODIFIERS;
+ else if (!strcmp(str, "Add")) return PYMENU_ADD;
+ else if (!strcmp(str, "Mesh")) return PYMENU_MESH;
else if (!strcmp(str, "Wizards")) return PYMENU_WIZARDS;
else if (!strcmp(str, "Animation")) return PYMENU_ANIMATION;
else if (!strcmp(str, "Materials")) return PYMENU_MATERIALS;
else if (!strcmp(str, "UV")) return PYMENU_UV;
- else if (!strcmp(str, "Tools")) return PYMENU_TOOLS;
+ else if (!strcmp(str, "Object")) return PYMENU_OBJECT;
/* "Misc" or an inexistent group name: use misc */
else return PYMENU_MISC;
}
@@ -98,14 +98,14 @@ char *BPyMenu_group_itoa (short menugroup)
case PYMENU_EXPORT:
return "Export";
break;
- case PYMENU_GENERATORS:
- return "Generators";
+ case PYMENU_ADD:
+ return "Add";
break;
case PYMENU_HELP:
return "Help";
break;
- case PYMENU_MODIFIERS:
- return "Modifiers";
+ case PYMENU_MESH:
+ return "Mesh";
break;
case PYMENU_WIZARDS:
return "Wizards";
@@ -119,8 +119,8 @@ char *BPyMenu_group_itoa (short menugroup)
case PYMENU_UV:
return "UV";
break;
- case PYMENU_TOOLS:
- return "Tools";
+ case PYMENU_OBJECT:
+ return "Object";
break;
case PYMENU_MISC:
return "Misc";