diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-08-22 06:14:39 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-08-22 06:14:39 +0400 |
commit | 06ae5e48258dacc5598b23286d46891be32a08e5 (patch) | |
tree | 49b63c2e1859d7205b7896b6fd40cf7785a50ef2 /source/blender | |
parent | 2b0127a0c5a7c8eaea12af4c662d2b237a2d45e6 (diff) |
Reshuffling DopeSheet filter icons so that they appear more obviously
related to each other
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/fmodifier.c | 4 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_action.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/fmodifier.c b/source/blender/blenkernel/intern/fmodifier.c index 42554679795..95c0aa60991 100644 --- a/source/blender/blenkernel/intern/fmodifier.c +++ b/source/blender/blenkernel/intern/fmodifier.c @@ -629,11 +629,11 @@ static float fcm_cycles_time (FCurve *fcu, FModifier *fcm, float UNUSED(cvalue), cycyofs = (float)ceil((evaltime - ofs) / cycdx); cycyofs *= cycdy; } - + /* special case for cycle start/end */ if(cyct == 0.0f) { evaltime = (side == 1 ? lastkey[0] : prevkey[0]); - + if((mode == FCM_EXTRAPOLATE_MIRROR) && ((int)cycle % 2)) evaltime = (side == 1 ? prevkey[0] : lastkey[0]); } diff --git a/source/blender/makesrna/intern/rna_action.c b/source/blender/makesrna/intern/rna_action.c index f24e0a92f78..815a9c92968 100644 --- a/source/blender/makesrna/intern/rna_action.c +++ b/source/blender/makesrna/intern/rna_action.c @@ -265,6 +265,7 @@ static void rna_def_dopesheet(BlenderRNA *brna) prop= RNA_def_property(srna, "show_datablock_filters", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", ADS_FLAG_SHOW_DBFILTERS); RNA_def_property_ui_text(prop, "Show Datablock Filters", "Show options for whether channels related to certain types of data are included"); + RNA_def_property_ui_icon(prop, ICON_DISCLOSURE_TRI_RIGHT, -1); RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN, NULL); /* General Filtering Settings */ |