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:
authorTon Roosendaal <ton@blender.org>2013-01-27 21:20:08 +0400
committerTon Roosendaal <ton@blender.org>2013-01-27 21:20:08 +0400
commit2545e832e2ada24001f1c8205988b01ab54f205f (patch)
tree90740703445de22523356d962ac7e28bfce1e7b2 /release/scripts
parent6cadd2bee34fb276805086a7d82e2f0f7be7138d (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')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py4
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