Cleanup: use 'context' to make panels show in their section

All panels were calling poll to draw in their section causing a lot of
repeated boiler plate poll functions.

Also rename 'PreferencePanel' to 'CenterAlignMixIn'
since this is it's purpose.
This commit is contained in:
Campbell Barton
2019-12-19 13:21:41 +11:00
parent f98e2c0427
commit 7ba1489bd7
4 changed files with 259 additions and 376 deletions

File diff suppressed because it is too large Load Diff