Cleanup: pass context to draw method instead of accessing from bpy
authorCampbell Barton <ideasman42@gmail.com>
Wed, 13 Mar 2019 00:52:54 +0000 (11:52 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 13 Mar 2019 02:32:10 +0000 (13:32 +1100)
commit16b6b03969f4e8199597fae68eb1dd278f13c336
treec6bbaff0bb8790ba52daba1c58a1b8340c8f465e
parente24de17b8dfc8c8e06782c2d68c9781a979e4768
Cleanup: pass context to draw method instead of accessing from bpy

Allows for context overrides/mocking.
release/scripts/startup/bl_ui/space_dopesheet.py
release/scripts/startup/bl_ui/space_graph.py
release/scripts/startup/bl_ui/space_nla.py
release/scripts/startup/bl_ui/space_sequencer.py
release/scripts/startup/bl_ui/space_time.py