Image: add resize operator

Now possible with new image undo,
was added for testing but seems generally useful.
This commit is contained in:
Campbell Barton
2019-10-02 00:24:21 +10:00
parent 151cc02b6f
commit b155ece0c0
4 changed files with 93 additions and 8 deletions

View File

@@ -240,6 +240,7 @@ class IMAGE_MT_image(Menu):
layout.separator()
layout.menu("IMAGE_MT_image_invert")
layout.operator("image.resize", text="Resize")
if ima and not show_render:
if ima.packed_file: