Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-11-01 04:46:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-11-01 04:46:26 +0300
commitd9a7358b4cd09980e35ea8e51e77d487c8c99444 (patch)
treeb9194640bcbe329d23c5f7aff956f180fb5d6469 /source/blender/makesrna/intern/rna_define.c
parent29bcda37fd506ed70b955c631f009307ea2e1ebc (diff)
bugfix [#24462] UV Layouts saved as PNG results in two files (one is 0 KB, other has corrupted filename)
Diffstat (limited to 'source/blender/makesrna/intern/rna_define.c')
-rw-r--r--source/blender/makesrna/intern/rna_define.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_define.c b/source/blender/makesrna/intern/rna_define.c
index 0a8e0bad7f0..66ef0f3b950 100644
--- a/source/blender/makesrna/intern/rna_define.c
+++ b/source/blender/makesrna/intern/rna_define.c
@@ -1005,6 +1005,11 @@ void RNA_def_property_clear_flag(PropertyRNA *prop, int flag)
prop->flag &= ~flag;
}
+void RNA_def_property_subtype(PropertyRNA *prop, PropertySubType subtype)
+{
+ prop->subtype= subtype;
+}
+
void RNA_def_property_array(PropertyRNA *prop, int length)
{
StructRNA *srna= DefRNA.laststruct;