Blender Git Loki
Git Commits -> Revision 68b0cf6
Revision 68b0cf6 by Bastien Montagne (gsoc-2018-many-light-sampling, soc-2020-production-ready-light-tree, soc-2020-production-ready-light-tree-2) June 1, 2018, 13:41 (GMT) |
Cleanup: Get rid of G.main in BKE_material. Note that in some cases, this only moves the G.main case to somne other places - in particular, RNA getters/setters are becoming annoying here... |
Commit Details:
Full Hash: 68b0cf6da0665c972106107da393da827a2b0b0e
Parent Commit: 55e96e1
Committed By: Erik Englesson
Lines Changed: +87, -83
17 Modified Paths:
/source/blender/alembic/intern/abc_mesh.cc (+2, -2) (Diff)
/source/blender/blenkernel/BKE_material.h (+9, -9) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/library_remap.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/material.c (+44, -44) (Diff)
/source/blender/blenkernel/intern/mesh.c (+2, -2) (Diff)
/source/blender/collada/MeshImporter.cpp (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+1, -1) (Diff)
/source/blender/editors/object/object_relations.c (+4, -4) (Diff)
/source/blender/editors/render/render_preview.c (+1, -1) (Diff)
/source/blender/editors/render/render_shading.c (+7, -5) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+3, -2) (Diff)
/source/blender/editors/space_outliner/outliner_edit.c (+2, -1) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+4, -4) (Diff)
/source/blender/blenkernel/BKE_material.h (+9, -9) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/library_remap.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/material.c (+44, -44) (Diff)
/source/blender/blenkernel/intern/mesh.c (+2, -2) (Diff)
/source/blender/collada/MeshImporter.cpp (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+1, -1) (Diff)
/source/blender/editors/object/object_relations.c (+4, -4) (Diff)
/source/blender/editors/render/render_preview.c (+1, -1) (Diff)
/source/blender/editors/render/render_shading.c (+7, -5) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+3, -2) (Diff)
/source/blender/editors/space_outliner/outliner_edit.c (+2, -1) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+4, -4) (Diff)