From e22198b8d18c08751537d0d767c3e08ff8f2bd57 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 14 Sep 2022 14:45:36 -0500 Subject: Cleanup: Make format --- source/blender/editors/space_nla/nla_buttons.c | 5 +++-- source/blender/editors/space_nla/nla_edit.c | 2 +- source/blender/makesrna/intern/rna_depsgraph.c | 3 +-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/blender/editors/space_nla/nla_buttons.c b/source/blender/editors/space_nla/nla_buttons.c index 72b2eb20f8f..a46da391bdc 100644 --- a/source/blender/editors/space_nla/nla_buttons.c +++ b/source/blender/editors/space_nla/nla_buttons.c @@ -214,7 +214,8 @@ static bool nla_animdata_panel_poll(const bContext *C, PanelType *UNUSED(pt)) { PointerRNA ptr; PointerRNA strip_ptr; - return (nla_panel_context(C, &ptr, NULL, &strip_ptr) && (ptr.data != NULL) && (ptr.owner_id != strip_ptr.owner_id)); + return (nla_panel_context(C, &ptr, NULL, &strip_ptr) && (ptr.data != NULL) && + (ptr.owner_id != strip_ptr.owner_id)); } static bool nla_strip_panel_poll(const bContext *C, PanelType *UNUSED(pt)) @@ -277,7 +278,7 @@ static void nla_panel_animdata(const bContext *C, Panel *panel) return; } - if(adt_ptr.owner_id == strip_ptr.owner_id){ + if (adt_ptr.owner_id == strip_ptr.owner_id) { return; } diff --git a/source/blender/editors/space_nla/nla_edit.c b/source/blender/editors/space_nla/nla_edit.c index bcdbbb00d1c..9df25b1229e 100644 --- a/source/blender/editors/space_nla/nla_edit.c +++ b/source/blender/editors/space_nla/nla_edit.c @@ -610,7 +610,7 @@ void NLA_OT_view_frame(wmOperatorType *ot) static int nlaedit_get_editable_tracks(bAnimContext *ac, ListBase *anim_data) { const int filter = (ANIMFILTER_DATA_VISIBLE | ANIMFILTER_ACTIVE | ANIMFILTER_FOREDIT | - ANIMFILTER_FCURVESONLY); + ANIMFILTER_FCURVESONLY); return ANIM_animdata_filter(ac, anim_data, filter, ac->data, ac->datatype); } diff --git a/source/blender/makesrna/intern/rna_depsgraph.c b/source/blender/makesrna/intern/rna_depsgraph.c index 03cb6d6c0d9..d277f2f7bd7 100644 --- a/source/blender/makesrna/intern/rna_depsgraph.c +++ b/source/blender/makesrna/intern/rna_depsgraph.c @@ -746,8 +746,7 @@ static void rna_def_depsgraph(BlenderRNA *brna) RNA_def_property_struct_type(prop, "ViewLayer"); RNA_def_property_pointer_funcs(prop, "rna_Depsgraph_view_layer_eval_get", NULL, NULL, NULL); RNA_def_property_clear_flag(prop, PROP_EDITABLE); - RNA_def_property_ui_text( - prop, "View Layer", "View layer at its evaluated state"); + RNA_def_property_ui_text(prop, "View Layer", "View layer at its evaluated state"); /* Iterators. */ -- cgit v1.2.3