diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2019-09-04 17:22:47 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2019-09-06 09:35:14 +0300 |
commit | 1b287230a46d98f7cdfe6cbfd6c86e43c7e14968 (patch) | |
tree | 490cfa85d86d1cbd143534dfa515d49c02c0f15c /source/blender/makesdna/DNA_view3d_types.h | |
parent | f8362836a5c8feff3715ca823025caba249208c2 (diff) |
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
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
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. */ |