diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-10-29 13:33:41 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-10-29 16:30:22 +0300 |
commit | 9efe12d77a60fab1215f09c6231337244df3c176 (patch) | |
tree | 751fc186e8076123c9d6bd8fbcc34035efbaf051 /source/blender/makesrna/intern/rna_packedfile.c | |
parent | 8a5f3d38af9649dbf0ccb7c9d1276be39c3de343 (diff) |
Fix T71171: Problems removing texture packing (without writing anything)
using image.unpack() or bpy.ops.image.unpack()
If we offer this in the UI, also expose this to .unpack
Maniphest Tasks: T71171
Differential Revision: https://developer.blender.org/D6152
Diffstat (limited to 'source/blender/makesrna/intern/rna_packedfile.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_packedfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_packedfile.c b/source/blender/makesrna/intern/rna_packedfile.c index dda1c637f39..8319612ea91 100644 --- a/source/blender/makesrna/intern/rna_packedfile.c +++ b/source/blender/makesrna/intern/rna_packedfile.c @@ -32,6 +32,7 @@ #include "rna_internal.h" const EnumPropertyItem rna_enum_unpack_method_items[] = { + {PF_REMOVE, "REMOVE", 0, "Remove Pack", ""}, {PF_USE_LOCAL, "USE_LOCAL", 0, "Use Local File", ""}, {PF_WRITE_LOCAL, "WRITE_LOCAL", 0, "Write Local File (overwrite existing)", ""}, {PF_USE_ORIGINAL, "USE_ORIGINAL", 0, "Use Original File", ""}, |