[Bf-blender-cvs] [097178e] soc-2014-shapekey: Added an include guard to bmesh_pe.h

Grigory Revzin noreply at git.blender.org
Sun May 18 23:19:00 CEST 2014


Commit: 097178e8eabefb7e61df8e017a59d854c1e435d8
Author: Grigory Revzin
Date:   Mon May 19 01:18:08 2014 +0400
https://developer.blender.org/rB097178e8eabefb7e61df8e017a59d854c1e435d8

Added an include guard to bmesh_pe.h

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

M	source/blender/bmesh/intern/bmesh_pe.h

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

diff --git a/source/blender/bmesh/intern/bmesh_pe.h b/source/blender/bmesh/intern/bmesh_pe.h
index 954a586..232aa65 100644
--- a/source/blender/bmesh/intern/bmesh_pe.h
+++ b/source/blender/bmesh/intern/bmesh_pe.h
@@ -20,6 +20,8 @@
 * ***** END GPL LICENSE BLOCK *****
 */
 
+#ifndef __BMESH_PE_H__
+#define __BMESH_PE_H__
 
 typedef struct BMesh BMesh;
 
@@ -32,3 +34,4 @@ void BM_prop_dist_calc_connected(BMesh *bm, float loc_to_world_mtx[3][3], float
  * in the projection plane from the closest selected vertex */
 void BM_prop_dist_calc(BMesh *bm, float loc_to_world_mtx[3][3], float proj_plane_n[3], float dists[]);
 
+#endif




More information about the Bf-blender-cvs mailing list