Whitespace fixes
This commit is contained in:
@@ -2936,8 +2936,7 @@ void ANIM_channel_draw(bAnimContext *ac, bAnimListElem *ale, float yminc, float
|
||||
else
|
||||
offset = 0;
|
||||
|
||||
/* calculate appropriate y-coordinates for icon buttons
|
||||
*/
|
||||
/* calculate appropriate y-coordinates for icon buttons */
|
||||
y = (ymaxc - yminc) / 2 + yminc;
|
||||
ymid = y - 0.5f * ICON_WIDTH;
|
||||
/* y-coordinates for text is only 4 down from middle */
|
||||
|
||||
@@ -2440,7 +2440,7 @@ static int mouse_anim_channels(bAnimContext *ac, float UNUSED(x), int channel_in
|
||||
}
|
||||
|
||||
notifierFlags |= (ND_ANIMCHAN | NA_SELECTED);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case ANIMTYPE_GROUP:
|
||||
|
||||
@@ -143,7 +143,7 @@ int getname_anim_fcurve(char *name, ID *id, FCurve *fcu)
|
||||
/* no array index */
|
||||
arrayname = "";
|
||||
}
|
||||
|
||||
|
||||
/* putting this all together into the buffer */
|
||||
/* XXX we need to check for invalid names...
|
||||
* XXX the name length limit needs to be passed in or as some define */
|
||||
@@ -151,7 +151,7 @@ int getname_anim_fcurve(char *name, ID *id, FCurve *fcu)
|
||||
BLI_snprintf(name, 256, "%s%s (%s)", arrayname, propname, structname);
|
||||
else
|
||||
BLI_snprintf(name, 256, "%s%s", arrayname, propname);
|
||||
|
||||
|
||||
/* free temp name if nameprop is set */
|
||||
if (free_structname)
|
||||
MEM_freeN((void *)structname);
|
||||
@@ -170,11 +170,11 @@ int getname_anim_fcurve(char *name, ID *id, FCurve *fcu)
|
||||
else {
|
||||
/* invalid path */
|
||||
BLI_snprintf(name, 256, "\"%s[%d]\"", fcu->rna_path, fcu->array_index);
|
||||
|
||||
|
||||
/* icon for this should be the icon for the base ID */
|
||||
/* TODO: or should we just use the error icon? */
|
||||
icon = RNA_struct_ui_icon(id_ptr.type);
|
||||
|
||||
|
||||
/* tag F-Curve as disabled - as not usable path */
|
||||
fcu->flag |= FCURVE_DISABLED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user