[Bf-blender-cvs] [2a41cd46baf] master: Cleanup: format

Campbell Barton noreply at git.blender.org
Tue Nov 15 06:50:08 CET 2022


Commit: 2a41cd46baf8f3a2faf1a928ed179627511709aa
Author: Campbell Barton
Date:   Tue Nov 15 16:43:18 2022 +1100
Branches: master
https://developer.blender.org/rB2a41cd46baf8f3a2faf1a928ed179627511709aa

Cleanup: format

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

M	intern/cycles/kernel/film/adaptive_sampling.h
M	release/scripts/startup/bl_ui/space_clip.py
M	source/blender/draw/intern/DRW_gpu_wrapper.hh
M	source/blender/editors/interface/interface_templates.c

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

diff --git a/intern/cycles/kernel/film/adaptive_sampling.h b/intern/cycles/kernel/film/adaptive_sampling.h
index 3891a06b93d..c406542dfff 100644
--- a/intern/cycles/kernel/film/adaptive_sampling.h
+++ b/intern/cycles/kernel/film/adaptive_sampling.h
@@ -76,7 +76,8 @@ ccl_device bool film_adaptive_sampling_convergence_check(KernelGlobals kg,
   float error_normalize;
   if (intensity < 1.0f) {
     error_normalize = sqrtf(intensity);
-  } else {
+  }
+  else {
     error_normalize = intensity;
   }
 
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py
index 310a79d4cb1..1a954cda4d3 100644
--- a/release/scripts/startup/bl_ui/space_clip.py
+++ b/release/scripts/startup/bl_ui/space_clip.py
@@ -260,6 +260,7 @@ class CLIP_HT_header(Header):
         sub.active = sc.show_gizmo
         sub.popover(panel="CLIP_PT_gizmo_display", text="")
 
+
 class CLIP_MT_tracking_editor_menus(Menu):
     bl_idname = "CLIP_MT_tracking_editor_menus"
     bl_label = ""
@@ -1903,6 +1904,7 @@ class CLIP_MT_view_pie(Menu):
             pie.separator()
             pie.operator("clip.graph_center_current_frame")
 
+
 class CLIP_PT_gizmo_display(Panel):
     bl_space_type = 'CLIP_EDITOR'
     bl_region_type = 'HEADER'
diff --git a/source/blender/draw/intern/DRW_gpu_wrapper.hh b/source/blender/draw/intern/DRW_gpu_wrapper.hh
index 25b3b7c59e0..67734238f37 100644
--- a/source/blender/draw/intern/DRW_gpu_wrapper.hh
+++ b/source/blender/draw/intern/DRW_gpu_wrapper.hh
@@ -957,7 +957,8 @@ class TextureRef : public Texture {
  * Dummy type to bind texture as image.
  * It is just a GPUTexture in disguise.
  */
-class Image {};
+class Image {
+};
 
 static inline Image *as_image(GPUTexture *tex)
 {
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index 94abfe54328..a4bd3047d0e 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -5098,7 +5098,8 @@ static uiBlock *CurveProfile_buttons_tools(bContext *C, ARegion *region, void *p
 
 static bool CurveProfile_can_zoom_in(CurveProfile *profile)
 {
-  return BLI_rctf_size_x(&profile->view_rect) > CURVE_ZOOM_MAX * BLI_rctf_size_x(&profile->clip_rect);
+  return BLI_rctf_size_x(&profile->view_rect) >
+         CURVE_ZOOM_MAX * BLI_rctf_size_x(&profile->clip_rect);
 }
 
 static bool CurveProfile_can_zoom_out(CurveProfile *profile)



More information about the Bf-blender-cvs mailing list