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:
authorCampbell Barton <ideasman42@gmail.com>2006-07-28 06:51:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-07-28 06:51:44 +0400
commiteced755afe3ea4522aab710d9b3493aabe8cd81e (patch)
tree89c226b32c74d4597ffa2e27c1285b3cf4d2e915 /source/blender/python/BPY_menus.c
parentf6ddf8a3c3a30b44bffae0cdbd86f473dc8a5a05 (diff)
added a slot in the uv/image's "Image" menu for pyscripts.
Diffstat (limited to 'source/blender/python/BPY_menus.c')
-rw-r--r--source/blender/python/BPY_menus.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/python/BPY_menus.c b/source/blender/python/BPY_menus.c
index 13fbd5d6f80..5d857293b88 100644
--- a/source/blender/python/BPY_menus.c
+++ b/source/blender/python/BPY_menus.c
@@ -95,6 +95,8 @@ static int bpymenu_group_atoi( char *str )
return PYMENU_MATERIALS;
else if( !strcmp( str, "UV" ) )
return PYMENU_UV;
+ else if( !strcmp( str, "Image" ) )
+ return PYMENU_IMAGE;
else if( !strcmp( str, "FaceSelect" ) )
return PYMENU_FACESELECT;
else if( !strcmp( str, "WeightPaint" ) )
@@ -154,6 +156,9 @@ char *BPyMenu_group_itoa( short menugroup )
case PYMENU_UV:
return "UV";
break;
+ case PYMENU_IMAGE:
+ return "Image";
+ break;
case PYMENU_FACESELECT:
return "FaceSelect";
break;