[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44034] trunk/blender/source/blender/ makesrna/intern/rna_userdef.c: dont add the name field to theme presets for now.

Campbell Barton ideasman42 at gmail.com
Sat Feb 11 13:23:24 CET 2012


Revision: 44034
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44034
Author:   campbellbarton
Date:     2012-02-11 12:23:23 +0000 (Sat, 11 Feb 2012)
Log Message:
-----------
dont add the name field to theme presets for now.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_userdef.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_userdef.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_userdef.c	2012-02-11 12:16:34 UTC (rev 44033)
+++ trunk/blender/source/blender/makesrna/intern/rna_userdef.c	2012-02-11 12:23:23 UTC (rev 44034)
@@ -2080,6 +2080,7 @@
 	prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
 	RNA_def_property_ui_text(prop, "Name", "Name of the theme");
 	RNA_def_struct_name_property(srna, prop);
+	RNA_def_property_flag(prop, PROP_SKIP_SAVE); /* XXX: for now putting this in presets is silly - its just Default */
 
 	prop= RNA_def_property(srna, "theme_area", PROP_ENUM, PROP_NONE);
 	RNA_def_property_enum_sdna(prop, NULL, "active_theme_area");




More information about the Bf-blender-cvs mailing list