Solve compilation error: Field has incomplete type 'enum eViewProj'
Error reported by @tomjpsun Patch D2491
This commit is contained in:
@@ -59,6 +59,12 @@
|
||||
|
||||
#include "transform.h"
|
||||
|
||||
enum eViewProj {
|
||||
VIEW_PROJ_NONE = -1,
|
||||
VIEW_PROJ_ORTHO = 0,
|
||||
VIEW_PROJ_PERSP = -1,
|
||||
};
|
||||
|
||||
typedef struct SnapData {
|
||||
short snap_to;
|
||||
float mval[2];
|
||||
@@ -122,12 +128,6 @@ struct SnapObjectContext {
|
||||
|
||||
};
|
||||
|
||||
enum eViewProj {
|
||||
VIEW_PROJ_NONE = -1,
|
||||
VIEW_PROJ_ORTHO = 0,
|
||||
VIEW_PROJ_PERSP = -1,
|
||||
};
|
||||
|
||||
static int dm_looptri_to_poly_index(DerivedMesh *dm, const MLoopTri *lt);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user