[Bf-blender-cvs] [6e57d8475bf] soc-2017-normal-tools: Cleanup some leftover after recent refactor.

Bastien Montagne noreply at git.blender.org
Tue Mar 13 10:00:36 CET 2018


Commit: 6e57d8475bfce09aad1e41b814cb1eaa069d3407
Author: Bastien Montagne
Date:   Tue Mar 13 10:00:13 2018 +0100
Branches: soc-2017-normal-tools
https://developer.blender.org/rB6e57d8475bfce09aad1e41b814cb1eaa069d3407

Cleanup some leftover after recent refactor.

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

M	source/blender/modifiers/intern/MOD_weighted_normal.c

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

diff --git a/source/blender/modifiers/intern/MOD_weighted_normal.c b/source/blender/modifiers/intern/MOD_weighted_normal.c
index 1559007d8a7..1f06803505a 100644
--- a/source/blender/modifiers/intern/MOD_weighted_normal.c
+++ b/source/blender/modifiers/intern/MOD_weighted_normal.c
@@ -23,8 +23,6 @@
  *  \ingroup modifiers
  */
 
-#include "limits.h"
-
 #include "MEM_guardedalloc.h"
 
 #include "DNA_mesh_types.h"
@@ -38,15 +36,9 @@
 #include "BLI_math.h"
 #include "BLI_linklist.h"
 
-#include "bmesh_class.h"
-
 #include "MOD_modifiertypes.h"
 #include "MOD_util.h"
 
-#define INDEX_UNSET INT_MIN
-#define INDEX_INVALID -1
-#define IS_EDGE_SHARP(_e2l) (ELEM((_e2l)[1], INDEX_UNSET, INDEX_INVALID))
-
 #define CLNORS_VALID_VEC_LEN (1e-4f)
 
 typedef struct ModePair {



More information about the Bf-blender-cvs mailing list