From 1b287230a46d98f7cdfe6cbfd6c86e43c7e14968 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Wed, 4 Sep 2019 16:22:47 +0200 Subject: Viewport Shading: StudioLight Intensity Add option to change the Intensity of the HDRI in the 3d viewport. This works for both EEVEE and Cycles Reviewed By: brecht, fclem Differential Revision: https://developer.blender.org/D5674 --- source/blender/makesdna/DNA_view3d_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 6168b00508b..5db0021af22 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -152,7 +152,7 @@ typedef struct View3DShading { char background_type; char cavity_type; char wire_color_type; - char _pad[6]; + char _pad[2]; /** FILE_MAXFILE. */ char studio_light[256]; @@ -166,6 +166,7 @@ typedef struct View3DShading { float studiolight_rot_z; float studiolight_background; + float studiolight_intensity; float object_outline_color[3]; float xray_alpha; @@ -178,7 +179,6 @@ typedef struct View3DShading { float curvature_ridge_factor; float curvature_valley_factor; - } View3DShading; /** 3D Viewport Overlay settings. */ -- cgit v1.2.3