[Bf-blender-cvs] [d3b69c79597] soc-2019-npr: LANPR: Fix type error for MSVC.

YimingWu noreply at git.blender.org
Thu Aug 8 09:38:38 CEST 2019


Commit: d3b69c79597a7fd10af56428459752e4dcb4cf9c
Author: YimingWu
Date:   Thu Aug 8 15:38:14 2019 +0800
Branches: soc-2019-npr
https://developer.blender.org/rBd3b69c79597a7fd10af56428459752e4dcb4cf9c

LANPR: Fix type error for MSVC.

===================================================================

M	source/blender/makesdna/DNA_lanpr_types.h

===================================================================

diff --git a/source/blender/makesdna/DNA_lanpr_types.h b/source/blender/makesdna/DNA_lanpr_types.h
index d5c14c18eeb..ce27f65b528 100644
--- a/source/blender/makesdna/DNA_lanpr_types.h
+++ b/source/blender/makesdna/DNA_lanpr_types.h
@@ -114,11 +114,9 @@ typedef struct LANPR_LineLayer {
   int use_same_style;
 
   int _pad1;
-  char _pad2;
-
-  char normal_enabled;
-  char normal_mode;
-  char normal_effect_inverse;
+  int normal_enabled;
+  int normal_mode;
+  int normal_effect_inverse;
   float normal_ramp_begin;
   float normal_ramp_end;
   float normal_thickness_begin;



More information about the Bf-blender-cvs mailing list