Add RNA access to packed libraries
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user