Blender Git Loki
Git Commits -> Revision 78a8d36
Revision 78a8d36 by Bastien Montagne (master) June 11, 2018, 13:40 (GMT) |
Cleanup: remove moar ugly G.main usages... BKE_image was an ugly nest, could fix all but the ones from compositor, so moved ugly G.main there, at least we know where the Evil is that way ;) |
Commit Details:
Full Hash: 78a8d3685bd3487eb0b5dd55793f94fe7235e377
Parent Commit: b763c34
Lines Changed: +156, -133
38 Modified Paths:
/source/blender/blenkernel/BKE_image.h (+9, -9) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+3, -3) (Diff)
/source/blender/blenkernel/BKE_node.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/bpath.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/image.c (+31, -31) (Diff)
/source/blender/blenkernel/intern/mesh_convert.c (+8, -8) (Diff)
/source/blender/blenkernel/intern/node.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/packedFile.c (+1, -1) (Diff)
/source/blender/collada/DocumentImporter.cpp (+1, -1) (Diff)
/source/blender/compositor/operations/COM_CompositorOperation.cpp (+2, -1) (Diff)
/source/blender/editors/include/ED_node.h (+1, -1) (Diff)
/source/blender/editors/interface/interface_eyedropper_color.c (+3, -1) (Diff)
/source/blender/editors/object/object_add.c (+2, -2) (Diff)
/source/blender/editors/render/render_internal.c (+5, -5) (Diff)
/source/blender/editors/render/render_opengl.c (+2, -2) (Diff)
/source/blender/editors/render/render_view.c (+3, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+2, -2) (Diff)
/source/blender/editors/space_image/image_edit.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+20, -17) (Diff)
/source/blender/editors/space_node/drawnode.c (+2, -1) (Diff)
/source/blender/editors/space_node/node_add.c (+2, -1) (Diff)
/source/blender/editors/space_node/node_edit.c (+9, -5) (Diff)
/source/blender/editors/space_node/node_view.c (+10, -6) (Diff)
/source/blender/makesrna/intern/rna_color.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_image.c (+11, -11) (Diff)
/source/blender/makesrna/intern/rna_image_api.c (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+2, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_splitViewer.c (+2, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_viewer.c (+2, -1) (Diff)
/source/blender/nodes/composite/node_composite_tree.c (+2, -2) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+1, -1) (Diff)
/source/blender/nodes/texture/node_texture_tree.c (+1, -1) (Diff)
/source/blender/render/intern/source/convertblender.c (+2, -2) (Diff)
/source/blender/render/intern/source/pipeline.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+3, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+3, -3) (Diff)
/source/blender/blenkernel/BKE_node.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/bpath.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/image.c (+31, -31) (Diff)
/source/blender/blenkernel/intern/mesh_convert.c (+8, -8) (Diff)
/source/blender/blenkernel/intern/node.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/packedFile.c (+1, -1) (Diff)
/source/blender/collada/DocumentImporter.cpp (+1, -1) (Diff)
/source/blender/compositor/operations/COM_CompositorOperation.cpp (+2, -1) (Diff)
/source/blender/editors/include/ED_node.h (+1, -1) (Diff)
/source/blender/editors/interface/interface_eyedropper_color.c (+3, -1) (Diff)
/source/blender/editors/object/object_add.c (+2, -2) (Diff)
/source/blender/editors/render/render_internal.c (+5, -5) (Diff)
/source/blender/editors/render/render_opengl.c (+2, -2) (Diff)
/source/blender/editors/render/render_view.c (+3, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+2, -2) (Diff)
/source/blender/editors/space_image/image_edit.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+20, -17) (Diff)
/source/blender/editors/space_node/drawnode.c (+2, -1) (Diff)
/source/blender/editors/space_node/node_add.c (+2, -1) (Diff)
/source/blender/editors/space_node/node_edit.c (+9, -5) (Diff)
/source/blender/editors/space_node/node_view.c (+10, -6) (Diff)
/source/blender/makesrna/intern/rna_color.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_image.c (+11, -11) (Diff)
/source/blender/makesrna/intern/rna_image_api.c (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+2, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_splitViewer.c (+2, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_viewer.c (+2, -1) (Diff)
/source/blender/nodes/composite/node_composite_tree.c (+2, -2) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+1, -1) (Diff)
/source/blender/nodes/texture/node_texture_tree.c (+1, -1) (Diff)
/source/blender/render/intern/source/convertblender.c (+2, -2) (Diff)
/source/blender/render/intern/source/pipeline.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+3, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+1, -1) (Diff)