diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-01-04 09:37:55 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-01-04 09:38:49 +0300 |
commit | 1eb5e0b6608b2c2bbc9813d9155ea379a5bc8ef4 (patch) | |
tree | 6ecdf21d5f938a872e6a187823fda8c9285917f7 /source/blender/editors/space_view3d/drawobject.c | |
parent | d2b4f9c627e6a9621797d7b9b8b3b83d3bfc2db5 (diff) |
minor cleanup
Diffstat (limited to 'source/blender/editors/space_view3d/drawobject.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index f3a3472f0cf..70066560e7a 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -648,7 +648,7 @@ static void draw_empty_image(Object *ob, const short dflag, const unsigned char if (ibuf && ibuf->rect) { const bool use_clip = (U.glalphaclip != 1.0f); - int zoomfilter = (U.gameflags & USER_DISABLE_MIPMAP ) ? GL_NEAREST : GL_LINEAR; + int zoomfilter = (U.gameflags & USER_DISABLE_MIPMAP) ? GL_NEAREST : GL_LINEAR; /* Setup GL params */ glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); @@ -723,8 +723,8 @@ static void drawcentercircle(View3D *v3d, RegionView3D *rv3d, const float co[3], const float size = ED_view3d_pixel_size(rv3d, co) * (float)U.obcenter_dia * 0.5f; float verts[CIRCLE_RESOL][3]; - /* using gldepthfunc guarantees that it does write z values, - * but not checks for it, so centers remain visible independent order of drawing */ + /* using glDepthFunc guarantees that it does write z values, + * but not checks for it, so centers remain visible independent of draw order */ if (v3d->zbuf) glDepthFunc(GL_ALWAYS); /* write to near buffer always */ glDepthRange(0.0, 0.0); @@ -1946,7 +1946,7 @@ static void drawcamera_stereo3d( glPopAttrib(); } - /* draw convergence plane*/ + /* draw convergence plane */ if (is_stereo3d_plane) { float axis_center[3], screen_center[3]; float world_plane[4][3]; @@ -1986,7 +1986,7 @@ static void drawcamera_stereo3d( } } - /* draw convergence plane*/ + /* draw convergence plane */ if (is_stereo3d_volume) { float screen_center[3]; float near_plane[4][3], far_plane[4][3]; @@ -2401,7 +2401,7 @@ static void drawlattice(View3D *v3d, Object *ob) /* ***************** ******************** */ -/* draw callback */ +/* draw callback */ typedef struct drawDMVertSel_userData { MVert *mvert; @@ -3160,7 +3160,7 @@ static void draw_dm_bweights(BMEditMesh *em, Scene *scene, DerivedMesh *dm) * specialized to be split out (like drawing creases or measurements). */ -/* EditMesh drawing routines*/ +/* EditMesh drawing routines */ static void draw_em_fancy_verts(Scene *scene, View3D *v3d, Object *obedit, BMEditMesh *em, DerivedMesh *cageDM, BMVert *eve_act, |