diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-02-10 02:06:29 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-02-10 02:06:29 +0300 |
commit | 97c5d50cffd5fcd3d96808392e29444a257d8a99 (patch) | |
tree | 8590965806f9c067b19288cda897ab218429fe1b /source/blender | |
parent | 2249c61d034bf35d26f3508e0397136c66f52da0 (diff) |
2.5:
Added missing colour/theme entries from Graph Editor in RNA
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesrna/intern/rna_userdef.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index 112ac8af042..c53976b5002 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -431,6 +431,26 @@ static void rna_def_userdef_theme_space_ipo(BlenderRNA *brna) 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) |