diff options
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 633a9dd07b5..106328aa31f 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -44,15 +44,6 @@ struct wmTimer; #include "DNA_movieclip_types.h" #include "DNA_gpu_types.h" -/* ******************************** */ - -/* The near/far thing is a Win EXCEPTION, caused by indirect includes from <windows.h>. - * Thus, leave near/far in the code, and undef for windows. */ -#ifdef _WIN32 -# undef near -# undef far -#endif - typedef struct RegionView3D { /** GL_PROJECTION matrix. */ @@ -275,7 +266,7 @@ typedef struct View3D { int flag2; float lens, grid; - float near, far; + float clip_start, clip_end; float ofs[3] DNA_DEPRECATED; char _pad[4]; |