diff options
author | Andrea Weikert <elubie@gmx.net> | 2008-12-02 00:23:58 +0300 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2008-12-02 00:23:58 +0300 |
commit | 23a77e76885d6833edc3bd69619f17174c23b8ee (patch) | |
tree | 2cdc29743e67a4ddc7cbdb498d64652e5655d2e8 /source/blender/makesrna/intern/rna_image.c | |
parent | 31ffe5b65e98b8c34b184ad24daa5163d36ba68c (diff) |
RNA
* DNA_packedFile_types: added rna definitions for packed files
* also experimentally filled in correct struct 'PackedFile' in image rna for testing.
* updated MSVC projectfiles (also for rna_curve.c and rna_vfont.c)
Note:
I removed PackedFile->flags, I did grep through source and a complete recompile of blender trunk svn without them too, so they obviously aren't needed anymore. A bit of cleaning up :)
Diffstat (limited to 'source/blender/makesrna/intern/rna_image.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c index 8166d0aa11e..17a0f9eadcd 100644 --- a/source/blender/makesrna/intern/rna_image.c +++ b/source/blender/makesrna/intern/rna_image.c @@ -128,7 +128,7 @@ static void rna_def_image(BlenderRNA *brna) prop= RNA_def_property(srna, "packed_file", PROP_POINTER, PROP_NONE); RNA_def_property_pointer_sdna(prop, NULL, "packedfile"); - RNA_def_property_struct_type(prop, "UnknownType"); + RNA_def_property_struct_type(prop, "PackedFile"); RNA_def_property_ui_text(prop, "Packed File", ""); /* booleans */ @@ -228,3 +228,4 @@ void RNA_def_image(BlenderRNA *brna) #endif + |