Close metadata panels by default
They might be rather long, and not that commonly accessed.
This commit is contained in:
@@ -94,6 +94,7 @@ void ED_clip_buttons_register(ARegionType *art)
|
||||
strcpy(pt->translation_context, BLT_I18NCONTEXT_DEFAULT_BPYRNA);
|
||||
pt->poll = metadata_panel_context_poll;
|
||||
pt->draw = metadata_panel_context_draw;
|
||||
pt->flag |= PNL_DEFAULT_CLOSED;
|
||||
BLI_addtail(&art->paneltypes, pt);
|
||||
}
|
||||
|
||||
|
||||
@@ -1297,6 +1297,7 @@ void image_buttons_register(ARegionType *art)
|
||||
strcpy(pt->translation_context, BLT_I18NCONTEXT_DEFAULT_BPYRNA);
|
||||
pt->poll = metadata_panel_context_poll;
|
||||
pt->draw = metadata_panel_context_draw;
|
||||
pt->flag |= PNL_DEFAULT_CLOSED;
|
||||
BLI_addtail(&art->paneltypes, pt);
|
||||
}
|
||||
|
||||
|
||||
@@ -120,6 +120,7 @@ void sequencer_buttons_register(ARegionType *art)
|
||||
strcpy(pt->translation_context, BLT_I18NCONTEXT_DEFAULT_BPYRNA);
|
||||
pt->poll = metadata_panel_context_poll;
|
||||
pt->draw = metadata_panel_context_draw;
|
||||
pt->flag |= PNL_DEFAULT_CLOSED;
|
||||
BLI_addtail(&art->paneltypes, pt);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user