Blender Git Loki
Git Commits -> Revision 16fac02
Revision 16fac02 by Jeroen Bakker (master) April 19, 2018, 07:45 (GMT) |
Workbench: Option to use Object color - added `object_color_type` where the user can set if the collection determines the color, or the object will be used for the color. Implemented it as an enum as later this can have a random color option. - moved OB_LIGHTING_* to DNA_view3d_types and renamed it. - Fixed some DRY in workbench_materials.c. Can remove more DRY's but will need to discuss the responsibility of the workbench engine as it might become part of the eevee renderer. |
Commit Details:
Full Hash: 16fac020e07d7ad0caa5901c0740c88e9772194f
Parent Commit: 1f5d51e
Lines Changed: +105, -101
14 Modified Paths:
/release/scripts/startup/bl_ui/properties_collection.py (+1, -0) (Diff)
/release/scripts/startup/bl_ui/properties_render.py (+3, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+2, -2) (Diff)
/source/blender/draw/engines/workbench/solid_flat_mode.c (+1, -18) (Diff)
/source/blender/draw/engines/workbench/solid_studio_mode.c (+1, -18) (Diff)
/source/blender/draw/engines/workbench/workbench_engine.c (+1, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+49, -40) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+2, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+5, -3) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+2, -2) (Diff)
/source/blender/makesdna/DNA_object_types.h (+0, -6) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+22, -3) (Diff)
/source/blender/makesrna/intern/rna_space.c (+6, -6) (Diff)
/release/scripts/startup/bl_ui/properties_render.py (+3, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+2, -2) (Diff)
/source/blender/draw/engines/workbench/solid_flat_mode.c (+1, -18) (Diff)
/source/blender/draw/engines/workbench/solid_studio_mode.c (+1, -18) (Diff)
/source/blender/draw/engines/workbench/workbench_engine.c (+1, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+49, -40) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+2, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+5, -3) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+2, -2) (Diff)
/source/blender/makesdna/DNA_object_types.h (+0, -6) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+22, -3) (Diff)
/source/blender/makesrna/intern/rna_space.c (+6, -6) (Diff)