Blender Git Loki
Git Commits -> Revision 9a35ad7
Revision 9a35ad7 by Julian Eisel (master) April 21, 2018, 17:47 (GMT) |
Cleanup: Get rid of context in editor 'new' callback Requiring context means we can't easily create new editors to replace deprecated ones in versioning code. Think it's reasonable to give editors access to scene and area data for their initial setup though. They mostly need it for setting "the view", as in, scrolling values. Also did minor cleanup in top-bar creation function. |
Commit Details:
Full Hash: 9a35ad752e845129aa756778e7f502a5057b92bf
Parent Commit: 9ba8434
Lines Changed: +61, -54
21 Modified Paths:
/source/blender/blenkernel/BKE_screen.h (+3, -2) (Diff)
/source/blender/editors/screen/area.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_edit.c (+32, -17) (Diff)
/source/blender/editors/space_action/space_action.c (+1, -3) (Diff)
/source/blender/editors/space_api/spacetypes.c (+1, -1) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_clip/space_clip.c (+8, -10) (Diff)
/source/blender/editors/space_console/space_console.c (+1, -1) (Diff)
/source/blender/editors/space_file/space_file.c (+1, -1) (Diff)
/source/blender/editors/space_graph/space_graph.c (+1, -2) (Diff)
/source/blender/editors/space_image/space_image.c (+1, -1) (Diff)
/source/blender/editors/space_info/space_info.c (+1, -1) (Diff)
/source/blender/editors/space_nla/space_nla.c (+1, -3) (Diff)
/source/blender/editors/space_node/space_node.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+1, -1) (Diff)
/source/blender/editors/space_script/space_script.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/space_sequencer.c (+1, -2) (Diff)
/source/blender/editors/space_text/space_text.c (+1, -1) (Diff)
/source/blender/editors/space_topbar/space_topbar.c (+1, -1) (Diff)
/source/blender/editors/space_userpref/space_userpref.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+1, -2) (Diff)
/source/blender/editors/screen/area.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_edit.c (+32, -17) (Diff)
/source/blender/editors/space_action/space_action.c (+1, -3) (Diff)
/source/blender/editors/space_api/spacetypes.c (+1, -1) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_clip/space_clip.c (+8, -10) (Diff)
/source/blender/editors/space_console/space_console.c (+1, -1) (Diff)
/source/blender/editors/space_file/space_file.c (+1, -1) (Diff)
/source/blender/editors/space_graph/space_graph.c (+1, -2) (Diff)
/source/blender/editors/space_image/space_image.c (+1, -1) (Diff)
/source/blender/editors/space_info/space_info.c (+1, -1) (Diff)
/source/blender/editors/space_nla/space_nla.c (+1, -3) (Diff)
/source/blender/editors/space_node/space_node.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+1, -1) (Diff)
/source/blender/editors/space_script/space_script.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/space_sequencer.c (+1, -2) (Diff)
/source/blender/editors/space_text/space_text.c (+1, -1) (Diff)
/source/blender/editors/space_topbar/space_topbar.c (+1, -1) (Diff)
/source/blender/editors/space_userpref/space_userpref.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+1, -2) (Diff)