diff options
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index e7589709130..11eaf55a98b 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -246,11 +246,12 @@ class IMAGE_MT_image(Menu): layout.separator() layout.operator("image.pack", text="Pack") - if ima: + if ima and context.area.ui_type == 'IMAGE_EDITOR': layout.separator() layout.operator("palette.extract_from_image", text="Extract Palette") layout.operator("gpencil.image_to_grease_pencil", text="Generate Grease Pencil") + class IMAGE_MT_image_flip(Menu): bl_label = "Flip" |