diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-11 04:22:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-11 04:22:21 +0400 |
commit | ef3fbdd683a98bc660e073d2cd6fe91733ab22ac (patch) | |
tree | 5062da2e8f0032c7fd070afa0d7a139510018a18 /source/blender/makesrna/intern/rna_userdef.c | |
parent | 535d27dac28dd051b1c35f55a3726e2231fbc3c2 (diff) |
minor edits to xml presets
- check 'SKIP_SAVE' property (used for active theme area which become annoying)
- indent presets better
Diffstat (limited to 'source/blender/makesrna/intern/rna_userdef.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_userdef.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index c75bac8ef24..d19498776a0 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -1970,6 +1970,7 @@ static void rna_def_userdef_themes(BlenderRNA *brna) prop= RNA_def_property(srna, "theme_area", PROP_ENUM, PROP_NONE); RNA_def_property_enum_sdna(prop, NULL, "active_theme_area"); + RNA_def_property_flag(prop, PROP_SKIP_SAVE); RNA_def_property_enum_items(prop, active_theme_area); RNA_def_property_ui_text(prop, "Active Theme Area", ""); |