[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18893] branches/blender2.5/blender/source /blender/makesrna/intern/rna_userdef.c: 2.5:

Joshua Leung aligorith at gmail.com
Tue Feb 10 00:06:33 CET 2009


Revision: 18893
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18893
Author:   aligorith
Date:     2009-02-10 00:06:29 +0100 (Tue, 10 Feb 2009)

Log Message:
-----------
2.5:

Added missing colour/theme entries from Graph Editor in RNA

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/makesrna/intern/rna_userdef.c

Modified: branches/blender2.5/blender/source/blender/makesrna/intern/rna_userdef.c
===================================================================
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_userdef.c	2009-02-09 22:59:26 UTC (rev 18892)
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_userdef.c	2009-02-09 23:06:29 UTC (rev 18893)
@@ -431,6 +431,26 @@
 	prop= RNA_def_property(srna, "handle_vertex_size", PROP_INT, PROP_NONE);
 	RNA_def_property_range(prop, 0, 255);
 	RNA_def_property_ui_text(prop, "Handle Vertex Size", "");
+	
+	prop= RNA_def_property(srna, "channel_group", PROP_FLOAT, PROP_COLOR);
+	RNA_def_property_float_sdna(prop, NULL, "group");
+	RNA_def_property_array(prop, 3);
+	RNA_def_property_ui_text(prop, "Channel Group", "");
+
+	prop= RNA_def_property(srna, "active_channels_group", PROP_FLOAT, PROP_COLOR);
+	RNA_def_property_float_sdna(prop, NULL, "group_active");
+	RNA_def_property_array(prop, 3);
+	RNA_def_property_ui_text(prop, "Active Channel Group", "");
+	
+	prop= RNA_def_property(srna, "dopesheet_channel", PROP_FLOAT, PROP_COLOR);
+	RNA_def_property_float_sdna(prop, NULL, "ds_channel");
+	RNA_def_property_array(prop, 3);
+	RNA_def_property_ui_text(prop, "DopeSheet Channel", "");
+	
+	prop= RNA_def_property(srna, "dopesheet_subchannel", PROP_FLOAT, PROP_COLOR);
+	RNA_def_property_float_sdna(prop, NULL, "ds_subchannel");
+	RNA_def_property_array(prop, 3);
+	RNA_def_property_ui_text(prop, "DopeSheet Sub-Channel", "");
 }
 
 static void rna_def_userdef_theme_space_file(BlenderRNA *brna)





More information about the Bf-blender-cvs mailing list