Blender Git Loki
Git Commits -> Revision c7d3eb2
Revision c7d3eb2 by Jeroen Bakker (master) April 20, 2018, 12:38 (GMT) |
Workbench: Draw random object colors Basic implementation hashes the ob->id.name. In the future we should use an golden ratio offset algorithm as it can make a better random palettte. |
Commit Details:
Full Hash: c7d3eb2a7e30bbd34e299faeb81f3a777023c8b1
Parent Commit: f18213a
Lines Changed: +25, -4
5 Modified Paths:
/release/scripts/startup/bl_ui/space_view3d.py (+1, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+13, -4) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+6, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+13, -4) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+6, -0) (Diff)