Blender Git Commit Log

Git Commits -> Revision 70966af

Revision 70966af by Jeroen Bakker (master)
July 27, 2018, 13:28 (GMT)
Workbench: option to change background

Replaced the draw world option with a shading.background_type enum.
Where the user can select Theme, World or a Custom color.

World and theme colors do not always work in workbench. We needed to
have an option what the user could control locally (per viewport).
Especially when using linked data.

I removed the world background drawing from the draw_manager. It was never used as EEVEE and Workbench both override the logic.

Not 100% sure about the naming of Theme, World, Viewport.
In other parts of blender's codebase World is sometimes called Scene.
Will stick to the names that describes its location best.

{F3990139}

Reviewers: fclem, campbellbarton

Reviewed By: fclem

Subscribers: venomgfx

Tags: #bf_blender_2.8

Differential Revision: https://developer.blender.org/D3551

Commit Details:

Full Hash: 70966af5134b0cf53273e3c6da19ad7d5857b0f2
Parent Commit: d6ff778
Committed By: Clément Foucault
Lines Changed: +71, -27

10 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d.py (+7, -7) (Diff)
/source/blender/blenkernel/intern/screen.c (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+14, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_data.c (+7, -1) (Diff)
/source/blender/draw/intern/draw_view.c (+1, -10) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+15, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+21, -5) (Diff)
/source/blender/makesrna/intern/rna_world.c (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021