Overlay: Object Overlap overlay

- Added UInt R support to framebuffers
- Added the overlap as an overlay so should be reusable by other engines
(Scene lighted Solid mode)
This commit is contained in:
Jeroen Bakker
2018-04-23 14:46:52 +02:00
parent 574c0fe38f
commit 86f988cede
16 changed files with 223 additions and 24 deletions

View File

@@ -3437,6 +3437,9 @@ class VIEW3D_PT_view3d_display(Panel):
col.prop(view, "show_only_render")
col.prop(view, "show_world")
if view.viewport_shade == "SOLID":
col.prop(view, "show_random_object_colors")
if context.mode in {'PAINT_WEIGHT', 'PAINT_VERTEX', 'PAINT_TEXTURE'}:
col.prop(view, "show_mode_shade_override")
@@ -3447,7 +3450,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.prop(view, "show_object_overlap_overlay")
col = layout.column()
col.active = display_all