Cleanup: style
authorCampbell Barton <ideasman42@gmail.com>
Thu, 2 May 2019 01:45:11 +0000 (11:45 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 2 May 2019 01:45:46 +0000 (11:45 +1000)
source/blender/draw/engines/eevee/eevee_lookdev.c
source/blender/editors/interface/resources.c
source/blender/editors/space_view3d/view3d_draw.c

index 5322f33ec3597dbe5c3f5e37032980c2709ede23..4be87bf1a5ec0c1e95f1e92c62f3429bb49d00e6 100644 (file)
@@ -81,7 +81,7 @@ void EEVEE_lookdev_cache_init(EEVEE_Data *vedata,
     if (ball_size != effects->ball_size || rect.xmax != effects->anchor[0] ||
         rect.ymin != effects->anchor[1]) {
       /* If ball size or anchor point moves, reset TAA to avoid ghosting issue.
-     * This needs to happen early because we are changing taa_current_sample. */
+       * This needs to happen early because we are changing taa_current_sample. */
       effects->ball_size = ball_size;
       effects->anchor[0] = rect.xmax;
       effects->anchor[1] = rect.ymin;
index 356809d94c0595164a0901ec737a214a8b459c99..587cccf516c7593f27ec4453693546ff999212dd 100644 (file)
@@ -367,7 +367,8 @@ const uchar *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid)
           cp = &ts->outline_width;
           break;
         case TH_OBCENTER_DIA:
-          cp = &ts->obcenter_dia; break;
+          cp = &ts->obcenter_dia;
+          break;
           break;
         case TH_EDGE:
           cp = ts->edge;
index 12d73a196cc8d28f0dc45f23d58259290a543709..8c5f1c164383c3b30c64779d314b30c8bf5b3dd5 100644 (file)
@@ -765,7 +765,6 @@ void ED_view3d_draw_depth(Depsgraph *depsgraph, ARegion *ar, View3D *v3d, bool a
   /* not that nice but means we wont zoom into billboards */
   U.glalphaclip = alphaoverride ? 0.5f : glalphaclip;
 
-
   /* Tools may request depth outside of regular drawing code. */
   UI_Theme_Store(&theme_state);
   UI_SetTheme(SPACE_VIEW3D, RGN_TYPE_WINDOW);