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 /source/blender/editors | |
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 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_templates.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index 742c7bd402a..83bd07a7c5d 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -541,7 +541,7 @@ static void template_ID(bContext *C, uiLayout *layout, TemplateID *template, Str Only for images, sound and fonts */ if (id && BKE_pack_check(id)) { - but = uiDefIconButO(block, BUT, "FILE_OT_unpack_item", WM_OP_INVOKE_REGION_WIN, ICON_UGLYPACKAGE, 0, 0, UI_UNIT_X, UI_UNIT_Y, "Packed File"); + but = uiDefIconButO(block, BUT, "FILE_OT_unpack_item", WM_OP_INVOKE_REGION_WIN, ICON_PACKAGE, 0, 0, UI_UNIT_X, UI_UNIT_Y, "Packed File"); uiButGetOperatorPtrRNA(but); RNA_string_set(but->opptr, "id_name", id->name+2); |