Blender Git Loki
Git Commits -> Revision ab993e3
Revision ab993e3 by Bastien Montagne (master) July 8, 2016, 16:11 (GMT) |
Rework/split test_object_materials(). Now test_object_materials only handles one object. New test_all_objects_materials checks the whole bmain->object list for cases where it is actually needed. Should avoid some useless looping over all objects! |
Commit Details:
Full Hash: ab993e373cf31c1790f7283b52bbd29b4849fbe7
Parent Commit: 71f5df9
Lines Changed: +28, -15
8 Modified Paths:
/source/blender/blenkernel/BKE_material.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/material.c (+18, -6) (Diff)
/source/blender/blenkernel/intern/mesh.c (+3, -3) (Diff)
/source/blender/editors/mesh/meshtools.c (+1, -1) (Diff)
/source/blender/editors/object/object_relations.c (+1, -1) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/material.c (+18, -6) (Diff)
/source/blender/blenkernel/intern/mesh.c (+3, -3) (Diff)
/source/blender/editors/mesh/meshtools.c (+1, -1) (Diff)
/source/blender/editors/object/object_relations.c (+1, -1) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+1, -1) (Diff)