From 23a77e76885d6833edc3bd69619f17174c23b8ee Mon Sep 17 00:00:00 2001 From: Andrea Weikert Date: Mon, 1 Dec 2008 21:23:58 +0000 Subject: 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 :) --- source/blender/makesrna/intern/rna_image.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/makesrna/intern/rna_image.c') 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 + -- cgit v1.2.3