Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r--source/blender/editors/animation/anim_channels_defines.c10
-rw-r--r--source/blender/editors/animation/anim_filter.c16
2 files changed, 13 insertions, 13 deletions
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c
index 3153cc72562..643c2c4dfe0 100644
--- a/source/blender/editors/animation/anim_channels_defines.c
+++ b/source/blender/editors/animation/anim_channels_defines.c
@@ -2013,7 +2013,7 @@ static bAnimChannelType ACF_DSNTREE =
/* LineStyle Expander ------------------------------------------- */
-// TODO: just get this from RNA?
+/* TODO: just get this from RNA? */
static int acf_dslinestyle_icon(bAnimListElem *UNUSED(ale))
{
return ICON_BRUSH_DATA; /* FIXME */
@@ -2023,7 +2023,7 @@ static int acf_dslinestyle_icon(bAnimListElem *UNUSED(ale))
static int acf_dslinestyle_setting_flag(bAnimContext *UNUSED(ac), int setting, short *neg)
{
/* clear extra return data first */
- *neg= 0;
+ *neg = 0;
switch (setting) {
case ACHANNEL_SETTING_EXPAND: /* expanded */
@@ -2033,7 +2033,7 @@ static int acf_dslinestyle_setting_flag(bAnimContext *UNUSED(ac), int setting, s
return ADT_NLA_EVAL_OFF;
case ACHANNEL_SETTING_VISIBLE: /* visible (only in Graph Editor) */
- *neg= 1;
+ *neg = 1;
return ADT_CURVES_NOT_VISIBLE;
case ACHANNEL_SETTING_SELECT: /* selected */
@@ -2047,10 +2047,10 @@ static int acf_dslinestyle_setting_flag(bAnimContext *UNUSED(ac), int setting, s
/* get pointer to the setting */
static void *acf_dslinestyle_setting_ptr(bAnimListElem *ale, int setting, short *type)
{
- FreestyleLineStyle *linestyle= (FreestyleLineStyle *)ale->data;
+ FreestyleLineStyle *linestyle = (FreestyleLineStyle *)ale->data;
/* clear extra return data first */
- *type= 0;
+ *type = 0;
switch (setting) {
case ACHANNEL_SETTING_EXPAND: /* expanded */
diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c
index dffef5c131f..86cb805c68a 100644
--- a/source/blender/editors/animation/anim_filter.c
+++ b/source/blender/editors/animation/anim_filter.c
@@ -739,15 +739,15 @@ static bAnimListElem *make_new_animlistelem(void *data, short datatype, ID *owne
break;
case ANIMTYPE_DSLINESTYLE:
{
- FreestyleLineStyle *linestyle= (FreestyleLineStyle *)data;
- AnimData *adt= linestyle->adt;
+ FreestyleLineStyle *linestyle = (FreestyleLineStyle *)data;
+ AnimData *adt = linestyle->adt;
- ale->flag= FILTER_LS_SCED(linestyle);
+ ale->flag = FILTER_LS_SCED(linestyle);
- ale->key_data= (adt) ? adt->action : NULL;
- ale->datatype= ALE_ACT;
+ ale->key_data = (adt) ? adt->action : NULL;
+ ale->datatype = ALE_ACT;
- ale->adt= BKE_animdata_from_id(data);
+ ale->adt = BKE_animdata_from_id(data);
}
break;
case ANIMTYPE_DSPART:
@@ -1532,7 +1532,7 @@ static size_t animdata_filter_ds_linestyle (bAnimContext *ac, ListBase *anim_dat
SceneRenderLayer *srl;
size_t items = 0;
- for (srl= sce->r.layers.first; srl; srl= srl->next) {
+ for (srl = sce->r.layers.first; srl; srl = srl->next) {
FreestyleLineSet *lineset;
/* skip render layers without Freestyle enabled */
@@ -1540,7 +1540,7 @@ static size_t animdata_filter_ds_linestyle (bAnimContext *ac, ListBase *anim_dat
continue;
/* loop over linesets defined in the render layer */
- for (lineset= srl->freestyleConfig.linesets.first; lineset; lineset= lineset->next) {
+ for (lineset = srl->freestyleConfig.linesets.first; lineset; lineset = lineset->next) {
FreestyleLineStyle *linestyle = lineset->linestyle;
ListBase tmp_data = {NULL, NULL};
size_t tmp_items = 0;