diff options
author | Joseph Eagar <joeedh@gmail.com> | 2009-09-09 12:25:39 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2009-09-09 12:25:39 +0400 |
commit | d79a976058b7cf316c68976c0b8c560ff632b205 (patch) | |
tree | 7734335d482738f470db0b2dc2fadec6a1b515c5 /source/blender/blenkernel | |
parent | e297d7afb02f36457a5347b2cd46a150f70fa99d (diff) |
gcc compile tweak
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_utildefines.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/modifiers_bmesh.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_utildefines.h b/source/blender/blenkernel/BKE_utildefines.h index d9b4ce3ae1c..9ca90aa02d9 100644 --- a/source/blender/blenkernel/BKE_utildefines.h +++ b/source/blender/blenkernel/BKE_utildefines.h @@ -243,7 +243,7 @@ behaviour, though it may not be the best in practice. #if defined(_MSC_VER) #define BM_INLINE static __forceinline #else -#define BM_INLINE static inline +#define BM_INLINE static forceinline #endif #define BMEMSET(mem, val, size) {int _i; char *_c = mem; for (_i=0; _i<size; _i++) *_c++ = val;} diff --git a/source/blender/blenkernel/intern/modifiers_bmesh.c b/source/blender/blenkernel/intern/modifiers_bmesh.c index 3bfc7dfbbfb..36b661e3b1c 100644 --- a/source/blender/blenkernel/intern/modifiers_bmesh.c +++ b/source/blender/blenkernel/intern/modifiers_bmesh.c @@ -473,8 +473,6 @@ static DerivedMesh *arrayModifier_doArray(ArrayModifierData *amd, BMO_Finish_Op(em->bm, &weldop); - //BMO_CallOpf(em->bm, "removedoubles verts=%av dist=%f", amd->merge_dist); - BMEdit_RecalcTesselation(em); cddm = CDDM_from_BMEditMesh(em, NULL); |