diff options
Diffstat (limited to 'source/blender/editors/space_image/image_header.c')
-rw-r--r-- | source/blender/editors/space_image/image_header.c | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/source/blender/editors/space_image/image_header.c b/source/blender/editors/space_image/image_header.c index 4e38d4ec082..efe832040c7 100644 --- a/source/blender/editors/space_image/image_header.c +++ b/source/blender/editors/space_image/image_header.c @@ -30,11 +30,7 @@ #include <stdio.h> #include "DNA_object_types.h" -#include "DNA_mesh_types.h" -#include "DNA_customdata_types.h" #include "DNA_space_types.h" -#include "DNA_scene_types.h" -#include "DNA_screen_types.h" #include "DNA_windowmanager_types.h" #include "MEM_guardedalloc.h" @@ -50,29 +46,17 @@ #include "BKE_utildefines.h" #include "BKE_mesh.h" -#include "IMB_imbuf.h" -#include "IMB_imbuf_types.h" #include "ED_image.h" -#include "ED_mesh.h" -#include "ED_screen.h" -#include "ED_transform.h" -#include "ED_types.h" -#include "ED_util.h" -#include "WM_api.h" #include "WM_types.h" #include "BIF_gl.h" #include "BIF_glutil.h" #include "UI_interface.h" -#include "UI_resources.h" -#include "UI_view2d.h" -#include "RNA_access.h" -#include "RE_pipeline.h" #include "image_intern.h" @@ -91,10 +75,10 @@ static int toolbox_invoke(bContext *C, wmOperator *op, wmEvent *event) pup= uiPupMenuBegin(C, "Toolbox", 0); layout= uiPupMenuLayout(pup); - uiItemM(layout, C, NULL, 0, "IMAGE_MT_view"); - if(show_uvedit) uiItemM(layout, C, NULL, 0, "IMAGE_MT_select"); - uiItemM(layout, C, NULL, 0, "IMAGE_MT_image"); - if(show_uvedit) uiItemM(layout, C, NULL, 0, "IMAGE_MT_uvs"); + uiItemM(layout, C, "IMAGE_MT_view", NULL, 0); + if(show_uvedit) uiItemM(layout, C, "IMAGE_MT_select", NULL, 0); + uiItemM(layout, C, "IMAGE_MT_image", NULL, 0); + if(show_uvedit) uiItemM(layout, C, "IMAGE_MT_uvs", NULL, 0); uiPupMenuEnd(C, pup); |