Cleanup: make format
string.c still needs cleanup, but I will leave to the original author of the latest chagnes to do it since it needs some tags to skip formatting.
This commit is contained in:
parent
74450265d0
commit
f863ef8a34
|
@ -402,7 +402,7 @@ void blo_do_versions_300(FileData *fd, Library *UNUSED(lib), Main *bmain)
|
|||
LISTBASE_FOREACH (SpaceLink *, sl, &area->spacedata) {
|
||||
if (sl->spacetype == SPACE_SPREADSHEET) {
|
||||
ListBase *regionbase = (sl == area->spacedata.first) ? &area->regionbase :
|
||||
&sl->regionbase;
|
||||
&sl->regionbase;
|
||||
ARegion *spreadsheet_dataset_region = do_versions_add_region_if_not_found(
|
||||
regionbase, RGN_TYPE_CHANNELS, "spreadsheet dataset region", RGN_TYPE_FOOTER);
|
||||
|
||||
|
|
|
@ -6838,7 +6838,6 @@ void UI_but_datasetrow_indentation_set(uiBut *but, int indentation)
|
|||
|
||||
but_dataset->indentation = indentation;
|
||||
BLI_assert(indentation >= 0);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -7695,7 +7695,8 @@ static void rna_def_space_spreadsheet(BlenderRNA *brna)
|
|||
srna = RNA_def_struct(brna, "SpaceSpreadsheet", "Space");
|
||||
RNA_def_struct_ui_text(srna, "Space Spreadsheet", "Spreadsheet space data");
|
||||
|
||||
rna_def_space_generic_show_region_toggles(srna, (1 << RGN_TYPE_UI) | (1 << RGN_TYPE_CHANNELS) | (1 << RGN_TYPE_FOOTER) );
|
||||
rna_def_space_generic_show_region_toggles(
|
||||
srna, (1 << RGN_TYPE_UI) | (1 << RGN_TYPE_CHANNELS) | (1 << RGN_TYPE_FOOTER));
|
||||
|
||||
prop = RNA_def_property(srna, "is_pinned", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", SPREADSHEET_FLAG_PINNED);
|
||||
|
|
Loading…
Reference in New Issue