Cleanup: Make format

This commit is contained in:
Hans Goudey 2022-09-14 14:45:36 -05:00
parent ee23f0f3fb
commit e22198b8d1
3 changed files with 5 additions and 5 deletions

View File

@ -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))

View File

@ -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. */