diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-04-20 15:38:55 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-04-20 15:38:55 +0300 |
commit | c7d3eb2a7e30bbd34e299faeb81f3a777023c8b1 (patch) | |
tree | a9d8e7a65120ea0424a06710018de230f675c400 /release | |
parent | f18213ae3a31a77fe47efcd444f455cf6b3649e8 (diff) |
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.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 75f84893160..6e61ad975d3 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -3447,6 +3447,7 @@ class VIEW3D_PT_view3d_display(Panel): col.prop(view, "show_all_objects_origin") col.prop(view, "show_relationship_lines") col.prop(view, "show_face_orientation_overlay") + col.prop(view, "show_random_object_colors") col = layout.column() col.active = display_all |