diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-05 21:10:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-05 21:12:22 +0400 |
commit | b37b3171734b22f649e3de205377fe7e994a407c (patch) | |
tree | 46c92ba5a205db4b5c08c34231be34c6262886fc /source/blender/makesrna/intern/rna_ID.c | |
parent | a48b372b04421b00644a0660bfdf42229b5ffceb (diff) |
Add RNA access to packed libraries
Diffstat (limited to 'source/blender/makesrna/intern/rna_ID.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_ID.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c index c0c045593ca..83fe56102ac 100644 --- a/source/blender/makesrna/intern/rna_ID.c +++ b/source/blender/makesrna/intern/rna_ID.c @@ -625,6 +625,10 @@ static void rna_def_library(BlenderRNA *brna) prop = RNA_def_property(srna, "parent", PROP_POINTER, PROP_NONE); RNA_def_property_struct_type(prop, "Library"); RNA_def_property_ui_text(prop, "Parent", ""); + + prop = RNA_def_property(srna, "packed_file", PROP_POINTER, PROP_NONE); + RNA_def_property_pointer_sdna(prop, NULL, "packedfile"); + RNA_def_property_ui_text(prop, "Packed File", ""); } void RNA_def_ID(BlenderRNA *brna) { |