diff options
author | Ton Roosendaal <ton@blender.org> | 2006-12-21 16:39:02 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-12-21 16:39:02 +0300 |
commit | edccdf934018264002c034906e8a287d12b7ead7 (patch) | |
tree | d557b138546774d0332d57f7b2de56caa52743ba /source/blender/src/editsima.c | |
parent | fc00e73a83cef8821212c0f94cf6ee4580c2754f (diff) |
Packing Images fix:
- a 'procedural image' like 'UV Test Grid' now can be directly packed,
it does ask first for confirming to pack it as PNG
Diffstat (limited to 'source/blender/src/editsima.c')
-rw-r--r-- | source/blender/src/editsima.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c index cb25f615414..b23ef9c6472 100644 --- a/source/blender/src/editsima.c +++ b/source/blender/src/editsima.c @@ -1912,7 +1912,8 @@ void pack_image_sima() else { ImBuf *ibuf= BKE_image_get_ibuf(ima, &G.sima->iuser); if (ibuf && (ibuf->userflags & IB_BITMAPDIRTY)) { - error("Can't pack painted image. Save image or use Repack as PNG."); + if(okee("Can't pack painted image. Use Repack as PNG?")) + BKE_image_memorypack(ima); } else { ima->packedfile = newPackedFile(ima->name); |