Cleanup: Make format
This commit is contained in:
parent
ee23f0f3fb
commit
e22198b8d1
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue