diff options
author | Ton Roosendaal <ton@blender.org> | 2013-01-27 21:20:08 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2013-01-27 21:20:08 +0400 |
commit | 2545e832e2ada24001f1c8205988b01ab54f205f (patch) | |
tree | 90740703445de22523356d962ac7e28bfce1e7b2 /release/scripts/startup/bl_ui/space_image.py | |
parent | 6cadd2bee34fb276805086a7d82e2f0f7be7138d (diff) |
Pack UI:
Oops! So there was an Unpack button, hidden in the Nkey properties of Image window.
This was drawn next to greyed-out buttons, didn't notice it well.
I also now found the unpack() menu in editors/util, and there's an Image unpack op.
Also the RNA api has an unpack!
Will remove the generic unpack op, and add a sound and vfont unpack instead.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index cfedc5e1e00..179c41ace08 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -146,9 +146,7 @@ class IMAGE_MT_image(Menu): if not show_render: layout.separator() - if ima.packed_file: - layout.operator("image.unpack") - else: + if not ima.packed_file: layout.operator("image.pack") # only for dirty && specific image types, perhaps |