Fix #140161: UI: Use theme wireframe color by default
In Geometry Nodes workspace, the viewport didn't have wireframe color type set to a valid value, now set default value to theme color for all viewports. Pull Request: https://projects.blender.org/blender/blender/pulls/140172
This commit is contained in:
@@ -216,6 +216,8 @@ static void blo_update_defaults_screen(bScreen *screen,
|
||||
v3d->overlay.normals_constant_screen_size = 7.0f;
|
||||
/* Always enable Grease Pencil vertex color overlay by default. */
|
||||
v3d->overlay.gpencil_vertex_paint_opacity = 1.0f;
|
||||
/* Always use theme color for wireframe by default. */
|
||||
v3d->shading.wire_color_type = V3D_SHADING_SINGLE_COLOR;
|
||||
|
||||
/* Level out the 3D Viewport camera rotation, see: #113751. */
|
||||
constexpr float viewports_to_level[][4] = {
|
||||
|
||||
Reference in New Issue
Block a user